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