Next: , Previous: Fingering instructions, Up: Expressive marks



3.7.9 Text scripts

It is possible to place arbitrary strings of text or markup text (see Text markup) above or below notes by using a string c^"text". By default, these indications do not influence the note spacing, but by using the command \fatText, the widths will be taken into account

     \relative c' {
       c4^"longtext" \fatText c4_"longlongtext" c4
     }

[image of music]

It is possible to use TeX commands in the strings, but this should be avoided because the exact dimensions of the string can then no longer be computed.

Predefined commands

\fatText, \emptyText.

See also

In this manual: Text markup.

Program reference: TextScriptEvent, TextScript.

Read comments on this page, or add one.

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

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