Op zondag 19 augustus 2007, schreef Reinhold Kainhofer: > While we are at it: Is there any way to vertically center the > "instrumentName" for a ChoirStaff, GrandStaff or StaffGroup? Here is an > example snippet that does not work (the instrument name is shown at the > top, not vertically centered): > > \version "2.11.30" > \new ChoirStaff \relative > << > \new Staff { c1 \break c1 } > \new Staff { c1 \break c1 } > \set Staff.instrumentName = "Choir" > \set Staff.shortInstrumentName = "Ch." > > > > If I use a PianoStaff and set PianoStaff.instrumentName, then the > instrument name is vertically centered: > > \version "2.11.30" > \new PianoStaff \relative > << > \new Staff { c1 \break c1 } > \new Staff { c1 \break c1 } > \set PianoStaff.instrumentName = "Piano" > \set PianoStaff.shortInstrumentName = "P." > > > > But I haven't been able to achieve the same for other multi-staves staff > types. In particular > > \version "2.11.30" > \new ChoirStaff \relative > << > \new Staff { c1 \break c1 } > \new Staff { c1 \break c1 } > \set ChoirStaff.instrumentName = "Choir" > \set ChoirStaff.shortInstrumentName = "Ch." > > > does not print any instrument names.
Isn't it a good idea to add the instrument_name_engraver by default to the ChoirStaff, GrandStaff and StaffGroup contexts? Met vriendelijke groet, Wilbert Berendsen -- http://www.wilbertberendsen.nl/ "You must be the change you wish to see in the world." -- Mahatma Gandi _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user