3

For some files, I want to add lyrics only, using Lilypond. And for some texts I want to add ties in the lyrics, I don't know how to format it probably like a normal text. Can I use ties in markup mode, too?

The following code is based on the answer here but it has the spacing problem.

\version "2.22.1"

\header{
  tagline = ""
}

\layout {
  indent = 0
  ragged-right = ##t
}

\new Score \with {
  \remove "Bar_number_engraver"
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
}
<< 
  \new Lyrics \with {
  }
  \lyricmode {
      This~works already\break
      This is the second line, but how can I produce it directly below, like in markup mode?\break
      I could use the markup mode, but how could I get~ties~there?

  }
>>

enter image description here

The question linked is similar, but the answers don't solve my problem. Because of the spacing problem, both answers only work for one single line...

2 Answers 2

3

That’s what \tied-lyric is for. Lo and behold:

\markup \column {
  \tied-lyric { "This~works already" }
  \tied-lyric { "This is the second line, but how can I produce it directly below, like in markup mode?" }
  \tied-lyric { "I could use the markup mode, but how could I get~ties~there?" }
}
1
  • Thanks, that works good! Unfortunately there was only one example in the docs and they use it the same I did. Also Bing search for tied-lyric lilypond yield my question from today as number two of top search results. That's the reason why I "used it wrongly".
    – Guest
    Commented Nov 20, 2021 at 22:34
2
  • Update: Although the docs implied it differently, it should be \tied-lyric{Here go the complete lyrics with~the ties.}

According to the docs there exist two possibilities and both using \markup. The following example shows the usage of ties in \markup-mode.

\version "2.22.1"

\header{
  tagline = ""
}

\layout {
  indent = 0
  ragged-right = ##t
}

\markup {
  This\tied-lyric "~"works not so good, but it's good enough...
}

The quality is worse than in lyricsmode though: enter image description here

The docs also show how to add stanzas in \markup-mode, which works without notes, but same poor quality ties: enter image description here

  • Here I found a discussion about tweaking the poor quality tie.
1
  • 1
    The quality is worse because you’re using the command \tied-lyric wrongly. The argument to the function are the whole lyrics, not just the tie.
    – Lazy
    Commented Nov 20, 2021 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.