Hello all,
I have a layout for lead sheets that only show chords. Reduced to its relevant features it looks like the one below.
There’s only problem with it: depending on the number of bars in a line, the distance from the barline (or beginning of line) to the first chord symbol in a bar differs, which looks very bad.
Can I somehow specify a fixed distance for every bar, independent from the number of bars per line, without doing so manually for every bar?
\version "2.19.47"
\new ChordNames \chordmode {
\repeat unfold 2 {
c1
} \break
\repeat unfold 4 {
c1
} \break
\repeat unfold 8 {
c1
}
}
\layout {
\context {
\ChordNames
\consists "Bar_engraver"
\override BarLine.bar-extent = #'(-2 . 2)
\override ChordName.Y-extent = ##f
\override ChordName.Y-offset = #-0.9
}
\context {
\Score
\remove "Bar_number_engraver"
proportionalNotationDuration = #(ly:make-moment 1/2)
\override SpacingSpanner.uniform-stretching = ##t
}
}
\paper {
indent = 0
}
Thanks,