]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tablature-chord-repetition.ly
resolve merge
[lilypond.git] / input / regression / tablature-chord-repetition.ly
diff --git a/input/regression/tablature-chord-repetition.ly b/input/regression/tablature-chord-repetition.ly
new file mode 100644 (file)
index 0000000..e89b1c5
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "In a TabStaff, the chord repetition function needs
+to save the string information. This is handled by
+@code{\\tabChordRepetition}."
+}
+
+\tabChordRepetition
+
+Guitar = \relative c' {
+  r8 < gis\4 cis\3 b\2 > ~ q4 q8 ~ q q4
+}
+
+\score {
+  \new StaffGroup <<
+    \new Staff {
+      \new Voice {
+        \clef "treble_8"
+        \override Voice.StringNumber #'transparent = ##t
+        \Guitar
+      }
+    }
+    \new TabStaff {
+      \new TabVoice {
+        \Guitar
+      }
+    }
+  >>
+}