lilypond-user
[Top][All Lists]
Advanced

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

Re: Headers Placement


From: Nick Payne
Subject: Re: Headers Placement
Date: Sat, 19 Jan 2013 20:01:50 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 19/01/13 19:42, Jérôme Plût wrote:
Decimo quinto Kalendas Februarias MMXIII scripsit Thomas Morley :
LilyPond supports two kinds of headers: book-header and score-header.

a) book-header (top-level!):

\header { ... }
\score { ... }

b) score-header:

\score {
   <some-music>
   \header { ... }
}
I was going to ask more or less the same question as Mark, so thanks
for the explanation. I find the whole header system extremely
confusing (for example, why must the score-header be at the *end* of
the corresponding score, this is a mystery) and would prefer
sectioning commands that work in the LaTeX way, inserting markup where
they are called instead of defining some magic values:

\title #'((title . "Concerto") (author . "Me"))

\title #'((section . "I. Allegro ma non troppo"))

\score { ... }

\title #'((section . "II. Andantino))

\score { ... }

This I can do with Scheme, but maybe something equivalent already
exists?

You can use bookparts, as in the attached example. Header fields redefined in a bookpart header override those in the overall header.

Nick

Attachment: bookparts.ly
Description: Text Data


reply via email to

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