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
{
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
30 \override PianoStaff
.SystemStartBrace
#'collapse-height
= #1
31 \override Score
.SystemStartBar
#'collapse-height
= #1