[Top][All Lists]

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

Re: vertical placement of trillspan and upbow

From: Mark Mathias
Subject: Re: vertical placement of trillspan and upbow
Date: Sun, 5 Mar 2023 13:43:05 -0500

As I might have guessed, Jean's solution is even easier! Also, I presumed you wanted the trill to extend through the upbow to the acciaccatura, but that was probably not what you wanted.

My guess as to why the script-priority isn't a solution is that it decides between competing scripts and the trill spanner isn't a script. Whereas outside-staff-priority evaluates competing values of all objects of whatever type outside the staff. Hopefully someone will correct me if my understanding is foggy.


On Sun, Mar 5, 2023 at 1:05 PM Jean Abou Samra <> wrote:
Le dimanche 05 mars 2023 à 15:56 +0100, Arjen a écrit :

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


reply via email to

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