%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt)),quote]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
  line-width = 160\mm - 2.0 * 10.16\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/nesting-staves.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Wiki
%% (https://wiki.lilypond.community).
%%
%% Make any changes in the Wiki itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.24.0"

\header {
%% Translation of GIT committish: 0cc270b871321ae5aa8622cea8d8262aafd16641
  texidocja = "
@code{systemStartDelimiterHierarchy} は、より複雑な譜のグループ化を行う@c
ために用いることができます。@c
@code{\\set StaffGroup.systemStartDelimiterHierarchy} コマンドの@c
引数として基となるのは、譜の数だけあるアルファベットのリストです。@c
それぞれの譜の前に @code{SystemStartDelimiter} を追加することで、@c
グループ化の始まりを示します。その際、グループとなる譜の範囲を括弧で囲む@c
必要があります。リスト中の要素は省略することができますが、最上位のグループは@c
必ず全ての譜を含みます。@c
@code{SystemStartDelimiter} は @code{SystemStartBar},
@code{SystemStartBracket}, @code{SystemStartBrace},
@code{SystemStartSquare} のいずれかです。
"
  doctitleja = "譜をネストする"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Si può usare la proprietà @code{systemStartDelimiterHierarchy} per creare
gruppi di righi annidati più complessi.  Il comando @code{\\set
StaffGroup.systemStartDelimiterHierarchy} prende come argomento una lista
alfabetica dell'insieme di righi prodotti. Prima di ogni rigo si può
assegnare un delimitatore di inizio del sistema. Deve essere racchiuso
tra parentesi e collega tutti i righi compresi tra le parentesi.  Gli
elementi nella lista possono essere omessi, ma la prima parentesi quadra
collega sempre tutti i righi. Le possibilità sono @code{SystemStartBar},
@code{SystemStartBracket}, @code{SystemStartBrace} e
@code{SystemStartSquare}.

"
  doctitleit = "Annidare i righi"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
La propriété de contexte @code{systemStartDelimiterHierarchy} permet de
créer des regroupements imbriqués complexes. Dans le cadre d'un
@code{StaffGroup}, elle prend en argument la liste alphabétique des
sous-groupes à hiérarchiser. Chaque sous-groupe peut être affublé d'un
délimiteur particulier. Chacun des regroupements intermédiaires doit
être borné par des parenthèses. Bien que des éléments de la liste
puissent être omis, le premier délimiteur embrassera toujours
l'intégralité des portées. Vous disposez des quatre délimiteurs
@code{SystemStartBar}, @code{SystemStartBracket},
@code{SystemStartBrace} et @code{SystemStartSquare}. "

  doctitlefr = "Imbrications de regroupements de portées"

%% Translation of GIT committish: cd3e2b0177d366d0a25b4c7628b26455e52175cd
  texidoces = "
Se puede utilizar la propiedad
@code{systemStartDelimiterHierarchy} para crear grupos de
pentagramas anidados de forma más compleja. La propiedad
@code{systemStartDelimiterHierarchy} del contexto
@code{StaffGroup} toma una lista alfabética del número de
pentagramas producidos. Se puede proporcionar antes de cada
pentagrama un delimitador de comienzo de sistema. Se debe encerrar
entre corchetes y admite tantos pentagramas como encierren las
llaves. Se pueden omitir los elementos de la lista, pero el primer
corchete siempre abarca todos los pentagramas. Las posibilidades
son @code{SystemStartBar}, @code{SystemStartBracket},
@code{SystemStartBrace} y @code{SystemStartSquare}.

"
  doctitlees = "Anidado de grupos de pentagramas"

%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
  texidocde = "
Die Eigenschaft @code{systemStartDelimiterHierarchy} kann eingesetzt
werden, um komplizierte geschachtelte Systemklammern zu erstellen.  Der
Befehl @code{\\set StaffGroup.systemStartDelimiterHierarchy} nimmt eine
Liste mit der Anzahl der Systeme, die ausgegeben werden, auf.  Vor jedem
System kann eine Systemanfangsklammer angegeben werden.  Sie muss in Klammern eingefügt
werden und umfasst so viele Systeme, wie die Klammer einschließt.  Elemente
in der Liste können ausgelassen werden, aber die erste Klammer umfasst immer
die gesamte Gruppe.  Die Möglichkeiten der Anfangsklammer sind: @code{SystemStartBar},
@code{SystemStartBracket}, @code{SystemStartBrace} und
@code{SystemStartSquare}.

"
  doctitlede = "Systeme schachteln"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
Es pot utilitzar la propietat
@code{systemStartDelimiterHierarchy} per crear grups de
pentagrames niuats de forma més complexa.  L'ordre
@code{\\set StaffGroup.systemStartDelimiterHierarchy} pren una
llista alfabètic del nombre de pentagrames produïts.  Es pot
proporcionar abans de cada pentagrama un delimitador de
començament del sistema.  Es pot envoltar entre corxets i admetre
tants pentagrames com envoltin els corxets. Es poden ometre els
elements de la llista, però el primer corxet sempre abasta tots
els pentagrames.  Les possibilitat són @code{SystemStartBar},
@code{SystemStartBracket}, @code{SystemStartBrace}
@code{SystemStartSquare}.

"
  doctitleca = "Niuat de grups de pentagrames"

  categories = "Contexts and engravers, Staff notation, Tweaks and
                overrides"

  texidoc = "
The property @code{systemStartDelimiterHierarchy} can be used to make
more complex nested staff groups. The
@code{systemStartDelimiterHierarchy} property of the @code{StaffGroup}
context 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
@code{SystemStartBar}, @code{SystemStartBracket},
@code{SystemStartBrace}, and @code{SystemStartSquare}.
"

  doctitle = "Nesting staves"
} % begin verbatim


\new StaffGroup
\relative c'' <<
  \override StaffGroup.SystemStartSquare.collapse-height = 4
  \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 }
>>



% ****************************************************************
% end ly snippet
% ****************************************************************
