[Top][All Lists]

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

Re: KeyCancellation spacing issue when staves have different key signatu

From: Mats Bengtsson
Subject: Re: KeyCancellation spacing issue when staves have different key signatures
Date: Tue, 04 Sep 2007 10:14:28 +0200
User-agent: Thunderbird (X11/20070716)

Neil Puttock wrote:
On 9/3/07, Neil Puttock <address@hidden> wrote:

In the following snipper the key cancellation in the lower voice
influences the spacing in the upper voice resulting in excess space before
the new key signature:

\version "2.11.31"
\paper { ragged-right = ##t }
\score {
    \new GrandStaff
    \new Staff { c'1 \key es \major }
    \new Staff { \key des \major s1 \key c \major }


The plot thickens...

Having just tested this with printKeyCancellation = ##f, it seems this might
not be the fault of KeyCancellation; I assumed that setting this property
would make the change from D flat to C major invisible, i.e. just remove the
flat signs, whereas it has no effect.
If you don't typeset the key cancellation when you change to C major, there's no way for the musician to recognize that you did a key change, right? Therefore LilyPond is clever enough to always print the key cancellations to C major, no matter if printKeyCancellation is set or not. If you really want to get rid of it
anyway (which means that you have to invent some other method to tell your
musicians that there is a key change), you can use brute force:
\override Staff.KeyCancellation #'stencil = ##f


reply via email to

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