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