Combining dynamics with markup texts: Difference between revisions

No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
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; the resulting object behaves like a <code>TextScript</code> grob.
 
See also [[Combining dynamics with markup texts (2)]].


<lilypond version="2.24">
<lilypond version="2.24">
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:Really simple]]
[[Category:Text]]
[[Category:Text]]
[[Category:Really simple]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Snippet]]