Lyrics alignment: Difference between revisions

m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
Horizontal alignment for lyrics can be set by overriding the <code>self-alignment-X</code> property of the <code>LyricText</code> object. Value &nbsp;-1 means left-aligned, 0&nbsp;centered, and 1&nbsp;right-aligned. Alternatively, you can use the Scheme values <code>LEFT</code>, <code>CENTER</code>, and <code>RIGHT</code> instead of numbers.


<lilypond version="2.24">
<lilypond version="2.24">
\layout { ragged-right = ##f }
\layout {
  ragged-right = ##f
}


\relative c'' {
\relative c'' {
Line 19: Line 21:
</lilypond>
</lilypond>


[[Category:Really simple]]
[[Category:Text]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Text]]
[[Category:Really simple]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]