|
From: | Alex Loomis |
Subject: | Re: mid-measure key change |
Date: | Sun, 15 Dec 2013 22:37:16 -0500 |
\version "2.16.2"
global = {
\key c \major
\numericTimeSignature
\time 4/2
\hideNotes \grace g
\unHideNotes
\once \override Score.TimeSignature #'transparent = ##t
\time 2/2
\override TupletBracket #'bracket-visibility = ##f
\override TupletNumber #'stencil = ##f
}
rightOne = \relative c'' {
\global
g1 \key ges \major c,1\fz
}
rightTwo = \relative c'' {
\global
\times 2/3 {
r8 g, bes d bes g bes g bes d bes g
\once \override Score.BarLine #'color = #white
\bar "'"
\change Staff = "left" \stemUp
aes\rest c, ges' beses ges c, ges' c, ges' beses ges c, }
}
left = \relative c' {
\global
bes,,1 ( \key ges \major eeses )
}
\score {
\new PianoStaff <<
\new Staff = "right" << \rightOne \\ \rightTwo >>
\new Staff = "left" { \clef bass \left }
>>
\layout { }
}
Hello,
The key change in the upper staff can be properly aligned (after the “g”) if I use \bar '' '' and \break. This disrupts Lilypond’s auto-spacing.
Is another solution possible?
Thank you.
Mark
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |