]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/slur-manual.ly
small fixes.
[lilypond.git] / input / test / slur-manual.ly
index 019cbafe4c40e739c3caaf96a499f61fea84b2d9..1d46c9c0ba9e673a713a2f69f4ce7a5ce7b1f2d2 100644 (file)
@@ -1,29 +1,43 @@
-\version "2.1.22"
+\version "2.2.0"
 \header {
 
 
-    texidoc = "In extreme cases, you can resort to setting slur
-    control-points manually. This involves a lot of trial and error,
-    though. Be sure to force line breaks at both sides, since
+    texidoc = "In extreme cases, you can resort to setting the 
+    @code{control-points} of a slur manually, althout it involves 
+    a lot of trial and error. Be sure to force line breaks at both sides, since
     different horizontal spacing will require rearrangement of the
     slur."
  
     }
 
+\score {
+    \notes \new PianoStaff
+    <<
+       \context Staff = up {
+           \clef bass
+           s1 * 4
+       } 
+       \context Staff = down \relative c <<
+           s1*4
+           {
+           \clef bass
+           r4 r8
+           \once\override Slur  #'extra-offset = #'(0 . -8)
+           \once\override Slur  #'control-points =
+           #'((0 . -4) (2 . 0) (60 . 0) (63 . 4))
+           c8( as' f c' as
+
+           % line breaks will mess up this example  
+           \noBreak
+           f c as' f
+           \change Staff = up
+           \clef treble
+           c' as f' c
+           \noBreak
+           as' f c' as
+           f' c as' f c'4)
+       }>>
+    >>
+    \paper { raggedright = ##t }
+}
 
-\score {\notes \new PianoStaff  <<
-    \context Staff = up { \clef bass s1 * 6 } 
-    \context Staff = down \relative c {
-       \clef bass
-       r4 r8
-       \once\override Slur  #'extra-offset = #'(0 . -8)
-       \once\override Slur  #'control-points =
-       #'((0 . -4) (2 . 0) (60 . 0) (63 . 4))
-                          c8( as' f c' as f c as' f
-                          \change Staff = up
-                          \clef treble
-                          c' as f' c as' f c' as
-                          f' c as' f c'4)
-                          }>>
-\paper { raggedright = ##t }
-    }