Jump to content

Combining dynamics with markup texts: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
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
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ù forte” or “piano subito”). These can be produced using a <code>\markup</code> block.


<lilypond version="2.24.0">
<lilypond version="2.24">
piuF = \markup { \italic più \dynamic f }
piuF = \markup { \italic più \dynamic f }



Revision as of 18:47, 16 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
}