]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/display-bracket-with-only-one-staff-in-a-system.ly
Doc: Update LSR.
[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.16"
5
6 \header {
7   lsrtags = "staff-notation, tweaks-and-overrides"
8
9 %% Translation of GIT committish: d2119a9e5e951c6ae850322f41444ac98d1ed492
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 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
26   texidocde = "
27 Wenn nur ein System einer Systemgruppe vom Typ @code{ChoirStaff} oder
28 @code{StaffGroup} angezeigt wird, wird die Klammer zu Beginn normalerweise
29 nicht gesetzt.  Das kann verändert werden, indem man die ensprechende
30 Eigenschaft veränder.
31
32 Bei Systemen wie @code{PianoStaff} und @code{GrandStaff}, die mit einer
33 geschweiften Klammer beginne, muss eine andere Eigenschaft verändt werden,
34 wie das zweite Beispiel zeigt.
35
36 "
37   doctitlede = "Klammer anzeigen wenn nur ein System gesetzt wird"
38 %% Translation of GIT committish: 99dc90bbc369722cf4d3bb9f30b7288762f2167f6
39   texidocfr = "
40 Lorsque, dans des regoupements de type @code{ChoirStaff} ou
41 @code{StaffGroup}, une seule portée est active, aucune indication n'est
42 donnée en début de ligne.  Surcharger la propriété adéquate permet de
43 modifier ce comportement par défaut.
44
45 Notez bien que dans le cas des @code{PianoStaff} et @code{GrandStaff},
46 pour lesquels le délimiteur de système est une accolade et non un
47 crochet, il ne s'agit pas de la même propriété -- voir le deuxième
48 @emph{système} de l'exemple.
49
50 "
51   doctitlefr = "Indicateur de regroupement et portée unique"
52
53
54   texidoc = "
55 If there is only one staff in one of the staff types @code{ChoirStaff}
56 or @code{StaffGroup}, the bracket and the starting bar line will not be
57 displayed as standard behavior.  This can be changed by overriding the
58 relevant properties.
59
60 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
61 where the systems begin with a brace instead of a bracket, another
62 property has to be set, as shown on the second system in the example.
63
64 "
65   doctitle = "Display bracket with only one staff in a system"
66 } % begin verbatim
67
68 \markup \left-column {
69   \score {
70     \new StaffGroup <<
71       % Must be lower than the actual number of staff lines
72       \override StaffGroup.SystemStartBracket #'collapse-height = #1
73       \override Score.SystemStartBar #'collapse-height = #1
74       \new Staff {
75         c'1
76       }
77     >>
78     \layout { }
79   }
80   \null
81   \score {
82     \new PianoStaff <<
83       \override PianoStaff.SystemStartBrace #'collapse-height = #1
84       \override Score.SystemStartBar #'collapse-height = #1
85       \new Staff {
86         c'1
87       }
88     >>
89     \layout { }
90   }
91 }