]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/display-bracket-with-only-one-staff-in-a-system.ly
ebb58b3490a686c1de752cba09dec90e2729b627
[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.11.38"
4
5 \header {
6   lsrtags = "staff-notation, tweaks-and-overrides"
7  texidoc = "
8 If there is only one staff in one of the staff types ChoirStaff,
9 InnerChoirStaff, InnerStaffGroup and StaffGroup, the bracket won't be
10 displayed as standard behaviour. This can be changed with:
11
12
13 @code{\\override [staffcontext].SystemStartBracket #'collapse-height =
14 #1}
15
16
17 This applies to all staff contexts with
18 @code{systemStartDelimiter}-property set to @code{'SystemStartBracket}.
19
20
21 For staff contexts with @code{'SystemStartBrace}, such as
22 @code{PianoStaff}, this tweaking can be used as well. 
23 " }
24 % begin verbatim
25 \score {
26   \new StaffGroup << 
27     % Must be one lower than your actual amount off staff lines
28     \override StaffGroup.SystemStartBracket #'collapse-height = #4 
29     \new Staff { 
30       c'4 d' e' f' 
31     }
32   >> 
33   } 
34   {
35   \new PianoStaff << 
36     \override PianoStaff.SystemStartBrace #'collapse-height = #4 
37     \new Staff { 
38       c'4 d' e' f' 
39     }
40   >> 
41   } 
42   \layout { 
43     ragged-right = ##t 
44     indent = 0\cm
45   }