]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/letter-tablature-formatting.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / new / letter-tablature-formatting.ly
diff --git a/Documentation/snippets/new/letter-tablature-formatting.ly b/Documentation/snippets/new/letter-tablature-formatting.ly
new file mode 100644 (file)
index 0000000..f97d656
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.14.0"
+
+\header {
+  lsrtags = "staff-notation, fretted-strings"
+
+  texidoc = "
+Tablature can be formatted using letters instead of numbers.
+
+"
+  doctitle = "Letter tablature formatting"
+}
+
+music = \relative c {
+  c4 d e f
+  g4 a b c
+  d4 e f g
+}
+
+<<
+  \new Staff {
+    \clef "G_8"
+    \music
+  }
+  \new TabStaff \with {
+    tablatureFormat = #fret-letter-tablature-format
+  }
+  {
+    \music
+  }
+>>