3.1.93 SpacingSpanner

SpacingSpanner objects are created by: Spacing_engraver.

Standard settings:

springs-and-rods (boolean):

ly:spacing-spanner::set-springs

Dummy variable for triggering spacing routines.

common-shortest-duration (moment):

ly:spacing-spanner::calc-common-shortest-duration

The most common shortest note length. This is used in spacing. Enlarging this sets the score tighter.

average-spacing-wishes (boolean):

#t

If set, the spacing wishes are averaged over staves.

shortest-duration-space (dimension, in staff space):

2.0

Start with this much space for the shortest duration. This is expressed in spacing-increment as unit. See also spacing-spanner-interface.

spacing-increment (number):

1.2

Add this much space for a doubled duration. Typically, the width of a note head. See also spacing-spanner-interface.

base-shortest-duration (moment):

#<Mom 3/16>

Spacing is based on the shortest notes in a piece. Normally, pieces are spaced as if notes at least as short as this are present.

This object supports the following interface(s): spanner-interface, spacing-spanner-interface, spacing-options-interface and grob-interface.


Internals Reference