1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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"
25 \new StaffGroup \relative c'' {
28 c1 c^"Unwanted extra space" \break
32 \once \omit Staff.TimeSignature
36 c1 | c^"Fixed here" \break
39 \once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
41 \once \omit Staff.TimeSignature