Jump to content

Using arbitrary markup as lyric hyphen

From LilyPond wiki
Revision as of 10:19, 6 December 2025 by Lemzwerg (talk | contribs) (Remove outdated comments)

Lyric hyphens have several user-modifiable properties such as length and thickness; this doesn’t allow, however, for further tweaking, for example, rendering hyphens as rounded boxes to better match the font possibly used for LyricText, or even printing hyphens as actual glyphs rather than drawing basic boxes.

This snippet rewrites the LyricHyphen stencil procedure to use a proper glyph – or indeed any arbitrary markup.

LilyPond rendering error

No release of LilyPond 2.24 found.