On Fri, 16 Jul 2021 at 06:19, Brent Annable <
brentannable@gmail.com> wrote:
>
> Hi everyone,
>
> I'm producing some music that uses some custom headers as well as chord names above the staff. Sometimes the chord names are a little too close to the headers for my liking, and I'd like a way to add more padding above the chord names when necessary.
>
> Because of the custom headers, it seems like I can't just add a \markup \vspace before the score (also this score is the second on the page, so that just adds more space between the two scores, not after the headers.)
>
> I've fiddled around with the ChordName VerticalAxisGroup, but there doesn't seem to be a property I can tweak that will create more space between them and the headers. I've included a little example (somewhat lengthy - my apologies), does anyone have any suggestions for how to create more distance between the headers and the chord names?
Hello,
The fact that you use custom header fields does not change the way to add spacing between header and score.
Increase
markup-system-spacing.padding, which is the variable controlling the distance between a (title or top-level) markup and the system that follows it, as documented in NR 4.1.4 Flexible vertical spacing
\paper {
markup-system-spacing.padding = #5
}
Per default the spacing between the title and the first system is mainly due to
markup-system-spacing.basic-distance but as the top element of your system is a ChordNames context (i.e. non-staff), as explained in the same section of the NR, you cannot really count on basic-distance and would better increase padding.
Cheers,
Xavier