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?