Node:spacing-spanner-interface, Next:, Previous:spacing-interface, Up:Graphical Object Interfaces



spacing-spanner-interface

The space taken by a note is dependent on its duration. Doubling a duration adds spacing-increment to the space. The most common shortest note gets shortest-duration-space. Notes that are even shorter are spaced proportonial to their duration.

Typically, the increment is the width of a black note head. In a piece with lots of 8th notes, and some 16th notes, the eighth note gets 2 note heads width (i.e. the space following a note is 1 note head width) A 16th note is followed by 0.5 note head width. The quarter note is followed by 3 NHW, the half by 4 NHW, etc.


base-shortest-duration (moment)
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.
common-shortest-duration (moment)
The most common shortest note length. This is used in spacing. Making this larger will make the score tighter.
grace-space-factor (number)
space grace at this fraction of the increment.
shortest-duration-space (dimension, in staff space)
Start with this much space for the shortest duration. This is explessed in spacing-increment as unit. See also spacing-spanner-interface.
spacing-increment (number)
Add this much space for a doubled duration. Typically, the width of a note head. See also spacing-spanner-interface.

This grob interface is used in the following graphical objects: SpacingSpanner


This page is for LilyPond-2.0.0 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.