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: Jean Abou Samra
Subject: Re: Needing space after a user-defined ornament
Date: Tue, 11 Apr 2023 14:58:48 +0200
User-agent: Evolution 3.46.4 (3.46.4-1.fc37)

Le mardi 11 avril 2023 à 07:14 -0400, Kieren MacMillan a écrit :

Hi Alasdair,

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

I tried what you did first, and it didn’t work for me either. When a tweak I expect to work doesn’t work right away, I usually try adding an explicit grob name next, just in case that fixes it — and in this case it did!

I don't understand this discussion. Over here,

\version "2.24.1"

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

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

produces the same output as

\version "2.24.1"

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

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

What am I missing?

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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