lilypond-user
[Top][All Lists]
Advanced

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

Re: How do you add this staff group bracket?


From: Aaron Hill
Subject: Re: How do you add this staff group bracket?
Date: Sat, 26 Jan 2019 06:35:21 -0800
User-agent: Roundcube Webmail/1.3.8

On 2019-01-26 6:08 am, Reggie wrote:
Hi. I tried to look here and attempt adding delimiter code but no matter what
I do I cannot show a brace or bracket or anything to put my two oboes
together for the duration of the 2 staves on a few pages. Then it should go back to normal grouping in code. Can you please tell me how I am wrong? How can I have a brace grouping for my oboes but then go back to normal right
after the end of the two?

[ . . . ]

\score {
  <<
    \new StaffGroup <<
      \scoreAFluteIPart
      \scoreAFluteIIPart
      \scoreAOboePart
      \scoreABassoonPart
    >>
    \new StaffGroup <<
      \scoreATrumpetCPart
      \scoreATrombonePart
    >>
    \new StaffGroup <<
      \scoreAViolinIPart
      \scoreAViolinIIPart
      \scoreAViolaPart
      \scoreACelloPart
      \scoreAContrabassPart
    >>
  >>
  \layout { }
}

I believe you need to put \scoreAOboePart in its own nested StaffGroup:

%%%%
\new StaffGroup <<
  \scoreAFluteIPart
  \scoreAFluteIIPart
  \new StaffGroup << \scoreAOboePart >>
  \scoreABassoonPart

%%%%

That should show a bracket only when the secondary oboe part appears, otherwise the bracket for that group will be hidden when there is just the one staff.

-- Aaron Hill



reply via email to

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