]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/adjusting-lyrics-vertical-spacing.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / new / adjusting-lyrics-vertical-spacing.ly
index 9f010b3a7bb43415ff8245d9b4cc9e293a34fc01..7a707d5a2974fb62daffd09e39a767b04970c994 100644 (file)
@@ -1,5 +1,4 @@
-%% This file is in the public domain.
-\version "2.13.16"
+\version "2.14.0"
 
 \header {
   lsrtags = "text, vocal-music, spacing"
@@ -19,8 +18,8 @@ This snippet shows how to bring the lyrics line closer to the staff.
   }
   \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  {
+  % Reducing the minimum space below the staff and above the lyrics:
+  \new Staff {
     \new Voice = melody \relative c' {
       c4 d e f
       g4 f e d
@@ -28,8 +27,7 @@ This snippet shows how to bring the lyrics line closer to the staff.
     }
   }
   \new Lyrics \with {
-    \override VerticalAxisGroup #'staff-affinity = #UP
-    \override VerticalAxisGroup #'inter-staff-spacing = #'((space . 1)) }
-    \lyricsto melody { aa aa aa aa aa aa aa aa aa }
+    \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #'((basic-distance . 1))
+  }
+  \lyricsto melody { aa aa aa aa aa aa aa aa aa }
 >>
-