]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/adjusting-lyrics-vertical-spacing.ly
LSR: Update.
[lilypond.git] / input / lsr / adjusting-lyrics-vertical-spacing.ly
index 8920e6b8fbc298178f2f74af84c01f14f5866448..cf93efd452e1e6773be39241724c47c05533e6ca 100644 (file)
@@ -6,22 +6,31 @@
   lsrtags = "text, vocal-music, spacing"
 
   texidoc = "
-This snippet shows you how to bring the lyrics line closer to the
-staff.
+This snippet shows how to bring the lyrics line closer to the staff.
 
 "
   doctitle = "Adjusting lyrics vertical spacing"
 } % begin verbatim
 % Default layout:
 <<
-  \new Staff \new Voice = melody \relative c '{ c4 d e f g f e d c1 }
+  \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 }
 
 % Reducing the minimum space below the staff and above the lyrics:
   \new Staff \with {
-    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 4) }
-  \new Voice = melody \relative c' { c4 d e f g f e d c1 }
+    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 4)
+  }
+  \new Voice = melody \relative c' {
+    c4 d e f
+    g4 f e d
+    c1
+  }
   \new Lyrics \with {
-    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 1) }
+    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 1)
+  }
   \lyricsto melody { aa aa aa aa aa aa aa aa aa }
 >>