[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vertical placement of trillspan and upbow
From: |
Jean Abou Samra |
Subject: |
Re: vertical placement of trillspan and upbow |
Date: |
Sun, 05 Mar 2023 19:04:12 +0100 |
User-agent: |
Evolution 3.46.4 (3.46.4-1.fc37) |
Le dimanche 05 mars 2023 à 15:56 +0100, Arjen a écrit :
Hello,
I am trying to switch the vertical stacking order of the upbow symbol and the trillspan in the following fragment by overriding the script-priority of the upbow symbol.
The upbow symbol should be the topmost.
\version "2.22.1"
\relative a'' {
g1\startTrillSpan ( ~
\once \override Script.script-priority = #1000
g2\upbow\stopTrillSpan ~ \acciaccatura fis8 g8 e8)
}
I tried replacing "Script" with "TextScript", but it did not work either.
And I tried overriding TrillSpanner.script-priority to -1000 (placing it before the g1), which also didn't work.
Can someone please be so kind to explain how to accomplish this?
What about just using a more up-to-date LilyPond version?
In 2.24, trill spanners stop before the ending note (as is best practice), so you don't need to tweak anything, as your code gives
Jean
signature.asc
Description: This is a digitally signed message part