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
> > - \tweak extra-spacing-width #'(2 . 3)
> > which hadn't worked.  Clearly I needed the extra space property of text.
> 
> 
> 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