lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key signatures in hidden staves take up space


From: Peter Crighton
Subject: Re: Key signatures in hidden staves take up space
Date: Sun, 5 Oct 2014 15:11:07 +0200

2014-10-05 11:15 GMT+02:00 David Kastrup <address@hidden>:
Simon Albrecht <address@hidden> writes:

> Am 04.10.2014 um 23:13 schrieb Peter Crighton:
>> As you can see in the following code and the attached image, there
>> is a possible bug when using \RemoveEmptyStaves with voices in
>> different keys (such as in a score with transposing instruments):
>> key signatures appearing only in hidden empty staves are still
>> causing space in the shown staves.
>>
>> I don’t think this is as it should be. How can I correct this? And
>> should it be filed as a bug report, or is there some intention
>> behind this appearance?
> I quite agree that this is likely a bug (or at least: unexpected
> behaviour which should be enhanced).

It is not unexpected behavior.  \RemoveEmptyStaves can only work after
the line breaks are known and the line breaks are the result of
horizontal spacing.

Basically you'd need to redo all of the horizontal spacing after stuff
like \RemoveEmptyStaves have run without changing the line breaking
again if you find out that this gives you more space to work with.

Unlikely to happen in the next few years of LilyPond development.

Okay, thanks for explaining. For now I am content with using “\omit Staff.KeySignature” and “\revert Staff.KeySignature.stencil” respectively to get rid of the problem.

What I found strange, though, was that in my score the problem only appeared when there was a time signature change at the beginning of the line. I couldn’t reproduce this in a minimal example.

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de


reply via email to

[Prev in Thread] Current Thread [Next in Thread]