X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Faligning-lyrics.ly;h=e04eab7c40d5e2bf2f398e256ac822f97412afd8;hb=63e3a34b22756a1ebc6543e08dc4fb9b20ac1ac4;hp=fcd55166d1575adf07a39d431647d585b3b67a8a;hpb=80ab82e55619933121a5d300cf7f1149ad9f1670;p=lilypond.git diff --git a/input/lsr/aligning-lyrics.ly b/input/lsr/aligning-lyrics.ly index fcd55166d1..e04eab7c40 100644 --- a/input/lsr/aligning-lyrics.ly +++ b/input/lsr/aligning-lyrics.ly @@ -1,22 +1,31 @@ %% 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.38" +\version "2.11.52" \header { lsrtags = "text, vocal-music" - texidoc = " -You can specify different horizontal alignment for your lyrics, 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. -" } -% begin verbatim + + 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 + 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" + \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" }