I am trying to create a LaTeX (more precisely, XeLaTeX) document that contains lilypond snippets. I am using
lilypond-book to create a .tex file. Within my (LaTeX) document, I use a (custom) TTF font. I would like my lyrics to appear in the same font. By using the
\paper environment and the
#(define fonts (make-pango-font-tree ...)) commands described here, for example, I can use that font within lilypond. I verified this by running the
lilypond command on my (separate) lilypond file and by viewing the result in a PDF viewer.
Now, I basically want to get the same results within my LaTeX+Lilypond document. As far as I understand,
lilypond-book mostly ignores the
\paper section within a lilypond file. Is there a way to set the font from within a lilypond file in a way such that it is respected by
I assume that there is an easy answer to this question, but I could not find any clues in the excellent lilypond documentation or elsewhere.