1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "breaks, contexts-and-engravers, staff-notation, workaround"
13 When adding a new staff at a line break, some extra space is
14 unfortunately added at the end of the line before the break (to fit in
15 a key signature change, which will never be printed anyway). The
16 workaround is to add a setting of
17 @code{Staff.explicitKeySignatureVisibility} as is shown in the example.
21 doctitle = "Adding an extra staff at a line break"
26 \new StaffGroup \relative c'' {
29 c1 c^"Unwanted extra space" \break
33 \once \omit Staff.TimeSignature
37 c1 | c^"Fixed here" \break
40 \once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
42 \once \omit Staff.TimeSignature