]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/aligning-lyrics.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[lilypond.git] / input / lsr / aligning-lyrics.ly
index 43241a4f0149f501d17229769f5a4e3842407fbf..91e2ac8b3dd1282bbdfa7db046e847be18a947ba 100644 (file)
@@ -1,16 +1,31 @@
-%% Do not edit this file; it is auto-generated from LSR!
-%% Tags: text, vocal-music
-\version "2.11.35"
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.49"
 
-\header { texidoc = "
-You can specify different horizontal alignment for your lyrics, by
-overriding the #'self-alignment-X property of the LyricText object. #-1
-is left, #0 is center and #1 is right; however, you can use #LEFT,
-#CENTER and #RIGHT as well.
-" }
-% begin verbatim
+\header {
+  lsrtags = "text, vocal-music"
+
+  texidoc = "
+Horizontal alignment for lyrics cam be set by overriding the
+@code{self-alignment-X} property of the @code{LyricText} object.
+@code{#-1} is left, @code{#0} is center and @code{#1} is right;
+however, you can use @code{#LEFT}, @code{#CENTER} and @code{#RIGHT} as
+well. 
+
+"
+  doctitle = "Aligning lyrics"
+} % begin verbatim
+\layout { ragged-right = ##f }
 \relative c'' {
-c1 c c}
-\addlyrics {\once \override LyricText #'self-alignment-X = #LEFT "This is left-aligned" 
-\once \override LyricText #'self-alignment-X = #CENTER "This is centered" 
-\once \override LyricText #'self-alignment-X = #1 "this is right-aligned"  }
+  c1
+  c1
+  c1
+}
+\addlyrics {
+  \once \override LyricText #'self-alignment-X = #LEFT
+  "This is left-aligned"
+  \once \override LyricText #'self-alignment-X = #CENTER
+  "This is centered" 
+  \once \override LyricText #'self-alignment-X = #1
+  "This is right-aligned"
+}