Tom Dickson wrote:
I 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?
See
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Visibility-of-objects#index-key-signature_002c-visibility-following-explicit-change
The magic command is:
\set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
/Mats
-tom
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
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: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user