|
From: | Mats Bengtsson |
Subject: | Re: Remove key change warning at end of line |
Date: | Fri, 05 Feb 2010 10:57:22 +0100 |
User-agent: | Thunderbird 2.0.0.5 (X11/20070716) |
Tom Dickson wrote:
See http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Visibility-of-objects#index-key-signature_002c-visibility-following-explicit-changeI have a piece where I want to change keys without the key change being shown at the end of the previous line. \relative c' { \override Staff.TimeSignature #'stencil = ##f \key bes \major g'1 g1 \bar "|." | \break \set Staff.printKeyCancellation = ##f \override Staff.KeySignature #'stencil = ##f % \key g \major % \time 1/64 % s64 \bar "" | % \override Staff.KeySignature #'stencil = ##t \key e \minor \time 1/2 g4. e8 | \break g4. e8 | } is close to what I want, but then the KeySignature is lost for all subsequent lines. If I uncomment those lines above, I get a bad hack that almost works perfectly, except for the random 1/64 skip in there that makes the lines not line up. Is there a way to do what I want?
The magic command is: \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible /Mats
-tom _______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: address@hidden WWW: http://www.s3.kth.se/~mabe =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |