On Wed, Apr 9, 2008 at 9:38 PM, Mats Bengtsson <[EMAIL PROTECTED]>
wrote:
>
> This can certainly be a good practice to separate out annotations or
> dynamics and such. This is one aspect of separating musical content from
> typesetting layout.
i'm happy to find a way to "globalize" rehearsal marks, double bar lines,
etc. can anyone help me figure out why my /global block is creating a new
staff below my instrument staves each time? i get the rehearsal marks above
everything, but there's an unwanted blank staff below each staff group with
the text markup on it....
these are (hopefully) the pertinent snippets:
global = {
\time 5/4
\set Score.markFormatter = #format-mark-box-letters
\tempo 4=108
s1^"Intro - open" s4 | s1 s4 |
s4 \mark \default s1 |
\repeat unfold 7 { s1 s4 } \bar "||"
s4 \mark \default s1 |
\repeat unfold 7 { s1 s4 } \bar "||"
s4 \mark \default s1 |
\repeat unfold 6 { s1 s4 } \bar "|."
}
%% and then later on in the score block
\score {
<<
\new StaffGroup = "horns" <<
\global
\new ChordNames = "trpchords" \transpose c d {\harmony}
\new Staff = "trumpet" \trumpet
\new ChordNames = "tenorchords" \transpose c d {\harmony}
\new Staff = "tenorsaxone" \tenorsaxone
\new ChordNames = "chords" \harmony
\new Staff = "trbn" \trbn
>>
\new StaffGroup = "rhythm" <<
\global
\new ChordNames = "chords" \harmony
\new PianoStaff = "piano" \piano
>>
>>
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user