]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly
Imported Upstream version 2.18.2
[lilypond.git] / Documentation / snippets / new / hammer-on-and-pull-off-using-chords.ly
diff --git a/Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly b/Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly
new file mode 100644 (file)
index 0000000..980707d
--- /dev/null
@@ -0,0 +1,21 @@
+\version "2.16.0"
+
+\header {
+  lsrtags = "editorial-annotations, fretted-strings"
+
+  texidoc = "
+When using hammer-on or pull-off with chorded notes, only a single arc
+is drawn. However @q{double arcs} are possible by setting the
+@code{doubleSlurs} property to @code{#t}.
+
+"
+  doctitle = "Hammer on and pull off using chords"
+}
+
+\new TabStaff {
+  \relative c' {
+    % chord hammer-on and pull-off
+    \set doubleSlurs = ##t
+    <g' b>8( <a c> <g b>)
+  }
+}