1\version "2.19.21"
2
3\header {
4texidoc = "The \cresc, \dim and \decresc spanners are now postfix operators
5and produce one text spanner.  Defining custom spanners is also easy.
6Hairpin and text crescendi can be easily mixed. \< and \> produce
7hairpins by default, \cresc etc. produce text spanners by default."
8}
9
10% Some sample text dynamic spanners, to be used as postfix operators
11crpoco = #(make-music 'CrescendoEvent 'span-direction START
12                      'span-type 'text 'span-text "cresc. poco a poco")
13
14\relative {
15  c'4\cresc d4 e4 f4 |
16  g4 a4\! b4\crpoco c4 |
17  c4 d4 e4 f4 |
18  g4 a4\! b4\< c4 |
19  g4\dim a4 b4\decresc c4\!
20}
21