Previous: Font selection, Up: Text


8.1.8 New dynamic marks

It is possible to print new dynamic marks or text that should be aligned with dynamics. Use make-dynamic-script to create these marks. Note that the dynamic font only contains the characters f,m,p,r,s and z.

Some situations (such as dynamic marks) have preset font-related properties. If you are creating text in such situations, it is advisable to cancel those properties with normal-text. See Overview of text markup commands for more details.

     
     sfzp = #(make-dynamic-script "sfzp")
     \relative c' {
       c4 c c\sfzp c
     }

[image of music]

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 }

[image of music]



Previous: Font selection, Up: Text

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.