]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/slur-attachment-override.ly
*** empty log message ***
[lilypond.git] / input / test / slur-attachment-override.ly
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..beb8b492b0a45f13aa73c5628627455d9959cf7f 100644 (file)
@@ -0,0 +1,29 @@
+
+\version "2.2.0"
+
+\header{
+texidoc="@cindex Slur Attachment Override
+In some cases, you may want to control the attachment points of a slur 
+by hand. "
+}
+
+
+%%
+%% except that both slurs are stem <<-> stem.
+%%
+
+fragment = \notes {
+  \set autoBeaming = ##f
+  \override Stem  #'direction = #1
+  \override Slur  #'direction = #1
+  d'32( f'4  d8..)
+  \override Slur  #'attachment = #'(stem . stem)
+  d,32( f'4  d8.)
+}
+
+
+\score {
+       \notes\relative c \fragment
+       \paper { raggedright = ##t} 
+}
+