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