I'm wondering the same thing, here's my example:
\version "2.24.4"
\relative c' {
c1
\mark \markup{\segno}
\repeat volta 2 {
d
\mark \markup{\coda}
\alternative {
\volta 1 {
e
}
\volta 2 {
f
}
}
}
g_\markup { \hspace #8 \center-column {
\line {\italic "D.S." \segno \italic "al" \coda}
\italic
Hi,
I am trying to write something tricky (but not rare, in my opinion) with both
`\repeat segno` and `\repeat volta`. Here is an illustration of what I want to
achieve:
A ||: B |(Segno) C |(Coda)(Volta 1 start) D1 (Volta 1 end):||
(Volta 2 start) D2 (Volta 2 end)(DS)||(Coda)