lilypond-user
[Top][All Lists]
Advanced

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

Re: afterGrace on Completion_heads_engraver layout


From: Thomas Morley
Subject: Re: afterGrace on Completion_heads_engraver layout
Date: Sat, 16 May 2015 12:40:02 +0200

2015-05-16 11:58 GMT+02:00 Venus' Wink <address@hidden>:
> Hi,
>
> I'm trying use \afterGrace on layout consists Completion_heads_engraver as:
>
> \version "2.18.2"
> \layout {
>     \context {
>         \Voice
>         \remove "Note_heads_engraver"
>         \consists "Completion_heads_engraver"
>     }
> }
> {
>     c'4 \afterGrace a4 b16
> }
>
> which issues attached test.pdf.
> The a4 also appears in the grace.
>
> The image I expect is the other attachment expected.pdf yielded
> with \context brace includes only \Voice.
>
> How can an image looks same be got without modifying the \context
> brace above?
>
> Thanks
> Venus' Wink


Hi,

LilyPond's afterGrace-function uses a second Voice to get the desired output.

Compile the following unchanged, you may be surprised:

{ \afterGrace a4 b16 }

Though, the second Voice isn't stated explicitely. Which confuses the
Completion_heads_engraver.
Maybe a bug, please report it:
http://www.lilypond.org/website/bug-reports.html

The following works:

\version "2.18.2"

\layout {
    \context {
        \Voice
       \remove "Note_heads_engraver"
       \consists "Completion_heads_engraver"
    }
}

\new Voice { c'4 \afterGrace a4 \new Voice b16 }


HTH,
  Harm



reply via email to

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