It is possible to print new dynamic marks or text that should be aligned
with dynamics. Use make-dynamic-script
to create these marks.
sfzp = #(make-dynamic-script "sfzp") \relative c' { c4 c c\sfzp c }
It is also possible to print dynamics in round parenthesis or square brackets. These are often used for adding editorial dynamics.
rndf = \markup{ \center-align {\line { \bold{\italic (} \dynamic f \bold{\italic )} }} } boxf = \markup{ \bracket { \dynamic f } } { c'1_\rndf c'1_\boxf }
This page is for LilyPond-2.6.3 (stable-branch).