Next: Advanced tweaks with Scheme, Previous: Default files, Up: Tweaking output
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.
\relative c' { e4 c g\f c \override DynamicLineSpanner #'padding = #-1.8 \override DynamicText #'extra-offset = #'( -2.1 . 0) e4 c g\f c }
SpacingSpanner
. See
Changing horizontal spacing for more details.
\score { \relative c'' { g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 | g4 e e2 | f4 d d2 | c4 e g g | c,1 | d4 d d d | d4 e f2 | e4 e e e | e4 f g2 | g4 e e2 | f4 d d2 | c4 e g g | c,1 | } \layout { \context { \Score \override SpacingSpanner #'base-shortest-duration = #(ly:make-moment 1 4) } } }
Next: Advanced tweaks with Scheme, Previous: Default files, Up: Tweaking output
This page is for LilyPond-2.10.33 (stable-branch).