1. You would need (the nonexisting) RemoveEmptyDrumStaffContext. But
inspection of engraver-init.ly points to the solution:
\layout {
\context {
\RemoveEmptyStaffContext
}
\context {
\DrumStaff
\remove "Axis_group_engraver"
\override VerticalAxisGroup #'remove-empty = ##t
\consists "Hara_kiri_engraver"
}
}
2. Do not specify the instrumentname in the flt,sax,.... definitions.
For the full score, add the instrumentname to the score, as in
\new StaffGroup = "ww" <<
\new Staff = "flt" {
\set Staff.instrumentName = #"Flute "
\set Staff.shortInstrumentName = #"Fl. "
\flt
}
\new Staff = "sax" {
\set Staff.instrumentName = #"Soprano Saxophone "
\set Staff.shortInstrumentName = #"Sop. Sax. "
\sax
}
>>
For the parts, specify the instrumentname with a markup
\book {
\markup "Flute"
\score {
\new Staff {
\flt
}
\layout { \indent = 0.0 }
}
}
Toine Schreurs
> 1) Despite "RemoveEmptyStaffContext" being used (line 298), the congas
> part still persists in each system (from page 5 to the end), even
> though it contains only rests. "\RemoveEmptyRhythmicStaffContext" doesn't
> work either. If I can get that staff hidden, I think I will be able to
> shave four pages off of the score.
>
> 2) How can I place instrument names above and to the left the first
> system on the individual parts? See example (flute part):
> http://ross.uber.name/comparsa-lecuona-1.pdf I already have "\remove
> "Instrument_name_engraver" in all the parts' books (line 306, etc.)
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user