]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-lyrics.ly
Split WWW target in two stages WWW-1 and WWW-2
[lilypond.git] / input / lsr / aligning-lyrics.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.46"
4
5 \header {
6   lsrtags = "text, vocal-music"
7
8   texidoc = "
9 Horizontal alignment for lyrics cam be set by overriding the
10 @code{self-alignment-X} property of the @code{LyricText} object.
11 @code{#-1} is left, @code{#0} is center and @code{#1} is right;
12 however, you can use @code{#LEFT}, @code{#CENTER} and @code{#RIGHT} as
13 well. 
14
15 "
16   doctitle = "Aligning lyrics"
17 } % begin verbatim
18 \layout { ragged-right = ##f }
19 \relative c'' {
20   c1
21   c1
22   c1
23 }
24 \addlyrics {
25   \once \override LyricText #'self-alignment-X = #LEFT
26   "This is left-aligned"
27   \once \override LyricText #'self-alignment-X = #CENTER
28   "This is centered" 
29   \once \override LyricText #'self-alignment-X = #1
30   "This is right-aligned"
31 }