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