Hi Stefan,
> 1. How can I add the text "4x" over the repeat sign in bar 4?
> 2. How would I attach a \fermata to the last chord?
> 3. How can I add markup-text to the chords?
Here are some ideas that might point you in the right direction?
%%% SNIPPET BEGINS
\version "2.25.1"
\layout {
\context {
\Score
\override RehearsalMark.padding = #3
}
\context {
\ChordNames
\consists "Bar_engraver"
\override BarLine.bar-extent = #'(-2 . 2)
\consists "Script_engraver"
\override Script.X-offset = #0.75
\override Script.Y-offset = #3
}
}
#(define-bar-line ".|:" ".|:" ".|:" ".|:")
global = {
\repeat volta 4 {
\bar".|:"
s1*4
}
\once \override Score.BarLine.extra-spacing-width = #'(0 . 1)
\once \override Score.RehearsalMark.self-alignment-X = #0.5
<>\mark \markup "4x"
s1
\bar "|."
}
theChords = \chordmode {
\repeat volta 4 {
d2 g2 |
b2:m a2 |
d2 g2 |
b2:m a2 |
}
d1^\fermata
}
\new ChordNames << \global \theChords >>
%%% SNIPPET ENDS
Cheers,
Kieren.