]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/moving-slur-positions-vertically.ly
Docs: run convert-ly for 2.14.0.
[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.14.0"
8
9 \header {
10   lsrtags = "expressive-marks, tweaks-and-overrides"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
13   texidoces = "
14 Se puede ajustar la posición vertical de una ligadura de
15 expresión utilizando 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, teniendo 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 las ligaduras bajas aún
24 más hacia abajo.
25
26 "
27   doctitlees = "Desplazar ligaduras de expresión verticalmente"
28
29
30
31   texidoc = "
32 The vertical position of a slur can be adjusted using the
33 @code{positions} property of @code{Slur}.  The property has 2
34 parameters, the first referring to the left end of the slur and the
35 second to the right.  The values of the parameters are not used by
36 LilyPond to make an exact movement of the slur - instead it selects
37 what placement of the slur looks best, taking into account the
38 parameter values.  Positive values move the slur up, and are
39 appropriate for notes with stems down.  Negative values move downward
40 slurs further down.
41
42 "
43   doctitle = "Moving slur positions vertically"
44 } % begin verbatim
45
46 \relative c' {
47   \stemDown
48   e4( a)
49   \override Slur #'positions = #'(1 . 1)
50   e4( a)
51   \override Slur #'positions = #'(2 . 2)
52   e4( a)
53   \override Slur #'positions = #'(3 . 3)
54   e4( a)
55   \override Slur #'positions = #'(4 . 4)
56   e4( a)
57   \override Slur #'positions = #'(5 . 5)
58   e4( a)
59   \override Slur #'positions = #'(0 . 5)
60   e4( a)
61   \override Slur #'positions = #'(5 . 0)
62   e4( a)
63   \stemUp
64   \override Slur #'positions = #'(-5 . -5)
65   e4( a)
66   \stemDown
67   \revert Slur #'positions
68   e4( a)
69 }
70