]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/display-bracket-with-only-one-staff-in-a-system.ly
e8df72f9683925a339ce5954a8dc4b69ae2ea9d1
[lilypond.git] / input / lsr / display-bracket-with-only-one-staff-in-a-system.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "staff-notation, tweaks-and-overrides"
7
8 %% Translation of GIT committish: dcd61338c753205b6f8d549389fcb0d999c3a675
9   texidoces = "
10 Si hay un solo pentagrama en un de los tipos de sistema
11 @code{ChoirStaff} o @code{StaffGroup}, el comportamiento
12 predeterminado es que no se imprima el corchete en la barra inicial.
13 Esto se puede cambiar sobreescribiendo las propiedades adecuadas.
14
15 Observe que en contextos como @code{PianoStaff} y
16 @code{GrandStaff} en que los sistemas empiezan con una llave en
17 lugar de un corchete, se debe establecer el valor de una propiedad
18 distinta, como se ve en el segundo sistema del ejemplo.
19
20 "
21   doctitlees = "Mostrar corchete o llave en grupos de un solo pentagrama"
22
23   
24 %% Translation of GIT committish: 0364058d18eb91836302a567c18289209d6e9706
25   texidocde = "
26 Wenn nur ein System einer Systemgruppe vom Typ @code{ChoirStaff} oder
27 @code{StaffGroup} angezeigt wird, wird die Klammer zu Beginn normalerweise
28 nicht gesetzt.  Das kann verändert werden, indem man die ensprechende
29 Eigenschaft veränder.
30
31 Bei Systemen wie @code{PianoStaff} und @code{GrandStaff}, die mit einer
32 geschweiften Klammer beginne, muss eine andere Eigenschaft verändt werden,
33 wie das zweite Beispiel zeigt.
34
35 "
36   doctitlede = "Klammer anzeigen, wenn nur ein System gesetzt wird"
37
38   texidoc = "
39 If there is only one staff in one of the staff types @code{ChoirStaff}
40 or @code{StaffGroup}, the bracket and the starting bar line will not be
41 displayed as standard behavior.  This can be changed by overriding the
42 relevant properties.
43
44 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
45 where the systems begin with a brace instead of a bracket, another
46 property has to be set, as shown on the second system in the example. 
47
48 "
49   doctitle = "Display bracket with only one staff in a system"
50 } % begin verbatim
51
52 \markup \left-column {
53   \score {
54     \new StaffGroup <<
55       % Must be lower than the actual number of staff lines
56       \override StaffGroup.SystemStartBracket #'collapse-height = #1
57       \override Score.SystemStartBar #'collapse-height = #1
58       \new Staff {
59         c'1
60       }
61     >>
62     \layout { }
63   }
64   \null
65   \score {
66     \new PianoStaff <<
67       \override PianoStaff.SystemStartBrace #'collapse-height = #1
68       \override Score.SystemStartBar #'collapse-height = #1
69       \new Staff {
70         c'1
71       }
72     >>
73     \layout { }
74   }
75 }