Le 16/11/2022 à 19:01, Paul Scott a écrit :
I still would appreciate help adding the coda.
I will attach my last attempt again,
You need to put \once \set ... just at the point where the
"D.C." text appears. In your example, this means:
\version "2.23.81"
music = {
\repeat segno 2 {
c'1 1 1 1
\alternative{
\volta 1 { c'1 }
\volta 2 \volta #'() {
\section
\sectionLabel "Coda"
}
}
c'1
\once \set Score.dalSegnoTextFormatter =
#(lambda (context repeat-count markups)
#{ \markup \column { "D.S." "Al Coda" "with Repeats" } #})
}
d'1
}
\score{ \new Staff \new Voice \music }
You may want to replace \column with \right-column.
Best,
Jean