Text scripts - GNU LilyPond
Description: GNU LilyPond

Next: Text spanners, Up: Text

#### 8.1.1 Text scripts

It is possible to place arbitrary strings of text or 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

>          c4^"longtext" \fatText c4_"longlongtext" c4

To prevent text from influencing spacing, use `\emptyText`.

More complex formatting may also be added to a note by using the markup command,

>          c'4^\markup { bla \bold bla }

The `\markup` is described in more detail in Text markup.

##### Predefined commands

`\fatText`, `\emptyText`.

##### Commonly tweaked properties

Checking to make sure that text scripts and lyrics are within the margins is a relatively large computational task. To speed up processing, lilypond does not perform such calculations by default; to enable it, use

    \override Score.PaperColumn #'keep-inside-line = ##t

##### See also

In this manual: Text markup.

Program reference: TextScript.

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

Other languages: English.
Using automatic language selection.