3.1.58 LyricText

LyricText objects are created by: Lyric_engraver.

Standard settings:

stencil (unknown):


The symbol to print.

text (markup):

#<procedure #f (grob)>

Text markup. See Formatting text.

X-offset (number):


The horizontal amount that this object is moved relative to its X-parent.

self-alignment-X (number):


Specify alignment of an object. The value -1 means left aligned, 0 centered, and 1 right-aligned in X direction. Other numerical values may also be specified.

word-space (dimension, in staff space):


Space to insert between words in texts.

font-series (symbol):


Select the series of a font. Choices include medium, bold, bold-narrow, etc.

font-size (number):


The font size, compared to the ‘normal’ size. 0 is style-sheet’s normal size, -1 is smaller, +1 is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. Fractional values are allowed.

extra-spacing-width (pair of numbers):

'(0.0 . 0.0)

In the horizontal spacing problem, we pad each item by this amount (by adding the ‘car’ on the left side of the item and adding the ‘cdr’ on the right side of the item). In order to make a grob take up no horizontal space at all, set this to (+inf.0 . -inf.0).

This object supports the following interface(s): text-interface, self-alignment-interface, rhythmic-grob-interface, lyric-syllable-interface, item-interface, font-interface and grob-interface.

Internals Reference