Originally created by: *anonymous
Originally created by: gpermus@gmail.com
Originally owned by: percival.music.ca@gmail.com
The setting of Staff.explicitKeySignatureVisibility shouldn't be necessary in the following example:
:::TeX
\version "2.11.32"
\score {
\new StaffGroup \relative c'' {
\new Staff
\key f \major
c1 c^"Unwanted extra space" \break
<<
{ c1 c }
\new Staff {
\key f \major
c1 c
}
>>
c1 c^"Fixed here" \break
<<
{ c1 c }
\new Staff {
\once\set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
\key f \major
c1 c
}
>>
}
}
Originally posted by: reinhold...@gmail.com
In 2.12 and 2.13.7, I can't see any different with and without the \once\set...
What's the issue exactly?
Owner: percival.music.ca
Originally posted by: percival.music.ca@gmail.com
Great example of the badness of having no attached png! :(
I _think_ the problem is the very right-hand side of the staff. In current git, the first line has extra staff lines on the right side; the second line doesn't. png attached.
Last edit: Simon Albrecht 2015-09-16
Originally posted by: reinhold...@gmail.com
The problem is the second staff, which starts right after the line break. This means that the key signature setting for the lower staff happens before the third measure, i.e. at a line break. Thus lilypond creates a key signature at the end of the line and at the beginning of the new line. The staff in the first system will be killed, however, but the key signature grob already had its effect on horizontal spacing.
Diff: