lilypond-user
[Top][All Lists]
Advanced

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

Re: Apply \editionMod to grace note


From: David Kastrup
Subject: Re: Apply \editionMod to grace note
Date: Thu, 26 Nov 2015 15:54:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

David Nalesnik <address@hidden> writes:

> For example, the grace moment in the following snippet (see console
> display):
>
> \version "2.19.30"
>
> {
>   c''4
>   \once \override NoteHead.after-line-breaking =
>   #(lambda (grob)
>      (display (grob::when grob))
>      (newline))
>
>   \grace c''8
>   d''2.
> }
>
> can be created this way:
>
> #(display (ly:make-moment 1 4 -1 8))
>
> See the description of ly:make-moment in the IR (Scheme functions).

I'd rather write (ly:make-moment 1/4 -1/8) here.  It's more readable in
my opinion.

-- 
David Kastrup



reply via email to

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