Hi,

On Thu, Nov 26, 2015 at 8:14 AM, Kieren MacMillan <
[email protected]> wrote:

> Hi Urs,
>
> > is there a way to apply an \editionMod to a grace note or acciaccatura?
> > What would be the proper "moment" of that?
>
> I’m not sure, but I would like to know!
>
> I’d also like to know how to address a partial (“pickup”) measure.
> I’ve asked before, but did not receive an answer.
>
> Sorry I couldn’t be of more help!
> Kieren.
>

Is the edition engraver able to accept moments specified by
ly:make-moment?  If so, you can specify a moment using optional arguments.

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).

HTH,
David
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to