X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Flsr%2Faligning-lyrics.ly;h=91e2ac8b3dd1282bbdfa7db046e847be18a947ba;hb=f844ae0d425f0e1c16ae0019228b136dd85c17a7;hp=1cb96225ba2e0c137931491681bc5fb132d83cf8;hpb=a0b2e9cf56fadc0c2c4f23d0e3aa34ba7eaaa0ae;p=lilypond.git diff --git a/input/lsr/aligning-lyrics.ly b/input/lsr/aligning-lyrics.ly index 1cb96225ba..91e2ac8b3d 100644 --- a/input/lsr/aligning-lyrics.ly +++ b/input/lsr/aligning-lyrics.ly @@ -1,21 +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.49" \header { lsrtags = "text, vocal-music" - 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 + + 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" }