Previous: Displaying spacing, Up: Fitting music onto fewer pages
The output of annotate-spacing
reveals vertical dimensions
in great detail. For details about modifying margins and other
layout variables, see Page formatting.
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 }
e4 c g\f c \override DynamicText #'extra-offset = #'( -2.2 . 2.0) e4 c g\f c
SpacingSpanner
. For more
details, see Changing horizontal spacing. The following
example illustrates the default spacing:
\score { \relative c'' { g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 | g4 e e2 | } }
The next example modifies common-shortest-duration
from a
value of 1/4
to 1/2
. The quarter note is the most
common and shortest duration in this example, so by making this
duration longer, a ‘squeezing’ effect occurs:
\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) } } }
The common-shortest-duration
property cannot be modified
dynamically, so it must always be placed in a \context
block so that it applies to the whole score.
Notation Reference: Page formatting, Changing horizontal spacing.
Esta página corresponde a LilyPond-2.11.58 (rama de desarrollo).
Informe de los fallos a través de la lista en español lilypond-es, o en inglés a través de http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Se agradecen las sugerencias para la documentación.