Jump to content

Combining dynamics with markup texts: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
No edit summary
Line 15: Line 15:
[[Category:Text]]
[[Category:Text]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]][[Category:Snippet]]

Revision as of 22:50, 21 November 2025

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

\version "2.24"

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

\layout { ragged-right = ##f }

\relative c'' {
  c2\f c-\piuF
}