]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/moving-slur-positions-vertically.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / moving-slur-positions-vertically.ly
index 8a50faa25e920dc5bf0262bc958ba9c45f5dad91..efee38d8904bac0a5973ba941e5e8410b1391171 100644 (file)
@@ -1,29 +1,14 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.20"
+\version "2.18.0"
 
 \header {
   lsrtags = "expressive-marks, tweaks-and-overrides"
 
-%% Translation of GIT committish: e0aa246e0ed1a86dc41a99ab79bff822d3320aa7
-  texidoces = "
-Se puede ajustar la posición vertical de una ligadura de
-expresiónutilizando la propiedad @code{positions} del objeto
-@code{Slur}.  La propiedad tiene dos parámetros, refiriéndose el
-primero al extremo izquierdo de la ligadura y el segundo al derecho.
-Los valores de los parámetros no se utilizan por parte de LilyPond
-para producir un desplazamiento exacto de la ligadura: más bien
-selecciona la colocación que mejor aspecto tiene, teniendoo en cuenta
-los valores de los parámetros.  Los valores positivos desplazan la
-ligadura hacia arriba, y son adecuados a notas que tienen las plicas
-hacia abajo.  Los valores negativos desplazan la ligadura hacia abajo.
-
-"
-  doctitlees = "Desplazar ligaduras de expresión verticalmente"
-
-
-
   texidoc = "
 The vertical position of a slur can be adjusted using the
 @code{positions} property of @code{Slur}.  The property has 2
@@ -32,8 +17,8 @@ second to the right.  The values of the parameters are not used by
 LilyPond to make an exact movement of the slur - instead it selects
 what placement of the slur looks best, taking into account the
 parameter values.  Positive values move the slur up, and are
-appropriate for notes with stems down.  Negative values move the slur
-down.
+appropriate for notes with stems down.  Negative values move downward
+slurs further down.
 
 "
   doctitle = "Moving slur positions vertically"
@@ -42,19 +27,24 @@ down.
 \relative c' {
   \stemDown
   e4( a)
-  \override Slur #'positions = #'(1 . 1)
+  \override Slur.positions = #'(1 . 1)
   e4( a)
-  \override Slur #'positions = #'(2 . 2)
+  \override Slur.positions = #'(2 . 2)
   e4( a)
-  \override Slur #'positions = #'(3 . 3)
+  \override Slur.positions = #'(3 . 3)
   e4( a)
-  \override Slur #'positions = #'(4 . 4)
+  \override Slur.positions = #'(4 . 4)
   e4( a)
-  \override Slur #'positions = #'(5 . 5)
+  \override Slur.positions = #'(5 . 5)
   e4( a)
-  \override Slur #'positions = #'(0 . 5)
+  \override Slur.positions = #'(0 . 5)
   e4( a)
-  \override Slur #'positions = #'(5 . 0)
+  \override Slur.positions = #'(5 . 0)
+  e4( a)
+  \stemUp
+  \override Slur.positions = #'(-5 . -5)
+  e4( a)
+  \stemDown
+  \revert Slur.positions
   e4( a)
 }
-