> On 18 Apr 2025, at 22:12, Jakob Pedersen <[email protected]> wrote:
>
> Greetings!
>
> I would like to do something like this:
>
> <volta.jpg>
>
> I added the red volta in Inkscape
>
> This is the mwe I used to create the basic structure:
> ...
> Which command would I need to add for a left-open volta with no text for the
> final measure of a repeat?
Adding in a customized measureSpanner could do the trick here:
\version "2.25.13"
\layout {
\context {
\Staff
\consists Measure_spanner_engraver
}
}
\fixed c'' {
\repeat volta 4 {
c4 d e f
\alternative {
\volta 1,2,3 { \once \override Score.VoltaBracket.musical-length =
\musicLength 1
c2 e c e c e c e \break c e c e c e \tweak edge-height #'(0 . 2.0) \tweak
thickness #1.6 \tweak padding #1 \startMeasureSpanner c e \stopMeasureSpanner }
\volta 4 { f2 d }
}
}
c1
}
https://lilypond.org/doc/v2.25/Documentation/snippets/editorial-annotations-_002d-measure-spanner
The reference on the measure spanner and voltabracket defaults that assisted me
in aligning their layouts with tweaks:
https://lilypond.org/doc/v2.25/Documentation/internals/voltabracket
https://lilypond.org/doc/v2.25/Documentation/internals/measurespanner