lilypond-user
[Top][All Lists]

## Re: invisible rest that takes no horizontal space

 From: Alexander Kobel Subject: Re: invisible rest that takes no horizontal space Date: Fri, 18 Jun 2010 13:00:16 +0200 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 2010-06-18 12:23, Peter Van Kranenburg wrote:

The example has been encoded as (starting at second system):

[...] d4. e8 fis4 e d2 s2 \bar ":|:" fis2 g [...]

So, my question is how to prevent the s2 from occupying horizontal space.



You might try d2*2 instead of d2 s2. Which looks not quite perfect, but fair enough considering that you're trying to cheat without too much effort... ;-) For a "real" solution, I can't think of a way without locally redefining the lengths of the measures, which will involve far more work in your script.


HTH,
Alexander