]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/display-bracket-with-only-one-staff-in-a-system.ly
225420c6edc4586608913b6dc0826024ed106986
[lilypond.git] / Documentation / snippets / display-bracket-with-only-one-staff-in-a-system.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.39"
5
6 \header {
7   lsrtags = "staff-notation, tweaks-and-overrides"
8
9 %% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94
10   texidoces = "
11 Si hay un solo pentagrama en un de los tipos de sistema
12 @code{ChoirStaff} o @code{StaffGroup}, el comportamiento
13 predeterminado es que no se imprima el corchete en la barra inicial.
14 Esto se puede cambiar sobreescribiendo las propiedades adecuadas.
15
16 Observe que en contextos como @code{PianoStaff} y
17 @code{GrandStaff} en que los sistemas empiezan con una llave en
18 lugar de un corchete, se debe establecer el valor de una propiedad
19 distinta, como se ve en el segundo sistema del ejemplo.
20
21 "
22   doctitlees = "Mostrar corchete o llave en grupos de un solo pentagrama"
23
24
25
26 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
27   texidocde = "
28 Wenn nur ein System einer Systemgruppe vom Typ @code{ChoirStaff} oder
29 @code{StaffGroup} angezeigt wird, wird die Klammer zu Beginn normalerweise
30 nicht gesetzt.  Das kann verändert werden, indem man die entsprechende
31 Eigenschaft verändert.
32
33 Bei Systemen wie @code{PianoStaff} und @code{GrandStaff}, die mit einer
34 geschweiften Klammer beginne, muss eine andere Eigenschaft verändert werden,
35 wie das zweite Beispiel zeigt.
36
37 "
38   doctitlede = "Klammer anzeigen wenn nur ein System gesetzt wird"
39
40 %% Translation of GIT committish: 99dc90bbc369722cf4d3bb9f30b7288762f2167f6
41   texidocfr = "
42 Lorsque, dans des regoupements de type @code{ChoirStaff} ou
43 @code{StaffGroup}, une seule portée est active, aucune indication n'est
44 donnée en début de ligne.  Surcharger la propriété adéquate permet de
45 modifier ce comportement par défaut.
46
47 Notez bien que dans le cas des @code{PianoStaff} et @code{GrandStaff},
48 pour lesquels le délimiteur de système est une accolade et non un
49 crochet, il ne s'agit pas de la même propriété -- voir le deuxième
50 @emph{système} de l'exemple.
51
52 "
53   doctitlefr = "Indicateur de regroupement et portée unique"
54
55
56   texidoc = "
57 If there is only one staff in one of the staff types @code{ChoirStaff}
58 or @code{StaffGroup}, the bracket and the starting bar line will not be
59 displayed as standard behavior.  This can be changed by overriding the
60 relevant properties.
61
62 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
63 where the systems begin with a brace instead of a bracket, another
64 property has to be set, as shown on the second system in the example.
65
66 "
67   doctitle = "Display bracket with only one staff in a system"
68 } % begin verbatim
69
70 \markup \left-column {
71   \score {
72     \new StaffGroup <<
73       % Must be lower than the actual number of staff lines
74       \override StaffGroup.SystemStartBracket #'collapse-height = #1
75       \override Score.SystemStartBar #'collapse-height = #1
76       \new Staff {
77         c'1
78       }
79     >>
80     \layout { }
81   }
82   \null
83   \score {
84     \new PianoStaff <<
85       \override PianoStaff.SystemStartBrace #'collapse-height = #1
86       \override Score.SystemStartBar #'collapse-height = #1
87       \new Staff {
88         c'1
89       }
90     >>
91     \layout { }
92   }
93 }