Next: Text spanners, Previous: Overview of text entry, Up: Writing text
It is possible to place arbitrary strings of text or Text markup with note-"
text"
.
INSERT EXAMPLE
More complex formatting may also be added to a note by using the
\markup
command, as described in Text markup.
c'4^\markup { bla \bold bla }
\textLengthOn
,
\textLengthOff
.
By default, these indications do not influence the note spacing.
However, by using the command \textLengthOn
, the widths
will be taken into account:
c4^"this does not affect spacing" \textLengthOn c4_"whereas this does" c4
After having used such a command, to go back to the default behavior
and prevent text from influencing spacing, use \textLengthOff
.
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
Notation Reference: Text markup.
Snippets: Text
Internals Reference: TextScript.
Next: Text spanners, Previous: Overview of text entry, Up: Writing text
This page is for LilyPond-2.11.40 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.