Adjusting vertical spacing of lyrics: Difference between revisions
Appearance
m Lemzwerg moved page Adjusting lyrics vertical spacing to Adjusting vertical spacing of lyrics without leaving a redirect |
mNo edit summary |
||
| Line 5: | Line 5: | ||
<< | << | ||
\new Staff \new Voice = melody \relative c' { | \new Staff \new Voice = melody \relative c' { | ||
c4 d e f | c4 d e f | g4 f e d | c1 | ||
} | } | ||
\new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa } | \new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa } | ||
\new Staff | \new Staff \new Voice = melody \relative c' { | ||
c4 d e f | g4 f e d | c1 | |||
} | } | ||
% Reducing the minimum space below the staff and above the lyrics: | % Reducing the minimum space below the staff and above the lyrics: | ||
\new Lyrics \with { | \new Lyrics \with { | ||
| Line 27: | Line 22: | ||
</lilypond> | </lilypond> | ||
[[Category:Spacing]] | [[Category:Spacing]] | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category: | [[Category:Vocal music]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 15:18, 12 December 2025
This snippet shows how to bring the lyrics line closer to the staff.
\version "2.24"
% Default layout:
<<
\new Staff \new Voice = melody \relative c' {
c4 d e f | g4 f e d | c1
}
\new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa }
\new Staff \new Voice = melody \relative c' {
c4 d e f | g4 f e d | c1
}
% Reducing the minimum space below the staff and above the lyrics:
\new Lyrics \with {
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 1))
}
\lyricsto melody { aa aa aa aa aa aa aa aa aa }
>>