Previous: Grouping staves, Up: Displaying staves
Two additional staff-group contexts are available that can be
nested within a StaffGroup
or ChoirStaff
context:
InnerStaffGroup
and InnerChoirStaff
. These contexts
create a bracket next to the original bracket of their parent
staff group.
An InnerStaffGroup
is treated similarly to a
StaffGroup
; bar lines are connected between each stave
within the context:
\new StaffGroup << \new Staff { c2 c | c2 c } \new InnerStaffGroup << \new Staff { g2 g | g2 g } \new Staff { e2 e | e2 e } >> >>
Bar lines are not connected between staves of an
InnerChoirStaff
, just like a ChoirStaff
:
\new ChoirStaff << \new Staff { c2 c | c2 c } \new InnerChoirStaff << \new Staff { g2 g | g2 g } \new Staff { e2 e | e2 e } >> \new Staff { c1 | c1 } >>
Nesting staves
The property systemStartDelimiterHierarchy
can be used to make
more complex nested staff groups. The command \set
StaffGroup.systemStartDelimiterHierarchy
takes an alphabetical list of
the number of staves produced. Before each staff a system start
delimiter can be given. It has to be enclosed in brackets and takes as
much staves as the brackets enclose. Elements in the list can be
omitted, but the first bracket takes always the complete number of
staves. The possibilities are SystemStartBar
,
SystemStartBracket
, SystemStartBrace
, and
SystemStartSquare
.
\new StaffGroup \relative c'' << \set StaffGroup.systemStartDelimiterHierarchy = #'(SystemStartSquare (SystemStartBrace (SystemStartBracket a (SystemStartSquare b) ) c ) d) \new Staff { c1 } \new Staff { c1 } \new Staff { c1 } \new Staff { c1 } \new Staff { c1 } >>
Notation Reference: Grouping staves, Instrument names.
Snippets: Staff notation.
Internals Reference: InnerStaffGroup, StaffGroup, InnerChoirStaff, ChoirStaff, SystemStartBar, SystemStartBrace, SystemStartBracket, SystemStartSquare.
Cette page documente LilyPond-2.11.58 (branche de développement).
Rapportez toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
Vos suggestions à propos de la documentation sont les bienvenues.