]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tablature-chord-repetition-finger.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / tablature-chord-repetition-finger.ly
diff --git a/input/regression/tablature-chord-repetition-finger.ly b/input/regression/tablature-chord-repetition-finger.ly
new file mode 100644 (file)
index 0000000..27b68db
--- /dev/null
@@ -0,0 +1,28 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "In a TabStaff, the chord repetition function needs
+to retain string and fingering information.  Using
+@code{\\tabChordRepeats} achieves that, in contrast to the music
+on the main staff."
+}
+
+Guitar = \relative c' {
+  r8 < gis-6 cis-6 b-0 > ~ q4 q8 ~ q q4
+}
+
+\score {
+  \new StaffGroup <<
+    \new Staff {
+      \new Voice {
+        \clef "treble_8"
+        \Guitar
+      }
+    }
+    \new TabStaff {
+      \new TabVoice {
+        \tabChordRepeats \Guitar
+      }
+    }
+  >>
+}