3.2.152 text-interface

A Scheme markup text, see Formatting text and New markup command definition.

There are two important commands: ly:text-interface::print, which is a grob callback, and ly:text-interface::interpret-markup.

User-settable properties:

baseline-skip (dimension, in staff space)

Distance between base lines of multiple lines of text.

flag-style (symbol)

The style of flags to be displayed within markups (via \note-by-number). Available are 'modern-straight-flag, 'old-straight-flag, 'flat-flag, 'mensural, 'stacked, and 'default.

replacement-alist (association list (list of pairs))

Alist of strings. The key is a string of the pattern to be replaced. The value is a string of what should be displayed. Useful for ligatures.

text (markup)

Text markup. See Formatting text.

text-direction (direction)

This controls the ordering of the words. The default RIGHT is for roman text. Arabic or Hebrew should use LEFT.

word-space (dimension, in staff space)

Space to insert between words in texts.

This grob interface is used in the following graphical object(s): BalloonText, BarNumber, BassFigure, BendSpanner, BreathingSign, CenteredBarNumber, ChordName, ClefModifier, CodaMark, CombineTextScript, ControlPoint, ControlPolygon, Divisio, DoublePercentRepeatCounter, DynamicText, DynamicTextSpanner, Fingering, Footnote, GridChordName, HorizontalBracketText, InstrumentName, InstrumentSwitch, JumpScript, LyricRepeatCount, LyricText, MeasureCounter, MeasureSpanner, MetronomeMark, MultiMeasureRestNumber, MultiMeasureRestText, NoteName, OttavaBracket, PercentRepeatCounter, RehearsalMark, SectionLabel, SegnoMark, SostenutoPedal, StaffEllipsis, StanzaNumber, StringNumber, StrokeFinger, SustainPedal, TabNoteHead, TextMark, TextScript, TupletNumber, UnaCordaPedal and VoltaBracket.


LilyPond Internals Reference v2.25.22 (development-branch).