lilypond-user
[Top][All Lists]
Advanced

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

Re: Footnotes in Lyrics


From: Johannes Roeßler
Subject: Re: Footnotes in Lyrics
Date: Mon, 2 Jan 2023 11:54:19 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

thx Jean and Pierre!
Le 02/01/2023 à 11:31, Pierre Perol-Schneider a écrit :
Hi Johannes,
Here's a little hack:

\markup \footnote \null "(1) footnote text"

\score { <<
  { a' b' c'' d'' c'' b' a' }
  \addlyrics {
     One two
     \markup \concat { three \raise #.7 \teeny (1) }
     four five six se -- ven
  }
  >>
}



Fortunately, there is a lessy hacky way :-)

\version "2.24.0"

lyricFootnote = \once {
  \override Footnote.annotation-line = ##f
  \override Footnote.X-attachment = #RIGHT
  \override Footnote.text-alignment-X = #LEFT
  \override Footnote.Y-attachment = #UP
  \override Footnote.text-alignment-Y = #UP
}

\score {
  <<
    { a' b' c'' d'' c'' b' a' }
    \addlyrics {
      One two
      three
      \lyricFootnote
      \footnote #'(0 . 0) "footnote text" LyricText
      \tweak extra-spacing-width #'(0 . 1.2) five six se -- ven
    }
  >>
}


Cheers,
Jean



reply via email to

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