]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/display-bracket-with-only-one-staff-in-a-system.ly
LSR: Update.
[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.12.3"
4
5 \header {
6   lsrtags = "staff-notation, tweaks-and-overrides"
7
8   texidoces = "
9 Si hay un solo pentagrama en un de los tipos de sistema
10 @code{ChoirStaff} o @code{StaffGroup}, el comportamiento
11 predeterminado es que no se imprima el corchete en la barra inicial.
12 Esto se puede cambiar sobreescribiendo las propiedades adecuadas.
13
14 Observe que en contextos como @code{PianoStaff} y
15 @code{GrandStaff} en que los sistemas empiezan con una llave en
16 lugar de un corchete, se debe establecer el valor de una propiedad
17 distinta, como se ve en el segundo sistema del ejemplo.
18
19 "
20   doctitlees = "Mostrar corchete o llave en grupos de un solo pentagrama"
21
22
23   texidoc = "
24 If there is only one staff in one of the staff types @code{ChoirStaff}
25 or @code{StaffGroup}, the bracket and the starting bar line will not be
26 displayed as standard behavior.  This can be changed by overriding the
27 relevant properties.
28
29 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
30 where the systems begin with a brace instead of a bracket, another
31 property has to be set, as shown on the second system in the example. 
32
33 "
34   doctitle = "Display bracket with only one staff in a system"
35 } % begin verbatim
36
37 \markup \left-column {
38   \score {
39     \new StaffGroup <<
40       % Must be lower than the actual number of staff lines
41       \override StaffGroup.SystemStartBracket #'collapse-height = #1
42       \override Score.SystemStartBar #'collapse-height = #1
43       \new Staff {
44         c'1
45       }
46     >>
47     \layout { }
48   }
49   \null
50   \score {
51     \new PianoStaff <<
52       \override PianoStaff.SystemStartBrace #'collapse-height = #1
53       \override Score.SystemStartBar #'collapse-height = #1
54       \new Staff {
55         c'1
56       }
57     >>
58     \layout { }
59   }
60 }