Moving slur positions vertically: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The vertical position of a slur can be adjusted using the <code>positions</code> property of <code>Slur</code>. The property has 2 parameters, the first referring to the left end of the slur and the 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 downward slurs further down.
The vertical position of a slur can be adjusted using the <code>positions</code> property of <code>Slur</code>. The property has 2&nbsp;parameters, the first referring to the left end of the slur and the 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 downward slurs further down.


<lilypond version="2.24.0">
See also snippet [[Adjusting slur positions vertically]].
 
<lilypond version="2.24">
\relative c' {
\relative c' {
   \stemDown
   \stemDown
Line 28: Line 30:
</lilypond>
</lilypond>


[[Category:Included in the official documentation]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]