Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Lyrics alignment
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Horizontal alignment for lyrics can be set by overriding the <code>self-alignment-X</code> property of the <code>LyricText</code> object. <code>-1</code> is left, <code>0</code> is center, and <code>1</code> is right; however, you can use <code>#LEFT</code>, <code>#CENTER</code> and <code>#RIGHT</code> as well. <lilypond version="2.24.0"> \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" } </lilypond> [[Category:Vocal music]] [[Category:Vocal music]] [[Category:Text]] [[Category:Really simple]] [[Category:Included in the official documentation]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)