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.
6 lsrtags = "staff-notation, contexts-and-engravers, breaks"
9 When adding a new staff at a line break, some extra space is
10 unfortunately added at the end of the line before the break (to fit in
11 a key signature change, which will never be printed anyway). The
12 workaround is to add a setting of
13 @code{Staff.explicitKeySignatureVisibility} as is shown in the example.
14 In versions 2.10 and earlier, a similar setting for the time signatures
15 is also required (see the example).
20 doctitle = "Adding an extra staff at a line break"
23 \new StaffGroup \relative c'' {
26 c1 c^"Unwanted extra space" \break
30 \once \override Staff.TimeSignature #'stencil = ##f
34 c1 c^"Fixed here" \break
37 \once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
38 % The next line is not needed in 2.11.x or later:
39 \once \override Staff.TimeSignature #'break-visibility = #end-of-line-invisible
41 \once \override Staff.TimeSignature #'stencil = ##f