lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

instrument names in some contexts (was: Re: Padding around instrument na


From: Wilbert Berendsen
Subject: instrument names in some contexts (was: Re: Padding around instrument names)
Date: Wed, 5 Dec 2007 09:45:21 +0100
User-agent: KMail/1.9.7

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]