lilypond-devel
[Top][All Lists]
Advanced

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

What is the difference between \paper and \layout blocks?


From: David Kastrup
Subject: What is the difference between \paper and \layout blocks?
Date: Sat, 14 Jan 2023 22:10:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

What should it be?

The presence of a \layout block in a score makes for typeset output.
\paper contains things like paper dimensions only necessary for typeset
output.  Also base file names that are also relevant for MIDI.

Global markup currently only gets to see the \paper block.  That also
concerns things like \score markup that can get information for
typesetting from \layout blocks.

Layout blocks "inherit" from the paper block: when a variable in a
layout block is not set, it is taken from the respective paper block.

Currently a "paper-book" where the typesetting is done only stores the
relevant paper block.  Consequently, any page-level/top-level markup
currently gets only the paper block as its "layout" parameter.

That is not accepted as layout block in a score markup.

Suggestions?

-- 
David Kastrup



reply via email to

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