]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/slur-multiple.ly
Merge branch 'master' of git://git.savannah.gnu.org/lilypond.git
[lilypond.git] / input / regression / slur-multiple.ly
1 \version "2.15.5"
2
3 #(ly:set-option 'warning-as-error #f)
4
5 \header {
6   texidoc = "LilyPond does not support multiple concurrent slurs with the 
7 parentheses syntax.  In this case, warnings will be given and the nested
8 slur will not be generated.  However, one can can create a second slur with
9 a different spanner-id."
10 }
11
12 altSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "alt")
13 altSlurEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "alt")
14
15 \relative c'' { 
16   % This will give warnings ("Already have slur" and "Cannot end slur")
17   c4(( d4)( e4) f) |
18   % This will give two overlapping slurs:
19   d(  d\altSlur e) f\altSlurEnd |
20   
21 }