I'm creating a full orchestra score and want to have the bar numbers
and rehearsal figures display three times vertically. I'm doing this
using a Dynamics context like this:
\context {
\Dynamics
\consists Mark_engraver
\consists Bar_number_engraver
\consists Text_engraver
}
and then:
\score {
<<
\new Dynamics { \bars }
\new StaffGroup .... etc winds
\new Dynamics { \bars }
\new StaffGroup .... etc brass
\new Dynamics { \bars }
\new StaffGroup .... etc strings
>>
}
This all works fine until I use \RemoveEmptyStaves on the intervening
Staffs. Then, for example when the brass are all not playing on one
page, I get two rehearsal figures without a staff in between.
Is it possible to get the Dynamics contexts to be aware of when the
intervening staffs have been removed?
Minimal example attached and any thoughts appreciated.
--
Mark Knoop
\version "2.17.25"
bars = \repeat unfold 12 { \mark \default R1*2 }
winds = \repeat unfold 192 { c''8 }
brass = \repeat unfold 24 { R1 }
strings = \repeat unfold 192 { c''8 }
\layout {
\context {
\Dynamics
\consists Mark_engraver
\consists Bar_number_engraver
\consists Text_engraver
}
\context {
\Staff
\RemoveEmptyStaves
}
\context {
\Score
\remove Mark_engraver
\remove Bar_number_engraver
}
}
\score {
<<
\new Dynamics { \bars }
\new Staff = "winds" { \winds }
\new Dynamics { \bars }
\new Staff = "brass" { \brass }
\new Dynamics { \bars }
\new Staff = "strings" { \strings }
>>
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user