Consider the following:
%%%%%%%%%%%%%%%%%%%
\version "2.25.10"
wordsA = \lyricmode { centred centred centred }
wordsB = \lyricmode { justified _ centred }
wordsC = \lyricmode { justified " " centred }
wordsC = \lyricmode { centred \once \override Lyrics.LyricText.color = #white
"." centred }
\score {
\new Staff <<
\new Voice = "vvv" { r2 c'2 g'2 c''2 }
\new Lyrics \lyricsto "vvv" \wordsA
\new Lyrics \lyricsto "vvv" \wordsB
\new Lyrics \lyricsto "vvv" \wordsC
\new Lyrics \lyricsto "vvv" \wordsD
>>
%%%%%%%%%%%%%%%%%%%
In the middle lyric, the first word is justified because the following skip (_
in this case) defines a melisma. But I actually simply want there to be no
immediately following word - this arises with multiple verses and alternatives
in the repeat structure, for example. I thought a quoted space would count as
a word, but no...
In the end I have done it above by a rather unnatural circumlocution, but is
there a more natural solution which I've missed?
Paul