]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/slur-attachment.ly
patch::: 1.3.116.jcn3
[lilypond.git] / input / test / slur-attachment.ly
index 4f7e8d4991cd1b162c5cee2084ee1a4997401cde..7a00de868724adc2d343f0e908141ac8b57bb771 100644 (file)
@@ -1,17 +1,19 @@
+\header{
+texidoc="
+Slurs should be attached to note heads, except when they would collide
+with beams.  Also see: ophee-slurs.
+";
+}
 \score{
        \notes \relative c''{
-               % URG, make stem length match beam!
-               \property Voice.stemLength = #5
-
-               \property Voice.slurVerticalDirection = #1
-               \property Voice.slurEndAttachment = #'stem
-               a8(a)a4
-               \property Voice.slurEndAttachment = ##f
-               \property Voice.slurBeginAttachment = #'stem
-               a4(a8)a
+               \property Voice.Slur \set #'direction = #1
+               a8( a )a4
+               a4( a8 )a
+               a8 a()a4
+               a4() a8 a
        }
-       \paper{
+       \paper{ 
                indent = 0.0;
-               linewidth = 60.0\mm;
+               linewidth = 100.\mm;
        }
 }