X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=inline;f=input%2Flsr%2Faligning-lyrics.ly;h=91e2ac8b3dd1282bbdfa7db046e847be18a947ba;hb=37ca1f80bf5401accd17056938f4f7b2c147ddb2;hp=43241a4f0149f501d17229769f5a4e3842407fbf;hpb=44ec216ed7a8f92311cdb8ea925d6e5cab4a72a0;p=lilypond.git diff --git a/input/lsr/aligning-lyrics.ly b/input/lsr/aligning-lyrics.ly index 43241a4f01..91e2ac8b3d 100644 --- a/input/lsr/aligning-lyrics.ly +++ b/input/lsr/aligning-lyrics.ly @@ -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" +}