On 2021-05-01 5:56 pm, Ahanu Banerjee wrote:
Here you go:
\version "2.20.0"
{ \defineBarLine "xyz" #'("|." ".|:" "")
\repeat unfold 7 c'
c'-\tweak X-offset #5 _\markup \bold \italic "Fine"
\bar "xyz" \break
\repeat unfold 7 c' c'_\markup \bold \italic "D.C. al Fine"
\bar ":|." }
To follow convention, you could name the custom bar ".|:-|.".
Also, you probably want to specify the spanning type as well:
%%%%
\defineBarLine ".|:-|." #'("|." ".|:" ".|")
%%%%
That makes it more closely match the existing ".|:-||" as defined in
bar-line.scm:
;;;;
(define-bar-line ".|:-||" "||" ".|:" ".|")
;;;;
-- Aaron Hill