lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] (or at least, I think it is) refman addition


From: Juergen Reuter
Subject: Re: [PATCH] (or at least, I think it is) refman addition
Date: Fri, 6 Sep 2002 11:09:15 +0200 (CEST)

> +    % This line (obviously) sets the number of strings to four.
> +    \outputproperty #(make-type-checker 'staff-symbol-interface) 
> #'line-count = #4

FYI: setting line-count via \outputproperty is a workaround for saying:

    \property Staff.StaffSymbol \override #'line-count = #4

The latter does not work since (as far as I understand) line-count is
effectively set when the staff symbol already has been instantiated.
*BUT* if all your TabStaff staves have 4 lines, then you should be
able to apply something like (untested):

        \translator {
            \TabStaffContext
            StaffSymbol \set #'line-count = #4
        }

You need the \outputproperty hack only if you simultaneously want to have
a TabStaff with 4 lines and another TabStaff with a different number of
lines in the same score.

Just thoughts...

Greetings,
Juergen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]