歌詞の揃え位置

歌詞の水平方向の揃え位置は、LyricText オブジェクトの self-alignment-X プロパティをオーバライドすることで設定できます。-1 が左、0 が中央、1 が右になります。#LEFT, #CENTER, #RIGHT を用いることもできます。

\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]

LilyPond snippets v2.25.15 (開発版).