blob: 7d8059e50f2bf663ff4ad7d3e0c147a3b07641de (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.dsi.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\version "2.17.11"
\header {
= "staff-notation, tweaks-and-overrides"
= "
If there is only one staff in one of the staff types @code{ChoirStaff}
or @code{StaffGroup}, the bracket and the starting bar line will not be
displayed as standard behavior. This can be changed by overriding the
relevant properties.
Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
where the systems begin with a brace instead of a bracket, another
property has to be set, as shown on the second system in the example.
"
= "Display bracket with only one staff in a system"
} % begin verbatim
\markup \left-column {
\score {
\new StaffGroup <<
% Must be lower than the actual number of staff lines
\override StaffGroup.SystemStartBracket.collapse-height = #1
\override Score.SystemStartBar.collapse-height = #1
\new Staff {
c'1
}
>>
\layout { }
}
\null
\score {
\new PianoStaff <<
\override PianoStaff.SystemStartBrace.collapse-height = #1
\override Score.SystemStartBar.collapse-height = #1
\new Staff {
c'1
}
>>
\layout { }
}
}
|