[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Adding non-braced third staff below PianoStaff
From:       Nathan <when.possible () gmail ! com>
Date:       2012-12-31 5:08:22
Message-ID: CAKrxt4xqhe9DBNAYYpN7s5G4Xf2iLXDn9x6rrE_ggbWJGkoOSw () mail ! gmail ! com
[Download RAW message or body]

On Sun, Dec 30, 2012 at 8:22 PM, Duncan <duncanvinson@gmail.com> wrote:
> There probably is a simple answer to this, but it has eluded me.
>
> I am scoring organ music using two staves at the outset, then adding a
> third staff later. So I start with a PianoStaff context, then I add
> an additional Staff later on when I need it.
>
> Everything looks great, except that the added staff has a curly brace
> connecting it to the existing two. This would be appropriate if scoring
> piano music requiring three staves, but organ music does not use a brace
> between the pedal staff and the manuals.
>
> If I just wanted to eliminate the brace from all three staves, I would
> do this, right?
> \override PianoStaff.systemStartDelimiter = #'SystemStartBar
>
> How do I state the override when creating the third stave so that it is
> not braced to the PianoStaff already existing, but the brace remains on
> the upper two staves?
>
> Best wishes,
> Duncan
>

\score {
  <<
    \new PianoStaff <<
      \new Staff { c1 c1 }
      \new Staff { c1 c1 }
    >>
    \new Staff { c1 c1 }
  >>
}

Note that the second and third staves are no longer connected by
barlines. To fix this, you can use a StaffGroup:

\score {
  \new StaffGroup \with {
    systemStartDelimiter = #'SystemStartBar
  } <<
    \new PianoStaff <<
      \new Staff { c1 c1 }
      \new Staff { c1 c1 }
    >>
    \new Staff { c1 c1 }
  >>
}

Regards,
Nathan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic