On 4/25/09 5:38 PM, "Nick Payne" <nick.pa...@internode.on.net> wrote:
> I'm putting together a book of pieces, and using a particular font for
> headers, footers, titles, subtitles, etc. The one place where I haven't
> figured out how to get that font used is for the header text for the table
> of contents that Lilypond creates. Each tocItem has the font I want by using
> \override #'(font-name etc, but how do I change the font for the actual text
> "Table of Contents" that Lilypond inserts corresponding to the \markuplines
> \table-of-contents in the ly source.
Ahh, after a bit more looking, I got it now.
In your paper block, define the variable tocTitleMarkup to be whatever you
want it to be.
\paper {
tocTitleMarkup = \markup \huge \override #'(font-name . "Courier")
\column {
\fill-line { \null "Custom Table of Contents" \null}
\hspace #1
}
}
HTH,
Carl
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user