lilypond-user
[Top][All Lists]
Advanced

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

Re: Nested PianoStaffs - show inner brace only


From: Michael Werner
Subject: Re: Nested PianoStaffs - show inner brace only
Date: Sun, 1 Jan 2023 07:48:53 -0500

Hi WIlliam.  Maybe give this a shot:

\version "2.24.0"

\score {
  \new PianoStaff
  <<
    \set PianoStaff.systemStartDelimiterHierarchy
    = #'(SystemStartBar (SystemStartBrace a (b)))
    \new Staff \relative c' {c8 des ees f g a b c } % right hand
    \new Staff \relative c' {bes8 aes fis c d e f g} % left hand
    \new Staff \relative c { \clef bass cis8 d e d c b a g } % pedal
  >>
  \layout {
    \context { \Staff \accidentalStyle piano }
  }
}

For an explanation, see the Nesting Staves snippet at http://lilypond.org/doc/v2.24/Documentation/notation/displaying-staves

Happy New Year!

Michael

On Sun, Jan 1, 2023 at 7:13 AM William Rehwinkel <william@williamrehwinkel.net> wrote:
Dear list,

Organ music is typically engraved on three staves with the top two
connected by a piano brace.

I would like combine all three staves in a PianoStaff (so that all three
are modified by the piano accidental style) and omit the outer
pianostaff bracket. However, I was wondering how to show the inner piano
brace, as shown in the minimal example below.

Thank you in advance,

% --------------------
\version "2.24"

\score {
     \new PianoStaff \with {
         \omit PianoStaff.SystemStartBrace
     }<<
         \new PianoStaff \with {
             \undo \omit PianoStaff.SystemStartBrace % ??
         } <<
             \new Staff \relative c' {c8 des ees f g a b c } % right hand
             \new Staff \relative c' {bes8 aes fis c d e f g} % left hand
         >>
         \new Staff \relative c { \clef bass cis8 d e d c b a g } % pedal
     >> % full PianoStaff
     \layout {
         \context { \Staff \accidentalStyle piano }
     }
}
% --------------------

Happy new year
-Will
--
+ ---------------------------------------------- +
|    William Rehwinkel - Oberlin College and     |
|                           Conservatory '24     |
|          william@williamrehwinkel.net          |
| PGP key:                                       |
| https://williamrehwinkel.net/static/pubkey.txt |
+ ---------------------------------------------- +

reply via email to

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