]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-lyrics.ly
GDP: NR 2 Reorganisation: Wind headings
[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 @code{LyricText}
10 object. @code{#-1} is left, @code{#0} is center and @code{#1} is right;
11 however, you can use @code{#LEFT}, @code{#CENTER} and @code{#RIGHT} as
12 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 }