Next: Text spanners, Up: Text
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.
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
In this manual: Text markup.
Program reference: TextScript.
Next: Text spanners, Up: Text
This page is for LilyPond-2.10.33 (stable-branch).