From: Federico Bruni Date: Sat, 6 Jul 2013 10:39:37 +0000 (+0200) Subject: issue 3441: banjo example should use Staff + TabStaff X-Git-Tag: release/2.17.22-1~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=23c2535cb51706a5e4f753dab8b5325ffa5ddfce;p=lilypond.git issue 3441: banjo example should use Staff + TabStaff --- diff --git a/Documentation/notation/fretted-strings.itely b/Documentation/notation/fretted-strings.itely index e415158c1e..1bb8035197 100644 --- a/Documentation/notation/fretted-strings.itely +++ b/Documentation/notation/fretted-strings.itely @@ -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