-\version "1.9.1"
+\version "2.3.4"
\header{ texidoc = "@cindex Tabulature
-A sample tablature, with both normal staff and tab.
+Tablature is internally done by overriding the note-head formatting function
+and let it act on a 6-line staff. A special engraver takes then care of
+choosing the fret and converting the pitch to a number.
-Tablature is done by overriding the note-head formatting function, and
-putting it on a 6-line staff. A special engraver takes care of going
-from string-number + pitch to number. "
+Thus, by providing the fret numbers, the same music can be generated both
+for a normal and tabulature staffs. By default, the fret is the smallest
+possible, according to @code{minimumFret}.
+
+"
}
-partition = \notes {
+partition = {
\key e \major
e8\5 fis\5 gis\5 a\5 b\5 cis'\5 dis'\5 e'\5
e8\4 fis\4 gis\4 a\4 b\4 cis'\4 dis'\4 e'\4
e8 fis gis a b cis' dis' e'
- \property Score.minimumFret = #5
+ \set Score.minimumFret = #5
e8 fis gis a b cis' dis' e'
}
\score {
- \context StaffGroup <
- \context Staff <
+ \context StaffGroup <<
+ \context Staff <<
\clef "G_8"
\partition
- >
- \context TabStaff <
+ >>
+ \context TabStaff <<
\partition
- >
- >
+ >>
+ >>
}