| [ << Spacing issues ] | [トップ][目次][インデックス][ ? ] | [ Changing defaults >> ] | ||
| [ < List of flexible vertical spacing \paper variables ] | [ 上へ : Page layout ] | [ \paper variables for widths and margins > ] | ||
4.1.5 Horizontal spacing \paper variables
Note: Some \paper dimensions are automatically
scaled to the paper size, which may lead to unexpected behavior.
See Automatic scaling to paper size.
\paper variables for widths and margins | ||
\paper variables for two-sided mode | ||
\paper variables for shifts and indents |
| [ << Spacing issues ] | [トップ][目次][インデックス][ ? ] | [ Changing defaults >> ] | ||
| [ < Horizontal spacing \paper variables ] | [ 上へ : Horizontal spacing \paper variables ] | [ \paper variables for two-sided mode > ] | ||
\paper variables for widths and margins
Default values (before scaling) that are not listed here are defined in ‘ly/paper-defaults-init.ly’.
-
paper-width -
The width of the page, unset by default. While
paper-widthhas no effect on the automatic scaling of some horizontal dimensions, it does influence theline-widthvariable. If bothpaper-widthandline-widthare set, thenleft-marginandright-marginwill also be updated. Also seecheck-consistency. -
line-width -
The horizontal extent of the staff lines in unindented, non-ragged systems, equal to
(paper-width - left-margin - right-margin)when unset. Ifline-widthis set, and bothleft-marginandright-marginare unset, then the margins will be updated to center the systems on the page automatically. Also seecheck-consistency. This variable can also be set in a\layoutblock. -
left-margin -
The margin between the left edge of the page and the start of the staff lines in unindented systems. If the paper size is modified, this dimension’s default value is scaled accordingly. If
left-marginis unset, and bothline-widthandright-marginare set, thenleft-marginis set to(paper-width - line-width - right-margin). If onlyline-widthis set, then both margins are set to((paper-width - line-width) / 2), and the systems are consequently centered on the page. Also seecheck-consistency. -
right-margin -
The margin between the right edge of the page and the end of the staff lines in non-ragged systems. If the paper size is modified, this dimension’s default value is scaled accordingly. If
right-marginis unset, and bothline-widthandleft-marginare set, thenright-marginis set to(paper-width - line-width - left-margin). If onlyline-widthis set, then both margins are set to((paper-width - line-width) / 2), and the systems are consequently centered on the page. Also seecheck-consistency. -
check-consistency -
If set to true, print a warning if
left-margin,line-width, andright-margindo not exactly add up topaper-width, and replace each of these (exceptpaper-width) with its default value (scaled to the paper size if necessary). If set to false, ignore any inconsistencies and allow systems to run off the edge of the page. -
ragged-right -
If set to true, systems will not fill the line width. Instead, systems end at their natural horizontal length. Default:
#tfor scores with only one system, and#ffor scores with two or more systems. This variable can also be set in a\layoutblock. -
ragged-last -
If set to true, the last system in the score will not fill the line width. Instead the last system ends at its natural horizontal length. Default:
#f. This variable can also be set in a\layoutblock.
参照
Notation Reference: Automatic scaling to paper size.
Installed Files: ‘ly/paper-defaults-init.ly’.
\paper variables for two-sided mode
Default values (before scaling) are defined in ‘ly/paper-defaults-init.ly’.
-
two-sided -
If set to true, use
inner-margin,outer-marginandbinding-offsetto determine margins depending on whether the page number is odd or even. This overridesleft-marginandright-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-sidedset to true. -
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-sidedset to true. -
binding-offset -
The amount
inner-marginis 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 withtwo-sidedset to true.
参照
Notation Reference: Automatic scaling to paper size.
Installed Files: ‘ly/paper-defaults-init.ly’.
| [ << Spacing issues ] | [トップ][目次][インデックス][ ? ] | [ Changing defaults >> ] | ||
| [ < \paper variables for two-sided mode ] | [ 上へ : Horizontal spacing \paper variables ] | [ Other \paper variables > ] | ||
\paper variables for shifts and indents
Default values (before scaling) that are not listed here are defined in ‘ly/paper-defaults-init.ly’.
-
horizontal-shift -
The amount that all systems (including titles and system separators) are shifted to the right. Default:
0.0\mm. -
indent -
The level of indentation for the first system in a score. If the paper size is modified, this dimension’s default value is scaled accordingly. This variable can also be set in a
\layoutblock. -
short-indent -
The level of indentation for all systems in a score besides the first system. If the paper size is modified, this dimension’s default value is scaled accordingly. This variable can also be set in a
\layoutblock.
参照
Notation Reference: Automatic scaling to paper size.
Installed Files: ‘ly/paper-defaults-init.ly’.
Snippets: Spacing.
| [ << Spacing issues ] | [トップ][目次][インデックス][ ? ] | [ Changing defaults >> ] | ||
| [ < \paper variables for two-sided mode ] | [ 上へ : Horizontal spacing \paper variables ] | [ Other \paper variables > ] | ||