Previous: Page breaks, Up: Page layout MOVED FROM LM
Sometimes you can end up with one or two staves on a second (or third, or fourth...) page. This is annoying, especially if you look at previous pages and it looks like there is plenty of room left on those.
When investigating layout issues, annotate-spacing
is
an invaluable tool. This command prints the values of various
layout spacing commands; see Displaying spacing, for more
details. From the output of annotate-spacing
, we can
see which margins we may wish to alter.
Other than margins, there are a few other options to save space:
\paper { between-system-padding = #0.1 between-system-space = #0.1 ragged-last-bottom = ##f ragged-bottom = ##f }
\paper { system-count = #10 }
Another example is moving dynamics which ‘stick out’ of a system, as in the second bar here:
e4 c g\f c \override DynamicText #'extra-offset = #'( -2.2 . 2.0) e4 c g\f c
SpacingSpanner
. See
Changing horizontal spacing, for more details. Here's
an example first showing the default behaviour:
\score { \relative c'' { g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 | g4 e e2 | } }
and now with common-shortest-duration
increased from the
value of 1/4
(a quarter note is the most common in this
example) to 1/2
:
\score { \relative c'' { g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 | g4 e e2 | } \layout { \context { \Score \override SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 2) } } }
Note that this override cannot be modified dynamically, so it must
always be placed in a \context{..}
block so that it applies
to the whole score.
TODO Add description of using \context in this way earlier if it is not already anywhere -td
Previous: Page breaks, Up: Page layout MOVED FROM LM
Esta pƔgina corresponde a LilyPond-2.11.40 (rama de desarrollo).
Informe de los fallos a http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Se agradecen las sugerencias para la documentación.