bug-lilypond
[Top][All Lists]
Advanced

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

Re: PartcombineApart and overriding rests


From: Thomas Morley
Subject: Re: PartcombineApart and overriding rests
Date: Fri, 5 Oct 2012 21:16:36 +0200

2012/10/5 Clément <address@hidden>:
>> I'm not top posting.
>
> Hello,
>
> PartcombineApart refuses Rest's overrides.
> In the first Voice, it does nothing. In the second Voice, it crashes.
> When Rests are merged, no problem.
> This bug does not affect MultiMeasureRests.
>
> \version "2.17.3"
>
> partI = \relative c'' {
>   \partcombineApart
>   \override Rest #'Y-offset = #4
>   r2 c4 d r2 r
> }
>
> partII = \relative c' {
>   \override Rest #'Y-offset = #-4
>   r2 r r s
> }
>
> \new Staff { \partcombine \partI \partII }
> \new Staff { \partI }
> \new Staff { \partII }
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond


Hi Clement,

can confirm your observation.
But a proper override would use 'staff-position. And it doesn't crash.

\version "2.17.0"

partI = \relative c'' {
  \partcombineApart
  \override Rest #'staff-position = #8
  r2 c4 d r2 r
}

partII = \relative c' {
  \override Rest #'staff-position = #-8
  r2 r r s
}

\new Staff { \partcombine \partI \partII }
\new Staff { \partI }
\new Staff { \partII }


Hope this is of some use for you.

-Harm



reply via email to

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