lilypond-devel
[Top][All Lists]
Advanced

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

Re: Clef positioning and key signatures


From: David Kastrup
Subject: Re: Clef positioning and key signatures
Date: Sat, 15 Jun 2013 13:30:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Phil Holmes" <address@hidden> writes:

> If I shift the position of the clef, and make an associated change to
> the position of middle C, I'd expect the key signature to move, but it
> doesn't. Am I not doing something, doing something wrong, or is this a
> bug?
>
> { \key f \major c'1 }
> { \set Staff.clefPosition = #0 \set Staff.middleCPosition = #-4 \key f
> \major c'1 }

You need to set middleCClefPosition as well.  In key-engraver.cc we have

      /* Use middleCClefPosition rather than middleCPosition, because cue
       * notes with a different clef will modify middleCPosition. The
       * Key signature, however, should still be printed at the original
       * position. */

-- 
David Kastrup




reply via email to

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