From: Trevor Daniels Date: Wed, 21 Nov 2012 16:56:39 +0000 (+0000) Subject: Doc: add example left-aligning dynamic text (2943) X-Git-Tag: release/2.17.8-1~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8f3dfc850e8e16723c4d9d00c848b5393dc16330;p=lilypond.git Doc: add example left-aligning dynamic text (2943) --- diff --git a/Documentation/notation/expressive.itely b/Documentation/notation/expressive.itely index 1fb946b017..f327ad2c24 100644 --- a/Documentation/notation/expressive.itely +++ b/Documentation/notation/expressive.itely @@ -604,6 +604,20 @@ moltoF = #(make-dynamic-script } @end lilypond +To left-align the dynamic text rather than centering it on a note +use a @code{\tweak}: + +@lilypond[verbatim,quote] +moltoF = \tweak DynamicText.self-alignment-X #LEFT + #(make-dynamic-script + (markup #:normal-text "molto" + #:dynamic "f")) +\relative c' { + 16 + 2..\moltoF 1 +} +@end lilypond + Font settings in markup mode are described in @ref{Selecting font and font size}.