Next: Text and line 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 and line spanners, Up: Text
This page is for LilyPond-2.11.28 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.