[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Instrumental Group Names in Score
From: |
Reilly |
Subject: |
Re: Instrumental Group Names in Score |
Date: |
Wed, 26 Dec 2007 09:06:30 -0500 |
Kieran,
Thank you for your advice (and ALL your many helpful comments in the
Lilypond archive).
On Dec 22, 2007, at 6:46 PM, Kieren MacMillan wrote:
Hey there!
Questions: Is there a better, easier, more logical, more consistent
solution with better layout?
Have I missed a staff-group command for nestled groups (but using
the system start delimiters of my choice)?
I'm assuming you know about InnerStaffGroup?
Certainly that's what I would be using (from what I understand of your
needs).
You can tweak anything that you don't want to have on such groups
(such as connected bar lines, system start delimiters, etc.) to the
point where they no longer *LOOKED* like groups -- which I am
inferring you see as the principal disadvantage -- and yet *PERFORMED*
like groups (e.g., had a centred group name).
If you need more information, just ask.
If you've already considered (and rejected) ISGs, then I'm sorry for
this spurious response.
I do know about InnerStaffGroup, but was unable to get it to work. Your
email helped me clarify where I am stuck. I now realize that my
original problem is two different problems:
(a) to Start (bracket, square, brace) various staff groupings
(b) to Name various staff groupings
After a few more hours of work, I have solved problem (a); that is, I
have been able to Start my systems exactly the way I want to (without
or with using InnerStaffGroup). However, I am completely unable to
assign a name to any type of staff group without resorting to icky
kludges. If you run either code below, you should see a typical
contemporary staff arrangement for string orchestra. I want to add
"Violin" on the top "violin staff group," which is barred in my score.
The "group name should appear centered between the staves and pushed
somewhat to the left of the I and II.
Here's my code:
%BEGIN Snippet String Orchestra withOUT InnerStaffGroup
notes = \new Voice \relative c'' { c1 }
\score {
\new StaffGroup
<<
\set StaffGroup.systemStartDelimiterHierarchy =
#'(SystemStartBracket (SystemStartSquare a b ))
\new Staff << \set Staff.instrumentName = " I " \notes >>
\new Staff << \set Staff.instrumentName = " II " \notes >>
\new Staff << \set Staff.instrumentName = " Viola " \clef alto
\transpose c c, \notes >>
\new Staff << \set Staff.instrumentName = " Cello " \clef bass
\transpose c c, \notes >>
\new Staff << \set Staff.instrumentName = " Bass " \clef bass
\transpose c c,, \notes >>
>>
\layout { ragged-right = ##t }
}
%END Snippet String Orchestra withOUT InnerStaffGroup
%BEGIN Snippet String Orchestra WITH InnerStaffGroup
notes = \new Voice \relative c'' { c1 }
\score {
\new StaffGroup
<<
\new InnerStaffGroup <<
\set
InnerStaffGroup.systemStartDelimiterHierarchy =
#'( SystemStartSquare )
\set InnerStaffGroup.instrumentName = " Violin "
\new Staff << \set Staff.instrumentName = " I "
\notes >>
\new Staff << \set Staff.instrumentName = " II "
\notes >>
>>
\new Staff << \set Staff.instrumentName = " Viola " \clef alto
\transpose c c, \notes >>
\new Staff << \set Staff.instrumentName = " Cello " \clef bass
\transpose c c, \notes >>
\new Staff << \set Staff.instrumentName = " Bass " \clef bass
\transpose c c,, \notes >>
>>
\layout { ragged-right = ##t }
%END Snippet String Orchestra WITH InnerStaffGroup
So, I guess my question is: How do I name InnerStaffGroup s? I tried
various naming commands, adding engravers to contexts, etc. Nothing I
tried worked. Actually, if you (or someone else) would kindly write the
correct code to name InnerStaffGroup (I don't think it would take more
than a line or two), I'd be most appreciative.
gratefully yours,
Jeremiah