On 2021-07-10 6:06 pm, Mark Probert wrote:
I'm not sure how to move the chord names down so they are centered on
the staff. Essentially I want the changes on an empty stave but I'm
unclear on how to do that.
[...]
Here's one way to do this:
%%%%
\version "2.20"
harmony = \chordmode { a1:m s1 f1:m7 s1 }
tune = { s1 s1 s1 s1 }
chordsOnStaff = \with {
% Force the baselines to match.
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 0) (minimum-distance . 0)
(padding . -inf.0) (stretchability . 0))
% Adjust to one staff space lower.
\override ChordName.extra-offset = #'(0 . -1)
}
\score {
<<
\new ChordNames \with \chordsOnStaff \harmony
\new Staff \tune
>>
}
%%%%
-- Aaron Hill