[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Footnotes in Lyrics
From: |
Jean Abou Samra |
Subject: |
Re: Footnotes in Lyrics |
Date: |
Mon, 2 Jan 2023 11:54:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
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
OpenPGP_signature
Description: OpenPGP digital signature