[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clef change and measure length
From: |
Thomas Morley |
Subject: |
Re: Clef change and measure length |
Date: |
Sat, 26 Oct 2019 11:12:30 +0200 |
Am Sa., 26. Okt. 2019 um 10:30 Uhr schrieb foxfanfare <address@hidden>:
>
> Hi all,
>
> I think this is a bug: when a clef change appears after a full measure rest,
> the rest is no longer centered properly in the measure. The result looks
> weird. See that example:
>
> \version "2.19.82"
>
> \new Staff
> \relative c' {
> c1
> R-"default"
> \bar "||"
> R_"not centered"
> \clef bass
> \once \override MultiMeasureRest.X-offset = #1
> R-"tweaked"
> \clef treble
> c
> }
>
> What do you think?
>
> clefchange.ly
> <http://lilypond.1069038.n5.nabble.com/file/t5604/clefchange.ly>
> clefchange.pdf
> <http://lilypond.1069038.n5.nabble.com/file/t5604/clefchange.pdf>
Well, while centering a MMR the question is "center between which items?"
Default LilyPond centers between left and right break-alignment.
That's what's done and what you see.
So no bug, but intended.
Nevertheless you can change this behaviour by applying
[\once]
\override MultiMeasureRest.spacing-pair = #'(staff-bar . staff-bar)
as stated in the IR.
Cheers,
Harm