Jump to content

Combining dynamics with markup texts: Difference between revisions

From LilyPond wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
Some dynamics may involve text indications (such as “più forte” or “piano subito”). These can be produced using a <code>\markup</code> block.
Some dynamics may involve text indications (such as “più ''f''” or “''p'' subito”). These can be produced using a <code>\markup</code> block.


<lilypond version="2.24">
<lilypond version="2.24">

Revision as of 07:35, 28 December 2025

Some dynamics may involve text indications (such as “più f” or “p subito”). These can be produced using a \markup block.

\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
  }
}