From 8f3dfc850e8e16723c4d9d00c848b5393dc16330 Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Wed, 21 Nov 2012 16:56:39 +0000 Subject: [PATCH] Doc: add example left-aligning dynamic text (2943) --- Documentation/notation/expressive.itely | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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}. -- 2.39.2