Next: , Up: Paper and pages


11.1.1 Paper size

To change the paper size, there are two commands,

#(set-default-paper-size "a4")
\paper {
  #(set-paper-size "a4")
}

The first command sets the size of all pages. The second command sets the size of the pages that the \paper block applies to – if the \paper block is at the top of the file, then it will apply to all pages. If the \paper block is inside a \book, then the paper size will only apply to that book.

Support for the following paper sizes are included by default, a6, a5, a4, a3, legal, letter, 11x17 (also known as tabloid).

Extra sizes may be added by editing the definition for paper-alist in the initialization file scm/paper.scm.

If the symbol landscape is supplied as an argument to set-default-paper-size, the pages will be rotated by 90 degrees, and wider line widths will be set correspondingly.

#(set-default-paper-size "a6" 'landscape)

Setting the paper size will adjust a number of \paper variables (such as margins). To use a particular paper size with altered \paper variables, set the paper size before setting the variables.


Next: , Up: Paper and pages

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.