]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/moving-slur-positions-vertically.ly
LSR: update from LSR.
[lilypond.git] / Documentation / snippets / moving-slur-positions-vertically.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.12.2"
8
9 \header {
10   lsrtags = "expressive-marks, tweaks-and-overrides"
11
12 %% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec
13   texidoces = "
14 Se puede ajustar la posición vertical de una ligadura de
15 expresiónutilizando la propiedad @code{positions} del objeto
16 @code{Slur}.  La propiedad tiene dos parámetros, refiriéndose el
17 primero al extremo izquierdo de la ligadura y el segundo al derecho.
18 Los valores de los parámetros no se utilizan por parte de LilyPond
19 para producir un desplazamiento exacto de la ligadura: más bien
20 selecciona la colocación que mejor aspecto tiene, teniendoo en cuenta
21 los valores de los parámetros.  Los valores positivos desplazan la
22 ligadura hacia arriba, y son adecuados a notas que tienen las plicas
23 hacia abajo.  Los valores negativos desplazan la ligadura hacia abajo.
24
25 "
26   doctitlees = "Desplazar ligaduras de expresión verticalmente"
27
28
29
30   texidoc = "
31 The vertical position of a slur can be adjusted using the
32 @code{positions} property of @code{Slur}.  The property has 2
33 parameters, the first referring to the left end of the slur and the
34 second to the right.  The values of the parameters are not used by
35 LilyPond to make an exact movement of the slur - instead it selects
36 what placement of the slur looks best, taking into account the
37 parameter values.  Positive values move the slur up, and are
38 appropriate for notes with stems down.  Negative values move downward
39 slurs further down.
40
41 "
42   doctitle = "Moving slur positions vertically"
43 } % begin verbatim
44
45 \relative c' {
46   \stemDown
47   e4( a)
48   \override Slur #'positions = #'(1 . 1)
49   e4( a)
50   \override Slur #'positions = #'(2 . 2)
51   e4( a)
52   \override Slur #'positions = #'(3 . 3)
53   e4( a)
54   \override Slur #'positions = #'(4 . 4)
55   e4( a)
56   \override Slur #'positions = #'(5 . 5)
57   e4( a)
58   \override Slur #'positions = #'(0 . 5)
59   e4( a)
60   \override Slur #'positions = #'(5 . 0)
61   e4( a)
62   \stemUp
63   \override Slur #'positions = #'(-5 . -5)
64   e4( a)
65   \stemDown
66   \revert Slur #'positions
67   e4( a)
68 }
69