]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/adjusting-lyrics-vertical-spacing.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / adjusting-lyrics-vertical-spacing.ly
index e8a3a8b3db7e0da54e7e624ce4959eb42b861806..472e089ef55c55ee7922be3a57efe7ce82428545 100644 (file)
@@ -1,27 +1,13 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.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.18.0"
 
 \header {
-  lsrtags = "text, vocal-music, spacing"
-
-%% Translation of GIT committish: 45fc8488655f9ea122d1ec6e3328892618bd6971
-  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 = "spacing, text, tweaks-and-overrides, vocal-music, workaround"
 
   texidoc = "
 This snippet shows how to bring the lyrics line closer to the staff.
@@ -39,18 +25,17 @@ 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 }
 >>
-