]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/adjusting-lyrics-vertical-spacing.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / adjusting-lyrics-vertical-spacing.ly
index fae7a1c6c603e339c25364c39de9e8c0c8093872..551e96053721b8b666afd27beed418f8599a1709 100644 (file)
@@ -1,27 +1,13 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.10"
+\version "2.16.0"
 
 \header {
-  lsrtags = "text, vocal-music, spacing"
-
-%% Translation of GIT committish: 4385ed4cc738e164a95798862580b4b86703356f
-  texidoces = "
-Este fragmento de código muestra cómo situar la línea de base de la
-letra más cerca del pentagrama.
-
-"
-  doctitlees = "Ajuste del especiado vertical de la letra"
-
-%% Translation of GIT committish: 499a511d4166feaada31114e097f86b5e0c56421
-  texidocfr = "
-Cet extrait illustre la manière de rapprocher la ligne de paroles
-de la portée.
-
-"
-  doctitlefr = "Ajustement de l'espacement vertical des paroles"
-
+  lsrtags = "correction-wanted, spacing, text, vocal-music, workaround"
 
   texidoc = "
 This snippet shows how to bring the lyrics line closer to the staff.
@@ -39,18 +25,16 @@ 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 \with {
-    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 4)
-  }
-  \new Voice = melody \relative c' {
-    c4 d e f
-    g4 f e d
-    c1
+  \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 #'minimum-Y-extent = #'(-1.2 . 1)
+    \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #'((basic-distance . 1))
   }
   \lyricsto melody { aa aa aa aa aa aa aa aa aa }
 >>
-