]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-lyrics.ly
Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/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  texidoc = "
8 You can specify different horizontal alignment for your lyrics, by
9 overriding the @code{#'self-alignment-X} property of the
10 @code{LyricText} object. @code{#-1} is left, @code{#0} is center and
11 @code{#1} is right; however, you can use @code{#LEFT}, @code{#CENTER}
12 and @code{#RIGHT} as well. 
13 " }
14 % begin verbatim
15 \relative c'' {
16   c1 c c
17 }
18 \addlyrics {
19   \once \override LyricText #'self-alignment-X = #LEFT "This is left-aligned" 
20   \once \override LyricText #'self-alignment-X = #CENTER "This is centered" 
21   \once \override LyricText #'self-alignment-X = #1 "this is right-aligned"  
22 }