1%% DO NOT EDIT this file manually; it is automatically 2%% generated from LSR http://lsr.di.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.23.2" 8 9\header { 10 lsrtags = "expressive-marks, tweaks-and-overrides" 11 12 texidoc = " 13The vertical position of a slur can be adjusted using the 14@code{positions} property of @code{Slur}. The property has 2 15parameters, the first referring to the left end of the slur and the 16second to the right. The values of the parameters are not used by 17LilyPond to make an exact movement of the slur - instead it selects 18what placement of the slur looks best, taking into account the 19parameter values. Positive values move the slur up, and are 20appropriate for notes with stems down. Negative values move downward 21slurs further down. 22 23" 24 doctitle = "Moving slur positions vertically" 25} % begin verbatim 26 27\relative c' { 28 \stemDown 29 e4( a) 30 \override Slur.positions = #'(1 . 1) 31 e4( a) 32 \override Slur.positions = #'(2 . 2) 33 e4( a) 34 \override Slur.positions = #'(3 . 3) 35 e4( a) 36 \override Slur.positions = #'(4 . 4) 37 e4( a) 38 \override Slur.positions = #'(5 . 5) 39 e4( a) 40 \override Slur.positions = #'(0 . 5) 41 e4( a) 42 \override Slur.positions = #'(5 . 0) 43 e4( a) 44 \stemUp 45 \override Slur.positions = #'(-5 . -5) 46 e4( a) 47 \stemDown 48 \revert Slur.positions 49 e4( a) 50} 51