]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-lyrics.ly
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[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.38"
4
5 \header {
6   lsrtags = "text, vocal-music"
7
8   texidoc = "
9 You can specify different horizontal alignment for your lyrics, by
10 overriding the @code{self-alignment-X} property of the @code{LyricText}
11 object. @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 \relative c'' {
19   c1 c c
20 }
21 \addlyrics {
22   \once \override LyricText #'self-alignment-X = #LEFT "This is left-aligned" 
23   \once \override LyricText #'self-alignment-X = #CENTER "This is centered" 
24   \once \override LyricText #'self-alignment-X = #1 "This is right-aligned"  
25 }