lilypond-user
[Top][All Lists]
Advanced

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

Re: Increasing vertical distance between chord names and notes/staves


From: Ralph Palmer
Subject: Re: Increasing vertical distance between chord names and notes/staves
Date: Sun, 5 Sep 2021 11:28:50 -0700



On Sun, Sep 5, 2021, 11:16 AM Lukas-Fabian Moser <lfm@gmx.de> wrote:

Hi Ralph,

Uhh. . . This is great except for the alternative endings. Without going too crazy, is there a way to get the chord names above the alternative ending spanners?

Yes, by moving the Volta_engraver from score level to the specific staff over with the volta brackets should be placed.

So, add to your score on top-level:

\layout {
  \context {
    \Score
    \remove Volta_engraver
  }
}

and then do:

\score {
  <<
    \new ChordNames \with {
      \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = 2
    } \Chords
    \new Staff \with { \consists Volta_engraver } \Tune
  >>
}

(One might ask what happens if, instead of \constist'ing the Volta_engraver to the specific staff, one chooses to do

  \context {
    \Sctaff
    \consists Volta_engraver
  }

in the \layout block. I don't want to spoil it for you: Just try adding a second staff to such a score...)

Lukas

And thanks, again, Lukas,

Ralph



reply via email to

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