3 #(ly:set-option 'warning-as-error #f)
4 #(ly:expect-warning (_ "already have slur"))
5 #(ly:expect-warning (_ "cannot end slur"))
8 texidoc = "LilyPond does not support multiple concurrent slurs with the
9 parentheses syntax. In this case, warnings will be given and the nested
10 slur will not be generated. However, one can can create a second slur with
11 a different spanner-id."
14 altSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "alt")
15 altSlurEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "alt")
18 % This will give warnings ("Already have slur" and "Cannot end slur")
20 % This will give two overlapping slurs:
21 d( d\altSlur e) f\altSlurEnd |