lilypond-user
[Top][All Lists]
Advanced

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

Needing space after a user-defined ornament


From: Alasdair McAndrew
Subject: Needing space after a user-defined ornament
Date: Mon, 10 Apr 2023 21:27:13 +1000

I'm typesetting some French baroque music, in which a sort of large breath mark was used to indicate a particular type of trill.  And the mark is positioned close to the note, generally a little to the right and up.

What I've done is create a small function:

ttr = #(define-event-function (placement) (pair?)
        #{
         -\tweak extra-offset #placement
         -\markup {\fontsize #4 \musicglyph #"scripts.rcomma"}
#} )

which can be used like this:

\relative c'' {
  g8. ^\ttr #'(2.5 . -3.0) a16
}

The trouble is that Lilypond sometimes doesn't recognize this symbol as needing space, so depending on the spacing of the notes, this symbol can get very squashed.  How can I add extra horizontal spacing to my function?

Alasdair

--
Alasdair McAndrew (he/him)
mob: 0432 854 858

https://numbersandshapes.net

reply via email to

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