]> git.donarmstrong.com Git - lilypond.git/blob - input/test/tablature.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / test / 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
11 partition = \notes {
12     \key e \major
13     e8\5 fis\5 gis\5 a\5 b\5 cis'\5 dis'\5 e'\5
14     e8\4 fis\4 gis\4 a\4 b\4 cis'\4 dis'\4 e'\4
15     e8 fis gis a b cis' dis' e'
16     \set Score.minimumFret = #5
17     e8 fis gis a b cis' dis' e'
18 }
19
20 \score {
21   \context StaffGroup <<
22     \context Staff <<
23         \clef "G_8"
24         \partition
25     >>
26     \context TabStaff <<
27         \partition
28     >>
29   >>
30 }
31