4 texidoc
= "The \cresc, \dim and \decresc spanners are now postfix operators
5 and produce one text spanner. Defining custom spanners is also easy.
6 Hairpin and text crescendi can be easily mixed. \< and \> produce
7 hairpins by default, \cresc etc. produce text spanners by default."
10 % Some sample text dynamic spanners, to be used as postfix operators
11 crpoco
= #(make-music
'CrescendoEvent
'span-direction START
12 'span-type
'text
'span-text
"cresc. poco a poco")
16 g4 a4\! b4\crpoco c4 |
19 g4\dim a4 b4\decresc c4\!