3.1.84 Rest

Rest objects are created by: Rest_engraver.

Standard settings:

stencil (unknown):

ly:rest::print

The symbol to print.

duration-log (integer):

stem::calc-duration-log

The 2-log of the note head duration, i.e., 0 = whole note, 1 = half note, etc.

X-extent (pair of numbers):

ly:rest::width

Hard coded extent in X direction.

Y-extent (pair of numbers):

ly:rest::height

Hard coded extent in Y direction.

Y-offset (number):

ly:rest::y-offset-callback

The vertical amount that this object is moved relative to its Y-parent.

minimum-distance (dimension, in staff space):

0.25

Minimum distance between rest and notes or beam.

This object supports the following interface(s): staff-symbol-referencer-interface, rhythmic-head-interface, rhythmic-grob-interface, rest-interface, item-interface, font-interface and grob-interface.


Internals Reference