]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly
Web: a more greenish 'squiggle'
[lilypond.git] / Documentation / snippets / horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly
index 6d8b7036cc758fa02145d3955d3e5d15bc81258a..8d983c2c9fa0426049104bf2b03e2197f282e639 100644 (file)
@@ -7,11 +7,11 @@
   lsrtags = "expressive-marks, tweaks-and-overrides"
 
   texidoc = "
-Some dynamic expressions involve additional text, like \"sempre pp\".
-Since lilypond aligns all dynamics centered on the note, the \\pp would
-be displayed way after the note it applies to.
+Some dynamic expressions involve additional text, like @qq{sempre pp}.
+Since dynamics are usually centered under the note, the \\pp would be
+displayed way after the note it applies to.
 
-To correctly align the \"sempre \\pp\" horizontally, so that it is
+To correctly align the @qq{sempre pp} horizontally, so that it is
 aligned as if it were only the \\pp, there are several approaches:
 
 * Simply use @code{\\once\\override DynamicText #'X-offset = #-9.2}
@@ -27,9 +27,9 @@ or dynamics to be shown in that position.
 Drawback: @code{\\once\\override} is needed for every invocation!
 
 * Set the dimensions of the additional text to 0 (using
-@code{#:with-dimensions '(0 . 0) '(0 . 0)}). Drawback: To lilypond
-\"sempre\" has no extent, so it might put other stuff there and create
-collisions (which are not detected by the collision dection!). Also,
+@code{#:with-dimensions '(0 . 0) '(0 . 0)}). Drawback: To LilyPond
+@qq{sempre} has no extent, so it might put other stuff there and create
+collisions (which are not detected by the collision detection!). Also,
 there seems to be some spacing, so it's not exactly the same alignment
 as without the additional text
 
@@ -46,7 +46,7 @@ not at the center of pp.
 
 
 "
-  doctitle = "Horizontally aligning custom dynamics (e.g. \"sempre pp\", \"piu f\", \"subito p\")"
+  doctitle = "Horizontally aligning custom dynamics (e.g. \"sempre pp\" \"piu f\" \"subito p\")"
 } % begin verbatim
 
 \header { title = "Horizontally aligning custom dynamics" }
@@ -100,7 +100,7 @@ semppG =
 % Drawback: One needs to set DynamicText #'X-offset!
 % Drawback: Aligned at the right edge of the additional text, not at the center of pp
 semppMII =
-#(make-dynamic-script (markup #:line(#:right-align
+#(make-dynamic-script (markup #:line(#:right-align 
   #:normal-text #:italic "sempre" #:dynamic "pp")))
 
 \context StaffGroup <<