]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/display-bracket-with-only-one-staff-in-a-system.ly
Make the length of beamlets configurable.
[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.11.64"
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   lsrtags = "staff-notation,tweaks-and-overrides"
21   texidoc = "If there is only one staff in one of the staff types
22 @code{ChoirStaff} or @code{StaffGroup}, the bracket and the starting
23 bar line will not be displayed as standard behavior.  This can be changed
24 by overriding the relevant properties.
25
26 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
27 where the systems begin with a brace instead of a bracket, another
28 property has to be set, as shown on the second system in the example.
29 "
30   doctitle = "Display bracket with only one staff in a system"
31 } % begin verbatim
32
33
34 \markup \left-column {
35   \score {
36     \new StaffGroup <<
37       % Must be lower than the actual number of staff lines
38       \override StaffGroup.SystemStartBracket #'collapse-height = #1
39       \override Score.SystemStartBar #'collapse-height = #1
40       \new Staff {
41         c'1
42       }
43     >>
44     \layout { }
45   }
46   \score {
47     \new PianoStaff <<
48       \override PianoStaff.SystemStartBrace #'collapse-height = #1
49       \override Score.SystemStartBar #'collapse-height = #1
50       \new Staff {
51         c'1
52       }
53     >>
54     \layout { }
55   }
56 }