LSR: Update.
[lilypond/mpolesky.git] / Documentation / snippets / lyrics-alignment.ly
blob1a8664662b16c3dc2f206cdb719c77b0925bebe5
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.29"
6 \header {
7 lsrtags = "text, vocal-music"
9 %% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
10 texidoces = "
11 La alineación horizontal de la letra se puede ajustar sobreescribiendo
12 la propiedad @code{self-alignment-X} del objeto @code{LyricText}.
13 @code{#-1} es izquierda, @code{#0} es centrado y @code{#1} es derecha;
14 sin embargo, puede usar también @code{#LEFT}, @code{#CENTER} y
15 @code{#RIGHT}.
18 doctitlees = "Alineación de la letra"
20 texidoc = "
21 Horizontal alignment for lyrics cam be set by overriding the
22 @code{self-alignment-X} property of the @code{LyricText} object.
23 @code{#-1} is left, @code{#0} is center and @code{#1} is right;
24 however, you can use @code{#LEFT}, @code{#CENTER} and @code{#RIGHT} as
25 well.
28 doctitle = "Lyrics alignment"
29 } % begin verbatim
31 \layout { ragged-right = ##f }
32 \relative c'' {
37 \addlyrics {
38 \once \override LyricText #'self-alignment-X = #LEFT
39 "This is left-aligned"
40 \once \override LyricText #'self-alignment-X = #CENTER
41 "This is centered"
42 \once \override LyricText #'self-alignment-X = #1
43 "This is right-aligned"