I'm trying to figure out what to use for a chord name to get a "repeat" (percent) sign over one of the measures. Below is a complete small example. I want C over the first measure, repeat over the second measure, and D over the third measure. I'm sure this is trivial - I just can't find it!
\version "2.18.2"
chordNames = \chordmode {
c1
% What goes here to get the repeat sign above the second measure of the staff?
d1 % i want the d chord on top of the third measure
}
melody = \relative c'' {
c4 d e f
g a, b c
c d e f
}
\score {
<<
\new ChordNames \chordNames
\new Staff { \melody }
>>
}