]> git.donarmstrong.com Git - lilypond.git/blob - input/test/slur-manual.ly
Merge branch 'origin' into master-hanwen
[lilypond.git] / input / test / slur-manual.ly
1 \version "2.10.0"
2 \header {
3
4
5     texidoc = "In extreme cases, you can resort to setting the 
6     @code{control-points} of a slur manually, althout it involves 
7     a lot of trial and error. Be sure to force line breaks at both sides, since
8     different horizontal spacing will require rearrangement of the
9     slur."
10  
11     }
12
13 \score {
14      \new PianoStaff
15     <<
16         \new Staff =  "up" {
17             \clef bass
18             s1 * 4
19         } 
20         \new Staff =  "down" \relative c <<
21             s1*4
22             {
23             \clef bass
24             r4 r8
25             \once\override Slur  #'extra-offset = #'(0 . 6)
26             \once\override Slur  #'control-points =
27             #'((0 . -4) (2 . 0) (60 . 0) (63 . 4))
28             c8( as' f c' as
29
30             % line breaks will mess up this example  
31             \noBreak
32             f c as' f
33             \change Staff = up
34             \clef treble
35             c' as f' c
36             \noBreak
37             as' f c' as
38             f' c as' f c'4)
39         }>>
40     >>
41     \layout {  }
42 }
43