Jump to content

Combining dynamics with markup texts: Difference between revisions

From LilyPond wiki
m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
Line 4: Line 4:
piuF = \markup { \italic più \dynamic f }
piuF = \markup { \italic più \dynamic f }


\layout { ragged-right = ##f }
\markup \with-true-dimensions % work around a cropping issue
 
\score {
\relative c'' {
  \relative c'' {
  c2\f c-\piuF
    c2\f c-\piuF
  }
}
}
</lilypond>
</lilypond>


[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Text]]
[[Category:Text]]

Revision as of 13:40, 3 December 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 }

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