\version "2.16.1" #(set-global-staff-size 20) toCoda = { \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible \once \override Score.RehearsalMark #'outside-staff-priority = #5 \mark \markup { \musicglyph #"scripts.coda" } } toCodasmall = { \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible \once \override Score.RehearsalMark #'outside-staff-priority = #5 \mark \markup { \magnify #1.0 \musicglyph #"scripts.coda" } } txtCoda = { \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible \once \override Score.RehearsalMark #'X-offset = #-11.5 \once \override Score.RehearsalMark #'outside-staff-priority = #5 \mark \markup { \concat { "to Coda " \raise #1 \musicglyph #"scripts.coda" } } } \score { \new Staff { \toCoda R1 \toCoda \bar "||" | R1 \break \toCoda R1 \toCoda \repeat volta 2 { R1 } \alternative { R1 { R1 \toCoda } } \break \repeat volta 2 { R1 \toCoda } \alternative { R1 R1 } \break } } \score { \new Staff { \toCodasmall R1 \toCodasmall \bar "||" | R1 \break \toCodasmall R1 \toCodasmall \repeat volta 2 { R1 } \alternative { R1 { R1 \toCodasmall } } \break \repeat volta 2 { R1 \toCodasmall } \alternative { R1 R1 } \break } } \score { \new Staff { \txtCoda R1 \txtCoda \bar "||" | R1 \break \txtCoda R1 \txtCoda \repeat volta 2 { R1 } \alternative { R1 { R1 \txtCoda } } \break \repeat volta 2 { R1 \txtCoda } \alternative { R1 R1 } \break } }