lilypond-user
[Top][All Lists]
Advanced

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

Re: Header fonts in style sheet


From: Nick Payne
Subject: Re: Header fonts in style sheet
Date: Fri, 14 Mar 2014 20:24:50 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 14/03/14 19:33, Christian wrote:
Hi all,

Currently I am working on a style sheet for my future lilypond projects.
I was wondering how to define a font for e.g. title, composer and so on.
I have tried to make a header  context within the \layout{}, but this
doesn't seem to work.

If you just want to change the font for those items, like so:

\header {

title = \markup {

\override #'(font-name . "Spectrum MT SC")

"Pezzo Tedesco"

}

composer = \markup {

\override #'(font-name . "Spectrum MT SC")

"Anon. c.1575"

}

}


If you want to change the fonts used throughout the score for serif, sans-serif, and monospaced, then like so:


\paper {

#(define fonts

(make-pango-font-tree "Charis SIL"

"Andika"

"Liberation Mono"

(/ (* staff-height pt) 2.5)))

% rest of paper section here
}



Nick

reply via email to

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