]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/chord-glissando-in-tablature.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / new / chord-glissando-in-tablature.ly
diff --git a/Documentation/snippets/new/chord-glissando-in-tablature.ly b/Documentation/snippets/new/chord-glissando-in-tablature.ly
new file mode 100644 (file)
index 0000000..ff329e0
--- /dev/null
@@ -0,0 +1,29 @@
+\version "2.14.0"
+
+\header {
+  lsrtags = "fretted-strings"
+  texidoc = "
+Slides for chords can be indicated in both Staff and TabStaff.
+String numbers are necessary for TabStaff because automatic
+string calculations are different for chords and for single notes,
+and @code{\chordGlissando} draws lines between single notes.
+"
+  doctitle = "Chord glissando in tablature"
+}
+
+myMusic = \relative c' {
+  \chordGlissando
+  <c\3 e\2 g\1>8 <f\3 a\2 c\1>
+}
+
+\score {
+  <<
+    \new Staff {
+      \clef "treble_8"
+      \myMusic
+    }
+    \new TabStaff {
+      \myMusic
+    }
+  >>
+}