lilypond-user
[Top][All Lists]
Advanced

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

Re: ledger line crash with very high notes in first chord of system


From: Eluze
Subject: Re: ledger line crash with very high notes in first chord of system
Date: Mon, 28 Jan 2013 17:24:54 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2


Am 28.01.2013 16:49, schrieb Paul Morris:
On Jan 28, 2013, at 5:32 AM, address@hidden wrote:

I haven't completely wrapped my head around the best way to implement it, but 
it seems like one solution is overriding the stencil function of the 
LedgerLineSpanner to be continuous across notes.
Hmmm...  I tried overriding the line positions of the staff:

\version "2.16.1"

\relative c'' {
   a c
   \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0 -2 
-4 )
   a' c a' c
}

\relative c'' {
   \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10    4 2 0 
-2 -4 )
   a c a' c a' c
}

It looks like this only works to change the whole staff, by putting it at the 
beginning of the music (or in the Staff's \with block), and does not work for a 
temporary staff extension occurring in the middle of the music.


adding

\stopStaff  \startStaff

works

Eluze



reply via email to

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