]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tablature.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / tablature.ly
1 \version "2.1.26"
2
3 \header{ texidoc = "@cindex Tabulature
4 A sample tablature, with both normal staff and tab.
5
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.
9
10 String numbers can be entered as note articulations (inside a chord) and
11 chord articulations (outside a chord)
12 "
13 }
14
15 partition = \notes {
16     \key e \major
17     <e\5 dis'\4>
18     <e dis'>
19     <<e\5 dis'\4>>
20     <e dis'>\5\4
21 }
22
23 \score {
24   \context StaffGroup <<
25     \context Staff <<
26         \clef "G_8"
27         \partition
28     >>
29     \context TabStaff <<
30         \partition
31     >>
32   >>
33 }
34