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