bug-lilypond
[Top][All Lists]
Advanced

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

Re: music starting with afterGrace breaks layout


From: Thomas Morley
Subject: Re: music starting with afterGrace breaks layout
Date: Wed, 22 Feb 2017 22:50:24 +0100

2017-02-22 18:44 GMT+01:00 Klaus Rettinghaus
<address@hidden>:
> Hi there,
>
> when the music starts with an \afterGrace the layout is broken:
>
> \relative { \time 2/4 \afterGrace g'2 { f8[ g] } f2 }
>
>
> You have to put something before that to make it work:
> \relative { \time 2/4 s2*0 \afterGrace g'2 { f8[ g] } f2 }
>
> This is present in 2.18.2. and 2.19.55 (Mac).
>
> Cheers,
> Klaus

Hi Klaus,

thanks for the report.

\afterGrace returns simultaneous music.
If no context exists before, LilyPond creates them. In the case of
afterGrace Staves for each musical expression in the created list.
Another example would be: << c c >>

So I don't think it qualifies as a bug, but expected (though
undesired) behaviour. Not sure whether it's fixable in the
afterGrace-definition.

Easiest workaround would be to explicitely declare a context:
\new Voice \relative { \time 2/4 \afterGrace g'2 { f8[ g] } f2 }

Cheers,
  Harm



reply via email to

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