lilypond-user
[Top][All Lists]
Advanced

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

Vertical Spacing with Tuplets and Lyrics


From: Stu McKenzie
Subject: Vertical Spacing with Tuplets and Lyrics
Date: Tue, 20 Jun 2023 09:45:08 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1


I have a drums score that includes tuplets in both voiceOne (cymbals) and voiceTwo (drums), and lyrics for some bars.

I'm trying to adjust the vertical spacing so that the lyrics don't clash with the tuplet brackets.

The tiny example below contains an example of the combinations of the two voices and lyrics.

I've included the "paper" block (commented out) to show that, when allowed, all staves have the same spacing.  Enable the paper block to generate the result with "system-system-spacing" enabled.

The example has been expanded to deliberately repeat multiple times, to exaggerate the clashes when the paper block is commented out.

I would like to toggle the vertical spacing when there are, and are not, lyrics.

I've investigated, without success, changing properties of the VerticalAxisGroup grob.

"system-system-spacing" does not provide an elegant solution, because the staves without lyrics are too far apart.  What would be a better way to achieve the result that I desire?

Tiny (maybe not so tiny) example:

\version "2.24.0"

% \paper { system-system-spacing.basic-distance = #20 }

CyBars = \drummode {
 \repeat unfold 15 { \repeat unfold 4 { \tuplet 3/2 { hh4 hh8 } } \break }
}
DrBars = \drummode {
 \repeat unfold 15 { bd4 \tuplet 3/2 { sn4 bd8 } bd4 sn \break }
}
PrOne = \lyricmode {
 \override LyricText.self-alignment-X = #LEFT
 \skip 4 "Lyrics for introduction"2.
}

\score {
  \new DrumStaff
  <<
    \new DrumVoice { \voiceOne \CyBars }
    \new DrumVoice { \voiceTwo \DrBars }
    \new Lyrics { \PrOne }
  >>
}


reply via email to

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