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.
> 
> I tried using
> 
> \markuplines {
>         \override #'(font-name . "SpectrumMT SC")
>         \table-of-contents
> }
> 
> In the same way as inside \markup blocks, but that doesn't parse correctly
> and gives errors.
> 
> Nick

If you look at ly/toc-init.ly, you'll see tocTitleMarkup.  You'll want to
add font override to that markup.

Unfortunately, I haven't yet found out how to fix it from a lilypond file.
When I make a similar change in the lilypond file, the one in toc-init.ly
seems to override it.

Carl



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to