lilypond-user
[Top][All Lists]
Advanced

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

Re: "Unconnected" simultaenous staff groups


From: Lukas-Fabian Moser
Subject: Re: "Unconnected" simultaenous staff groups
Date: Thu, 26 Oct 2017 07:56:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0


But now I'd like to have the same not for staves but for piano staves/staff
groups: Several piano staves, each of which has its own SystemStartBar (but
the SystemStartBars themselves should not be connected to each other). In
the following example, the SystemStartBar is missing in both piano staves:


\version "2.19.80"

\layout {
   \context {
     \Score
     \omit SystemStartBar
   }
}

<<
   \new PianoStaff <<
     \new Staff a4
     \new Staff a4
   >>
   \new PianoStaff <<
     \new Staff a4
     \new Staff a4
   >>
Likely:
http://lilypond.org/doc/v2.19/Documentation/snippets/staff-notation#staff-notation-vertical-aligned-staffgroups-without-connecting-systemstartbar
This is great! Thanks much! Quite clever actually, turning one extra brace/bracket into a bar line ...

Here, for the sake of completeness, is the solution that works for Piano Staves (and is reduced to the strictly necessary):

\version "2.19.80"

\layout {
  \context {
    \PianoStaff
     systemStartDelimiterHierarchy =
     #'(SystemStartBracket (SystemStartBrace a b))
  }
  \context {
    \Score
    \override SystemStartBracket.style = #'bar-line
    \override SystemStartBracket.padding = #-0.1
    \override SystemStartBracket.thickness = #1.6
    \omit SystemStartBar
  }
}

<<
  \new PianoStaff <<
    \new Staff a4
    \new Staff a4
  >>
  \new PianoStaff <<
    \new Staff a4
    \new Staff a4
  >>
>>

Best
Lukas



reply via email to

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