Jump to content

Combining dynamics with markup texts

From LilyPond wiki
Revision as of 07:45, 28 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Some dynamics may involve text indications (such as “più f” or “p subito”). These can be produced using a \markup block; the resulting object behaves like a TextScript grob.

See also Combining dynamics with markup texts (2).

\version "2.24"

piuF = \markup { \italic più \dynamic f }

\markup \with-true-dimensions % work around a cropping issue
\score {
  \relative c'' {
    c2\f c-\piuF
  }
}