lilypond-user
[Top][All Lists]
Advanced

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

Re: Needing space after a user-defined ornament


From: Alasdair McAndrew
Subject: Re: Needing space after a user-defined ornament
Date: Tue, 11 Apr 2023 13:09:43 +1000

Hi Kieran,

Many thanks indeed - that works a treat!  How does one find out about these things?  I had tried just

- \tweak extra-spacing-width #'(2 . 3)

which hadn't worked.  Clearly I needed the extra space property of text.

Thanks again,
Alasdair 





On Mon, 10 Apr 2023, 9:33 pm Kieren MacMillan, <kieren@kierenmacmillan.info> wrote:
Hi Alasdair,

> 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?

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

??

Hope that helps!
Kieren.

reply via email to

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