]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/lyrics-alignment.ly
5b2e7718d9701c6986e1f108754089535b7020c6
[lilypond.git] / input / lsr / lyrics-alignment.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.13.1"
4
5 \header {
6   lsrtags = "text, vocal-music"
7
8 %% Translation of GIT committish: 3b206eff0a7feaab0001db3cff95f7d3b63b4601
9   texidoces = "
10 La alineación horizontal de la letra se puede ajustar sobreescribiendo
11 la propiedad @code{self-alignment-X} del objeto @code{LyricText}.
12 @code{#-1} es izquierda, @code{#0} es centrado y @code{#1} es derecha;
13 sin embargo, puede usar también @code{#LEFT}, @code{#CENTER} y
14 @code{#RIGHT}.
15
16 "
17   doctitlees = "Alineación de la letra"
18
19   texidoc = "
20 Horizontal alignment for lyrics cam be set by overriding the
21 @code{self-alignment-X} property of the @code{LyricText} object.
22 @code{#-1} is left, @code{#0} is center and @code{#1} is right;
23 however, you can use @code{#LEFT}, @code{#CENTER} and @code{#RIGHT} as
24 well. 
25
26 "
27   doctitle = "Lyrics alignment"
28 } % begin verbatim
29
30 \layout { ragged-right = ##f }
31 \relative c'' {
32   c1
33   c1
34   c1
35 }
36 \addlyrics {
37   \once \override LyricText #'self-alignment-X = #LEFT
38   "This is left-aligned"
39   \once \override LyricText #'self-alignment-X = #CENTER
40   "This is centered" 
41   \once \override LyricText #'self-alignment-X = #1
42   "This is right-aligned"
43 }
44