]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/nesting-staves.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / nesting-staves.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "contexts-and-engravers, preparing-parts, staff-notation, tweaks-and-overrides"
11
12   texidoc = "
13 The property @code{systemStartDelimiterHierarchy} can be used to make
14 more complex nested staff groups. The command @code{\\set
15 StaffGroup.systemStartDelimiterHierarchy} takes an alphabetical list of
16 the number of staves produced. Before each staff a system start
17 delimiter can be given. It has to be enclosed in brackets and takes as
18 much staves as the brackets enclose. Elements in the list can be
19 omitted, but the first bracket takes always the complete number of
20 staves. The possibilities are @code{SystemStartBar},
21 @code{SystemStartBracket}, @code{SystemStartBrace}, and
22 @code{SystemStartSquare}.
23
24 "
25   doctitle = "Nesting staves"
26 } % begin verbatim
27
28 \new StaffGroup
29 \relative c'' <<
30   \set StaffGroup.systemStartDelimiterHierarchy
31     = #'(SystemStartSquare (SystemStartBrace (SystemStartBracket a
32                              (SystemStartSquare b)  ) c ) d)
33   \new Staff { c1 }
34   \new Staff { c1 }
35   \new Staff { c1 }
36   \new Staff { c1 }
37   \new Staff { c1 }
38 >>