lilypond-user
[Top][All Lists]
Advanced

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

Re: override StaffSymbol.line-count


From: David Kastrup
Subject: Re: override StaffSymbol.line-count
Date: Fri, 26 Feb 2016 10:45:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Marc Hohl <address@hidden> writes:

> Am 26.02.2016 um 10:16 schrieb Bernard:
>> Hi,
>>
>> I am new to Lilypond.
>>
>> I would like to use a 2 line staff with the code :
>>
>> -----------------------------------------
>>
>> \version "2.16.2"
>>
>> timb = \drummode {
>>           timh4 ssh
>>         }
>>
>>    <<
>>      \new DrumStaff \with {
>>        drumStyleTable = #timbales-style
>>        \override StaffSymbol.line-count = #2  # generate syntax error
>
> With version 2.16.x, you have to use
>
> \override StaffSymbol #'line-count = #2
>
> The dot syntax came with 2.18.x, I think, and I recommend upgrading to
> a newer lilypond release.

Yes, 2.18 is a few years old already.  2.16 is really old.  At some
point of time, we need to think about releasing 2.20.

At any rate, the dotted override syntax is sort of the "killer feature"
of 2.18: it's one feature that almost everybody ended up using all the
time, so it's the main reason for advice and examples not working for
2.16 and older.  So that alone is good reason for upgrading to 2.18.

-- 
David Kastrup



reply via email to

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