4 lsrtags = "expressive-marks, tweaks-and-overrides"
5 texidoc = "The \cresc, \dim and \decresc spanners can now be redefined as
6 postfix operators and produce one text spanner. Defining custom spanners is
7 also easy. Hairpin and text crescendi can be easily mixed. \< and \> produce
8 hairpins by default, \cresc etc. produce text spanners by default.
10 doctitle = "Dynamics text spanner postfix"
13 % Some sample text dynamic spanners, to be used as postfix operators
15 #(make-music 'CrescendoEvent
18 'span-text "cresc. poco a poco")
19 % Redefine the existing \cresc, \dim and \decresc commands to use postfix syntax
21 #(make-music 'CrescendoEvent
26 #(make-music 'DecrescendoEvent
31 #(make-music 'DecrescendoEvent
34 'span-text "decresc.")
38 g4 a4\! b4\crpoco c4 |
41 g4\dim a4 b4\decresc c4\!