| [ << Vocal music ] | [Top][Contents] | [ Chords >> ] |
| [ < Hymn template ] | [ Up : Vocal music ] | [ Marking notes of spoken parts with a cross on the stem (Sprechstimme) > ] |
Lyrics alignment
Horizontal alignment for lyrics can be set by overriding the
self-alignment-X property of the LyricText object.
-1 is left, 0 is center, and 1 is right; however,
you can use #LEFT, #CENTER and #RIGHT as well.
\layout { ragged-right = ##f } \relative c'' { c1 c1 c1 } \addlyrics { \once \override LyricText.self-alignment-X = #LEFT "This is left-aligned" \once \override LyricText.self-alignment-X = #CENTER "This is centered" \once \override LyricText.self-alignment-X = 1 "This is right-aligned" }
![[image of music]](../cb/lily-8e9a42f3.png)