1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "expressive-marks, text"
9 Although the easiest way to add parentheses to a dynamic mark is to use
10 a @code{\\markup} block, this method has a downside: the created
11 objects will behave like text markups, and not like dynamics.
13 However, it is possible to create a similar object using the equivalent
14 Scheme code (as described in \"Markup programmer interface\"), combined
15 with the @code{make-dynamic-script} function. This way, the markup will
16 be regarded as a dynamic, and therefore will remain compatible with
17 commands such as @code{\\dynamicUp} or @code{\\dynamicDown}.
22 doctitle = "Creating \"real\" parenthesized dynamics"
24 \paper { ragged-right = ##t }
26 parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic
27 #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text
28 #:italic #:fontsize 2 ")"
31 c4\parenF c c \dynamicUp c\parenF