Thank you for your reply.
I knew to use the spacer rest. Your example takes me to my problem.
I want the "D.C. al Coda" to be right-justified before the space.
Thank you,
Paul
On 11/11/24 12:36 PM, Knute Snortum wrote:
On Mon, Nov 11, 2024 at 10:44 AM Paul Scott <waterhorsemu...@aol.com>
wrote:
Is there a way to get some blank space in front of the coda? I
have tried \stopStaff and \startStaff with no success.
I'm not sure what you tried, but putting spacer note in between the
\stopStaff and \startStaff produces good results:
%%%
\version "2.25.19"
music = \fixed c' {
f1
\repeat segno 2 {
g1
g1
\alternative {
\volta 1 {
\once \override Score.CodaMark.self-alignment-X = #0.8
\once \set Score.codaMarkFormatter =
#(lambda args
#{ \markup { \normalsize { "To Coda" \raise #1
\musicglyph "scripts.coda" } } #})
\repeat unfold 4 { a2 }
\stopStaff
s1
\startStaff
}
\volta 2 \volta #'() {
\section
\sectionLabel "Coda"
\once \set Score.dalSegnoTextFormatter =
#(lambda (context repeat-count markups)
#{ \markup{D.C. al Coda} #})
}
}
}
b1
\fine
}
\score { \music }
%%%
--
Knute Snortum