It should be noted that this solution will not work in LilyPond
version 2.5 or later.
/Mats
Marcus Brinkmann wrote:
Hi,
here is a small how-to for others who try to do the same. I had to
add footnotes for lyrics in my song book, here is how I did it:
In the .ly file:
First set encoding to TeX, so the extra tex commands will not be
counted as space:
\encoding "Tex"
To add footnotes, you need to put the lyrics in double-quotes, and put
the exact footnote number in brackets, as lilypond may reorder them in
the .tex output file. The encoding "TeX" makes sure the marker is not
counted as space, but this means the footnotemark is not counted at
all, so I add a single space to compensate for that. Maybe the TeX
encoding could be improved to calculate the space better.
... "please\footnotemark[1] " ...
Then in the lilypond book, add the footnote text:
\lilypondfile{002.ly}
\footnotetext[1]{Also: tease.}
That's it. Have fun.
Thanks,
Marcus
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user