\paper variables for two-sided mode

Default values (before scaling) are defined in ly/paper-defaults-init.ly.

two-sided

If set to #t, use inner-margin, outer-margin and binding-offset to determine margins depending on whether the page number is odd or even. This overrides left-margin and right-margin.

inner-margin

The margin all pages have at the inner side if they are part of a book. If the paper size is modified, this dimension’s default value is scaled accordingly. Works only with two-sided set to #t.

outer-margin

The margin all pages have at the outer side if they are part of a book. If the paper size is modified, this dimension’s default value is scaled accordingly. Works only with two-sided set to #t.

binding-offset

The amount inner-margin is increased to make sure nothing will be hidden by the binding. If the paper size is modified, this dimension’s default value is scaled accordingly. Works only with two-sided set to #t.

See also

Notation Reference: Automatic scaling to paper size.

Installed Files: ly/paper-defaults-init.ly.


LilyPond Notation Reference v2.25.21 (development-branch).