lilypond-user
[Top][All Lists]
Advanced

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

Re: Realigning rests


From: Kira Garvie
Subject: Re: Realigning rests
Date: Fri, 10 Sep 2021 09:16:43 -0400

Thank you so much! I was wondering about the double dots as well. 

On Fri, Sep 10, 2021 at 4:15 AM Valentin Petzel <valentin@petzel.at> wrote:
Hello Kira,

>From your code I see that the problem stems from the line
\override Staff.Rest #' staff-position = #0

Here you basically force Lilypond to put all following rests onto the middle
line. I guess you’re doing this to merge the common rests. Note that doing
this messes with the dots on dotted rests. Because Lilypond will try to
display both dots, so it will put one dot above and one beneath the line.

If you use Lilypond 2.20 or higher you can add a merge rest engraver to the
staff that will automatically do the merging for you. In your case I’d suggest
you to override the position only for the rests that are affected and hide one
of the rests (or you can also replace it with a skip).

Cheers,
Valentin

reply via email to

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