LSR: Update.
[lilypond.git] / input / lsr / display-bracket-with-only-one-staff-in-a-system.ly
blob28fd38623d37114c0d1b8a03f1b2e1e8ff432ee3
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.55"
4 \header {
5 lsrtags = "staff-notation,tweaks-and-overrides"
6 texidoc = "If there is only one staff in one of the staff types
7 @code{ChoirStaff}, @code{InnerChoirStaff}, @code{InnerStaffGroup}
8 or @code{StaffGroup}, the bracket and the starting bar line will not
9 be displayed as standard behavior. This can be changed by overriding
10 the relevant properties, as demonstrated in this example.
12 Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
13 where the systems begin with a brace instead of a bracket, another
14 property has to be set, as shown on the second system in the example.
16 doctitle = "Display bracket with only one staff in a system"
17 } % begin verbatim
19 \markup \column {
20 \score {
21 \new StaffGroup <<
22 % Must be lower than the actual number of staff lines
23 \override StaffGroup.SystemStartBracket #'collapse-height = #1
24 \override Score.SystemStartBar #'collapse-height = #1
25 \new Staff {
26 c'1
29 \layout { }
31 \score {
32 \new PianoStaff <<
33 \override PianoStaff.SystemStartBrace #'collapse-height = #1
34 \override Score.SystemStartBar #'collapse-height = #1
35 \new Staff {
36 c'1
39 \layout { }