Allineamento del testo vocale

L’allineamento orizzontale del testo vocale si imposta attraverso la proprietà self-alignment-X dell’oggetto LyricText. #-1 è sinistra, #0 è centro e #1 è destra; si possono usare anche #LEFT, #CENTER e #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]

Frammenti LilyPond v2.25.15 (ramo di sviluppo).