]> git.donarmstrong.com Git - lilypond.git/blob - input/test/slur-attachment-override.ly
fb6684ab98a01fae996a630d39f04778ccd2d27b
[lilypond.git] / input / test / slur-attachment-override.ly
1
2 \version "2.1.26"
3
4 \header{
5 texidoc="@cindex Slur Attachment Override
6 In some cases, you may want to control the attachment points of a slur 
7 by hand. "
8 }
9
10
11 %%
12 %% except that both slurs are stem <<-> stem.
13 %%
14
15 fragment = \notes {
16   \set autoBeaming = ##f
17   \override Stem  #'direction = #1
18   \override Slur  #'direction = #1
19   d'32( f'4  d8..)
20   \override Slur  #'attachment = #'(stem . stem)
21   d,32( f'4  d8.)
22 }
23
24
25 \score {
26         \notes\relative c \fragment
27         \paper { raggedright = ##t} 
28 }
29