lilypond-user
[Top][All Lists]
Advanced

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

Re: Part name with staff groups/grand staff


From: i . love . the . pikachu
Subject: Re: Part name with staff groups/grand staff
Date: Fri, 15 Jan 2010 21:43:20 +0900

Thank you.
I didn't know that a pianostaff can contain more than 3 staffs and
that instrument name of staffs in a pianostaff can be set.

Then I tried this code:
---------------------------------------------------------------------------------------------------------------------
\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Clarinet"
 \new Staff { \set Staff.instrumentName = "1" c'1 }
 \new Staff { \set Staff.instrumentName = "2" c'1 }
 \new Staff { \set Staff.instrumentName = "3" c'1 }
>>

\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Horn"
 \new Staff { \set Staff.instrumentName = "1. 5." c'1 }
 \new Staff { \set Staff.instrumentName = "2. 6." c'1 }
 \new Staff { \set Staff.instrumentName = "3. 7." c'1 }
 \new Staff { \set Staff.instrumentName = "4. 8." c'1 }
>>

\new PianoStaff <<
 \set PianoStaff.instrumentName = #"Violin"
 \new Staff { \set Staff.instrumentName = "I" c'1 }
 \new Staff { \set Staff.instrumentName = "II" c'1 }
>>
---------------------------------------------------------------------------------------------------------------------
3 other problems occurred.

1) The digit "2" is obscured by "Clarinet".
2) The instrument name is as on the same x-align as digit, so I want
to move them to a little left to make it easy to recognize it is a
digit or a part name.
3) Bracket of the former 2 examples are so thick that it looks very
out of shape.

To avoid problem 3), I tried another code:
---------------------------------------------------------------------------------------------------------------------
\new StaffGroup <<
 \set StaffGroup.instrumentName = #"Horn"
 \new Staff { \set Staff.instrumentName = "1. 5." c'1 }
 \new Staff { \set Staff.instrumentName = "2. 6." c'1 }
 \new Staff { \set Staff.instrumentName = "3. 7." c'1 }
 \new Staff { \set Staff.instrumentName = "4. 8." c'1 }
>>
---------------------------------------------------------------------------------------------------------------------
Though this produced an output with a different kind of brackets that
pleases me, it had no instrument name ("Horn").

Would you tell me how we can solve these 3 problems?

Attachment: partname.PNG
Description: PNG image


reply via email to

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