Arranging separate lyrics on a single line: Difference between revisions

m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Sometimes you may want to put lyrics for different performers on a single line: where there is rapidly alternating text, for example. This snippet shows how this can be done with <code>\override VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = ##f</code>.
Sometimes you may want to put lyrics for different performers on a single line: where there is rapidly alternating text, for example. This snippet shows how it can be done with adjusting the <code>nonstaff-nonstaff-spacing</code> property of the <code>VerticalAxisGroup</code> grob.
 
<lilypond version="2.24" full>
\header { tagline = ##f }


<lilypond version="2.24">
\layout {
\layout {
   \context {
   \context {
Line 43: Line 41:
     }
     }
   >>
   >>
   \new Lyrics \lyricsto "alice" {
   \new Lyrics \lyricsto "alice" {
     may -- be
     may -- be
Line 49: Line 48:
     Shut up, you fool!
     Shut up, you fool!
   }
   }
   \new Lyrics \lyricsto "eve" {
   \new Lyrics \lyricsto "eve" {
     that the
     that the
Line 58: Line 58:
</lilypond>
</lilypond>


[[Category:Paper and layout]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Paper and layout]]
[[Category:Snippet]]