3.1.5 Adding text

Text may be added to your scores:

\relative { c''2^"espr" a_"legato" }

[image of music]

Extra formatting may be added with the \markup command:1

\relative {
  c''2^\markup { \bold espr }
  a2_\markup {
    \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p }
}

[image of music]

See also

Notation Reference: Writing text.


Footnotes

(1)

Users of right-to-left scripts like Hebrew or Arabic should replace \markup { ... } with \markup \override #'(text-direction . LEFT) \line { ... }. Within double quotes, however, this is not necessary since LilyPond can automatically recognize the writing direction.

LilyPond Learning Manual v2.25.22 (development-branch).