]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-lyrics.ly
Update LSR snippets
[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 %% Tags: text, vocal-music
4 \version "2.11.35"
5
6 \header { texidoc = "
7 You can specify different horizontal alignment for your lyrics, by
8 overriding the #'self-alignment-X property of the LyricText object. #-1
9 is left, #0 is center and #1 is right; however, you can use #LEFT,
10 #CENTER and #RIGHT as well.
11 " }
12 % begin verbatim
13 \relative c'' {
14   c1 c c
15 }
16 \addlyrics {
17   \once \override LyricText #'self-alignment-X = #LEFT "This is left-aligned" 
18   \once \override LyricText #'self-alignment-X = #CENTER "This is centered" 
19   \once \override LyricText #'self-alignment-X = #1 "this is right-aligned"  
20 }