]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/modern-tab-clef.ly
resolve merge
[lilypond.git] / input / regression / modern-tab-clef.ly
diff --git a/input/regression/modern-tab-clef.ly b/input/regression/modern-tab-clef.ly
new file mode 100644 (file)
index 0000000..b9fc3f9
--- /dev/null
@@ -0,0 +1,44 @@
+\version "2.14.0"
+
+\header{ texidoc = "Sans serif style tab clefs are supported by @code{\\clef moderntab}.
+                    This alternative clef supports four- to seven-stringed instruments
+                    and is scaled automatically."
+       }
+
+bass = \relative c, {
+  c4 d e f
+  e4 d c2
+}
+
+guitar = \relative c {
+  c4 d e f
+  e4 d c2
+}
+
+\score {
+  <<
+    \new Staff {
+      \clef "bass_8"
+      \bass
+    }
+    \new TabStaff {
+      \clef "moderntab"
+      \set TabStaff.stringTunings = #bass-four-string-tuning
+      \bass
+    }
+  >>
+}
+
+\score {
+  <<
+    \new Staff {
+      \clef "treble_8"
+      \guitar
+    }
+    \new TabStaff {
+      \clef "moderntab"
+      \set TabStaff.stringTunings = #guitar-seven-string-tuning
+      \guitar
+    }
+  >>
+}
\ No newline at end of file