Update .ly files.
[lilypond.git] / input / new / display-bracket-with-only-one-staff-in-a-system.ly
blob87e416b30df0e8c8b2bf075edf62e3a9169d98cb
1 \version "2.12.0"
2 \header {
3 lsrtags = "staff-notation,tweaks-and-overrides"
4 texidoc = "If there is only one staff in one of the staff types
5 @code{ChoirStaff} or @code{StaffGroup}, the bracket and the starting
6 bar line will not be displayed as standard behavior. This can be changed
7 by overriding the relevant properties.
9 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
10 where the systems begin with a brace instead of a bracket, another
11 property has to be set, as shown on the second system in the example.
13 doctitle = "Display bracket with only one staff in a system"
16 \markup \left-column {
17 \score {
18 \new StaffGroup <<
19 % Must be lower than the actual number of staff lines
20 \override StaffGroup.SystemStartBracket #'collapse-height = #1
21 \override Score.SystemStartBar #'collapse-height = #1
22 \new Staff {
23 c'1
26 \layout { }
28 \score {
29 \new PianoStaff <<
30 \override PianoStaff.SystemStartBrace #'collapse-height = #1
31 \override Score.SystemStartBar #'collapse-height = #1
32 \new Staff {
33 c'1
36 \layout { }