]> git.donarmstrong.com Git - lilypond.git/commitdiff
issue 3441: banjo example should use Staff + TabStaff
authorFederico Bruni <fedelogy@gmail.com>
Sat, 6 Jul 2013 10:39:37 +0000 (12:39 +0200)
committerFederico Bruni <fedelogy@gmail.com>
Fri, 12 Jul 2013 06:57:30 +0000 (08:57 +0200)
Documentation/notation/fretted-strings.itely

index e415158c1e9d65f1ebac46e1782b542fe322ddd8..1bb80351977b0d311bcfd4fbe9343b53cc553189 100644 (file)
@@ -1858,15 +1858,20 @@ correct fret numbers for the fifth string:
 @c due to crazy intervals of banjo music, absolute pitch is recommended
 
 @lilypond[quote,ragged-right,verbatim]
-\new TabStaff <<
-  \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
-  \set TabStaff.stringTunings = #banjo-open-g-tuning
-  {
-    \stemDown
-    g8 d' g'\5 a b g e d' |
-    g4 d''8\5 b' a'\2 g'\5 e'\2 d' |
-    g4
+music = {
+  g8 d' g'\5 a b g e d' |
+  g4 d''8\5 b' a'\2 g'\5 e'\2 d' |
+  g4
+}
+
+<<
+  \new Staff \with { \omit StringNumber }
+  { \clef "treble_8"  \music }
+  \new TabStaff \with {
+    tablatureFormat = #fret-number-tablature-format-banjo
+    stringTunings = #banjo-open-g-tuning
   }
+  { \music }
 >>
 @end lilypond