[Top][All Lists]

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

Re: Changing font of "Table of Contents"

From: Carl D. Sorensen
Subject: Re: Changing font of "Table of Contents"
Date: Sat, 25 Apr 2009 21:45:46 -0600

On 4/25/09 5:38 PM, "Nick Payne" <address@hidden> 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



reply via email to

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