[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra padding between ChordNames and custom headers

From: Brent Annable
Subject: Re: Extra padding between ChordNames and custom headers
Date: Fri, 16 Jul 2021 17:55:14 +1000


Awesome thank you. What would I do if I wanted the extra padding on only one score on the page? In my music, each page will have two scores on it, but only the second one has chords requiring the extra distance. I tried adding another \paper variable before the second score, but lilypond freaks out, and when I separate the scores with \bookpart, they are placed on separate pages. Is there a way to get the extra padding only on one score, with both being on the same page?


On Fri, 16 Jul 2021 at 16:52, Xavier Scheuer <> wrote:
On Fri, 16 Jul 2021 at 06:19, Brent Annable <> 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?


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.


Xavier Scheuer <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]