Reposting a previous question with code example. Note that depending on how
the alignment is defined, about a notehead of space is added to one side of
the lyrics or the other.

Thanks,

Carl
====

\version "2.16.2"

\score { <<
\new Staff = "top" { \new Voice = "tester" { c' e' g' c'' } }
\new Lyrics \lyricsto "tester" \lyricmode {This is a test }
\new Staff = "bottom" { \clef bass c' g e c }
>>
\header { piece = "default behavior" }
}

\score { <<
\new Staff = "top" { \new Voice = "tester" { c' e' g' c'' } }
\new Staff = "bottom" { \clef bass c' g e c }
\new Lyrics \with {alignAboveContext="bottom"} \lyricsto "tester"
\lyricmode {This is a test }
>>
\header { piece = "aligned above bottom staff" }
}

\score { <<
\new Staff = "top" { \new Voice = "tester" { c' e' g' c'' } }
\new Staff = "bottom" { \clef bass c' g e c }
\new Lyrics \with {alignBelowContext="top"} \lyricsto "tester" \lyricmode
{This is a test }
>>
\header { piece = "aligned below top staff" }
}

Attachment: testing.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to