Rationalize string number handling for notes and chords
[lilypond/mpolesky.git] / input / regression / tablature.ly
blob01b418c6cac461ca72510ee3c78654b08d58851b
1 \version "2.12.0"
3 \header{ texidoc = "@cindex Tabulature
4 A sample tablature, with both normal staff and tab.
6 Tablature is done by overriding the note-head formatting function, and
7 putting it on a 6-line staff. A special engraver takes care of going
8 from string-number + pitch to number.
10 String numbers can be entered as note articulations (inside a chord) and
11 chord articulations (outside a chord)
15 partition = {
16 \key e \major
17 <e\5 dis'\4>
18 <e dis'>
19 <e dis'\4>
20 <e dis'>\5\4
21 <e dis'\4>\5
25 \context StaffGroup <<
26 \context Staff <<
27 \clef "G_8"
28 \partition
30 \context TabStaff <<
31 \partition