|
From: | James Worlton |
Subject: | Re: Lining up key signatures |
Date: | Wed, 29 Apr 2015 13:37:41 -0500 |
Hi James,
> >I don't see a way to make the key-cancellation and key-signature simultaneous.
The following (hacky!) code seems to work for me:
\version "2.19.18"
musicA = {
\key c \major
\repeat unfold 2 { c'4 c' c' c' }
\key des \major
des'1
}
musicB = {
\key fis \major
\repeat unfold 2 { dis'4 dis' dis' dis' }
\override Score.KeyCancellation.X-extent = #'(-0.125 . 0) \key c \major
e'1
}
\score {
\new StaffGroup <<
\new Staff { \musicA }
\new Staff { \musicB }
>>
}
Hope that helps!
Kieren.
[Prev in Thread] | Current Thread | [Next in Thread] |