]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/dynamics-custom-text-spanner-postfix.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / dynamics-custom-text-spanner-postfix.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.13.36
8 \version "2.14.0"
9
10 \header {
11 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
12
13   texidoces = "
14 Funciones postfijas para la creación de objetos de extensión de texto
15 personalizados.  Los objetos de extensión deben comenzar en la primera
16 nota del compás.  Hay que utilizar -\mycresc, en caso contrario el
17 comienzo del eobjeto de extensión se asignará a la nota siguiente.
18
19 "
20
21   doctitlees = "Objeto personalizado de extensión de texto de matices dinámicos postfijo"
22
23 %%   Translation of GIT committish: ab9e3136d78bfaf15cc6d77ed1975d252c3fe506
24
25
26   texidocde = "Die Nachstellung funktioniert für eigene Crescendo-Textstrecker.
27 Die Strecker sollten an der ersten Note eines Taktes beginnen.  Man muss
28 -\mycresc benutzen, sonst wird der Beginn des Streckers der nächsten Note
29 zugewiesen.
30
31 "
32   doctitlede = "Eigene Dynamiktextspanner nachgestellt"
33
34
35 %% Translation of GIT committish: a06cb0b0d9593ba110e001f2b0f44b8bef084693
36
37   texidocfr = "
38 Il s'agit de fonctions postfix pour personnaliser l'extension des
39 crescendos textuels.  L'extension devrait débuter sur la première notte
40 de la mesure.  Il faut utiliser @code{-\mycresc} -- comme une
41 articulation -- sous peine que le départ de l'extension n'apparaisse
42 qu'à la note suivante.
43 "
44
45   doctitlefr = "Personnalisation des extenseurs de nuance postfix"
46
47
48   lsrtags = "expressive-marks, tweaks-and-overrides"
49   texidoc = "Postfix functions for custom crescendo text spanners.  The spanners
50 should start on the first note of the measure.  One has to use -\mycresc,
51 otherwise the spanner start will rather be assigned to the next note.
52 "
53   doctitle = "Dynamics custom text spanner postfix"
54 } % begin verbatim
55
56
57 % Two functions for (de)crescendo spanners where you can explicitly give the
58 % spanner text.
59 mycresc =
60 #(define-music-function (parser location mymarkup) (markup?)
61    (make-music 'CrescendoEvent
62                'span-direction START
63                'span-type 'text
64                'span-text mymarkup))
65 mydecresc =
66 #(define-music-function (parser location mymarkup) (markup?)
67    (make-music 'DecrescendoEvent
68                'span-direction START
69                'span-type 'text
70                'span-text mymarkup))
71
72 \relative c' {
73   c4-\mycresc "custom cresc" c4 c4 c4 |
74   c4 c4 c4 c4 |
75   c4-\mydecresc "custom decresc" c4 c4 c4 |
76   c4 c4\! c4 c4
77 }
78
79
80