|
From: | Pierre Perol-Schneider |
Subject: | Re: \startStaff after clef change in other staff |
Date: | Wed, 31 Jul 2019 08:46:23 +0200 |
Hi Mason,I couldn't find the correct incantation to modify the StaffSymbol and/or the BreakAlignment properties...So here's a hacky way, HTH:\version "2.21.0"
\score {
<<
\new Staff \relative c' {
c4 c c c |
\stopStaff
s1
\startStaff
c4 c c c |
}
\new Staff \relative c' {
c4 c c c |
c4 c c
\once\textLengthOn
c
-\tweak extra-offset #'(1.9 . -1.5) % <= to be set manually
^\markup\with-dimensions #'(0 . 4) #'(0 . 0)\musicglyph #"clefs.F_change" |
\once\override Staff.Clef.stencil = ##f
\clef "bass" c4 c c c |
}
>>
}Cheers,PierreLe mer. 31 juil. 2019 à 00:53, <address@hidden> a écrit :When a staff that has previously been stopped with \stopStaff is
restarted with \startStaff on the first beat of a measure, and this
coincides with a clef change in another staff, the first staff begins at
the clef instead of the barline.
%%% begin MWE %%%
\version "2.21.0"
\score {
<<
\new Staff \relative c' {
c4 c c c |
\stopStaff
s1 |
\startStaff
c4 c c c |
}
\new Staff \relative c' {
c4 c c c |
c4 c c c |
\clef "bass" c4 c c c |
}
>>
}
%%% end MWE %%%
This might be desirable in general, but in the context of my score
(not necessarily in this MWE) it looks odd. Is there a way to override
this behavior so that the staff begins on the barline?
Thanks,
Mason
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |