Le 15/06/2021 à 06:41, Brent Annable a écrit :
Hi all,
I'm trying to create the effect in the picture, of a one-time Volta
bracket above the staff with the text "last time only". I would prefer
the text to be inside the bracket, but that's another matter. Right
now I'm just looking for a way to get the bracket up there - I've
tried using actual Volta repeats and deleting/removing/changing things
with tips from previous emails and snippets, but after an hour I'm
just not getting anywhere.
Does somebody know an easy way?
The Measure_spanner_engraver.
\version "2.22.1"
\new Staff \with {
\consists Measure_spanner_engraver
}
{
c1
\tweak self-alignment-X #LEFT \mark \markup \tiny \italic "last time
only"
\tweak edge-height #'(1.2 . 1.2) \tweak outside-staff-priority 2000
\startMeasureSpanner
c1
\stopMeasureSpanner
c1
}
The documentation for this was added recently and will appear with the
next unstable release.
Best,
Jean