]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/dynamics-custom-text-spanner-postfix.ly
Doc: NR 989 - accidental-tie-overriden.ly
[lilypond.git] / Documentation / snippets / dynamics-custom-text-spanner-postfix.ly
index 418c26a7094490dc3b2e0ea10a2e06b6ce160687..6fcb5e091fd84e5a3c2c0db494b91b3cc3327608 100644 (file)
@@ -1,10 +1,22 @@
 % Do not edit this file; it is automatically
 % generated from Documentation/snippets/new
 % This file is in the public domain.
-%% Note: this file works from version 2.13.4
-\version "2.13.10"
+%% Note: this file works from version 2.13.8
+\version "2.13.20"
 
 \header {
+%% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
+
+  texidoces = "
+Funciones postfijas para la creación de objetos de extensión de texto
+personalizados.  Los objetos de extensión deben comenzar en la primera
+nota del compás.  Hay que utilizar -\mycresc, en caso contrario el
+comienzo del eobjeto de extensión se asignará a la nota siguiente.
+
+"
+
+  doctitlees = "Objeto personalizado de extensión de texto de matices dinámicos postfijo"
+
   lsrtags = "expressive-marks, tweaks-and-overrides"
   texidoc = "Postfix functions for custom crescendo text spanners.  The spanners
 should start on the first note of the measure.  One has to use -\mycresc,
@@ -16,12 +28,18 @@ otherwise the spanner start will rather be assigned to the next note.
 
 % Two functions for (de)crescendo spanners where you can explicitly give the
 % spanner text.
-mycresc = #(define-music-function (parser location mymarkup) (string?)
-  (make-music 'CrescendoEvent 'span-direction START
-              'span-type 'text 'span-text mymarkup))
-mydecresc = #(define-music-function (parser location mymarkup) (string?)
-  (make-music 'DecrescendoEvent 'span-direction START
-              'span-type 'text 'span-text mymarkup))
+mycresc =
+#(define-music-function (parser location mymarkup) (markup?)
+   (make-music 'CrescendoEvent
+               'span-direction START
+               'span-type 'text
+               'span-text mymarkup))
+mydecresc =
+#(define-music-function (parser location mymarkup) (markup?)
+   (make-music 'DecrescendoEvent
+               'span-direction START
+               'span-type 'text
+               'span-text mymarkup))
 
 \relative c' {
   c4-\mycresc "custom cresc" c4 c4 c4 |