|
From: | Lukas-Fabian Moser |
Subject: | Re: Increasing vertical distance between chord names and notes/staves |
Date: | Sun, 5 Sep 2021 20:16:32 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |