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