lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word alignment


From: Aaron Hill
Subject: Re: Word alignment
Date: Sat, 18 Jan 2020 13:37:56 -0800
User-agent: Roundcube Webmail/1.3.8

On 2020-01-18 1:27 pm, Peter Flynn wrote:
Is it possible in lilypond to have the words of the lyrics aligned so
the start of the word is under the note or group, rather than
centered?

I didn't see anything in 'Aligning lyrics to a melody'. The discussion
at
http://lilypond.1069038.n5.nabble.com/Left-align-first-word-of-lyrics-td146080.html
is interesting, but the OP wanted multi-line lyrics left-aligned to
themselves, but still centered under the note (and only for the first
word). What I'm looking for is both notes and words to be left-aligned
always.

You should only need to change LyricText.self-alignment-X. Doing it within a \layout block makes it easy to affect all lyrics contexts:

%%%%
\version "2.18.2"

\layout {
  \context { \Lyrics
    \override LyricText.self-alignment-X = #LEFT
  }
}

{ b'4 b' b' b' }
\addlyrics { one two three four }
\addlyrics { five six seven eight }
%%%%

-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]