On Thu, May 27, 2021 at 2:04 PM Kees van den Doel <[email protected]> wrote:
> Hi all,
>
> I want to attach grace notes after a note which is last in measure.
> Problem is the grace notes are printed in the next bar, which is wrong.
>
> Using \afterGrace is even worse, seems broken.
>
> Snippet and pdf of problem attached.
>
> Any help would be appreciated. Of course I could make barlines invisible
> and insert them manually but that's one step up from fixing the score with
> whiteout and a pencil.
>
> Cheers,
> Kees
>
Greetings, Kees -
I think the attached might work. The \afterGrace command needs to come
before the note the grace notes are attached to, then the grace notes come
after. See
https://lilypond.org/doc/v2.18/Documentation/notation/special-rhythmic-concerns
All the best,
Ralph
--
Ralph Palmer
Seattle
USA
(he, him, his)
[email protected]
\version "2.21.1"
cantus = {
\time 2/4
%a4 b(\grace{a16 b c')} a2
%a4 b(\afterGrace{a16 b c')} a2
%b2
a4 \afterGrace b( { a16 b c') }
b2
}
\score {
\context Staff = "one" <<
\new Voice = "cantus" {
\cantus
}
>>
}