Next: , 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

[image of music]

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 }

[image of music]

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.


Next: , Up: Text

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

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.