X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fspacing.itely;h=d8b2eb703121b56d7e9397ae001b89aa08ebf031;hb=0945e7219a3995158d76267d26f77f57659c8578;hp=6b1738e105f48f00dfc1d8f39ddd3582e7793bf2;hpb=74b336b3cab541e5f57c11c33ff52475eb655414;p=lilypond.git diff --git a/Documentation/notation/spacing.itely b/Documentation/notation/spacing.itely index 6b1738e105..d8b2eb7031 100644 --- a/Documentation/notation/spacing.itely +++ b/Documentation/notation/spacing.itely @@ -4,7 +4,8 @@ Translation of GIT committish: FILL-IN-HEAD-COMMITTISH When revising a translation, copy the HEAD committish of the - version that you are working on. See TRANSLATION for details. + version that you are working on. For details, see the Contributors' + Guide, node Updating translation committishes.. @end ignore @c \version "2.12.0" @@ -36,7 +37,7 @@ distance between staff lines accordingly." Actually I found, that the @internalsref{StaffSymbol} at line 481 -sends to an uncomplete +sends to an incomplete documentation. The property staff-space is not explained here. I thought Y-extent might be of help, but it is in turn explained by x-space which again is @@ -221,6 +222,13 @@ the application of @var{minimum-distance} (whereas the height of a staff is crucial for @var{padding}). @end itemize +For example, the default is: + +@example +after-title-spacing = #'((space . 2) (padding . 0.5)) +@end example + + If a page has a ragged bottom, @var{space} is not stretched. In particular, the resulting distance on such a page is the largest of @itemize @bullet @@ -553,7 +561,7 @@ increased by one. Default: @code{##f}. @ignore -FIXME: this variable is used, but I don't know what it does. -pm +TODO: this variable is used, but I don't know what it does. -pm @item blank-after-score-page-force @funindex blank-after-score-page-force @@ -599,13 +607,14 @@ may cause pages to be overfilled if it is made too large. This is currently supported only by the @code{ly:optimal-breaking} algorithm. Default: unset. -@item page-breaking-between-system-padding -@funindex page-breaking-between-system-padding +@item page-breaking-between-system-spacing +@funindex page-breaking-between-system-spacing Tricks the page breaker into thinking that -@code{between-system-padding} is set to something different than -it really is. For example, if this variable is set to something -substantially larger than @code{between-system-padding}, then the +@code{between-system-spacing} is set to something different than +it really is. For example, if +@code{page-breaking-between-system-spacing #'padding} is set to something +substantially larger than @code{between-system-spacing #'padding}, then the page-breaker will put fewer systems on each page. Default: unset. @item page-count @@ -703,7 +712,7 @@ default, for example #(set-default-paper-size "a6" 'landscape) \book { \score { - \relative { c1 \break c1 } + \relative c' { c1 \break c1 } } \paper { system-separator-markup = \slashSeparator @@ -727,6 +736,9 @@ Default: unset. @item two-sided @funindex two-sided +@cindex gutter +@cindex binding gutter + If set to true, use @code{inner-margin}, @code{outer-margin} and @code{binding-offset} to determine margins depending on whether the page number is odd or even. This overrides @code{left-margin} @@ -1078,7 +1090,7 @@ book parts. @} \paper @{ %% In a part consisting mostly of text, - %% ly:minimal-breaking may be prefered + %% ly:minimal-breaking may be preferred #(define page-breaking ly:minimal-breaking) @} \markup @{ @dots{} @} @@ -1614,14 +1626,14 @@ the variables to control spacing between systems are set in the variables are @var{between-system-spacing}, @var{between-scores-system-spacing}, @var{after-title-spacing}, @var{before-title-spacing}, @var{between-title-spacing}, -@var{top-system-spacing}, @var{top-system-spacing}, -@var{top-title-spacing} and @var{bottom-system-spacing}. Note that -these variables ignore non-staff lines. For example, -@var{between-system-spacing} controls the spacing from the middle staff -line of the bottom staff from one system to the middle staff line of the -top staff of the next system, whether or not there are lyrics below the -upper system. See @ref{Vertical dimensions} for a description of each -of these variables. +@var{top-system-spacing}, @var{top-title-spacing} and +@var{bottom-system-spacing}. Note that these variables ignore non-staff +lines. For example, @var{between-system-spacing} controls the spacing +from the middle staff line of the bottom staff from one system to +the middle staff line of the top staff of the next system, whether +or not there are lyrics below the upper system. +See @ref{Vertical dimensions} for a description of each of these +variables. There are two more @code{\paper} block variables that affect vertical spacing: if @var{ragged-bottom} is set to @code{##t} then no pages will @@ -2030,18 +2042,16 @@ c2 c4. c8 c4. c16[ c] c4. c8 c8 c8 c4 c4 c4 @end lilypond -In the introduction -FIXME FIXME FIXME -@c (see @rlearning{Engraving}), -it was explained that stem -directions influence spacing. This is controlled with the +In the @emph{Essay on automated music engraving}, it was explained +that stem directions influence spacing (see @ressay{Optical +spacing}). This is controlled with the @code{stem-spacing-correction} property in the @rinternals{NoteSpacing}, object. These are generated for every @rinternals{Voice} context. The @code{StaffSpacing} object -(generated in @rinternals{Staff} context) contains the same property -for controlling the stem/bar line spacing. The following example shows -these corrections, once with default settings, and once with -exaggerated corrections: +(generated in @rinternals{Staff} context) contains the same +property for controlling the stem/bar line spacing. The following +example shows these corrections, once with default settings, and +once with exaggerated corrections: @lilypond[quote,ragged-right] { @@ -2692,8 +2702,7 @@ there is no blank space at the bottom of the page. @example \paper @{ - between-system-padding = #0.1 - between-system-space = #0.1 + between-system-spacing = #'((padding . 0) (space . 0.1)) ragged-last-bottom = ##f ragged-bottom = ##f @}