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