]> git.donarmstrong.com Git - lilypond.git/blob - input/test/tablature.ly
* VERSION (MY_PATCH_LEVEL): make 1.7.0
[lilypond.git] / input / test / tablature.ly
1 \version "1.6.2"
2
3 %{
4
5 A sample tablature, with both normal staff and tab.
6
7 Tablature is done by overriding the note-head formatting function, and
8 putting it on a 6-line staff. A special engraver takes care of going
9 from string-number + pitch to number.
10
11 %}
12
13 partition = \notes {
14     \key e \major
15     e8\5 fis\5 gis\5 a\5 b\5 cis'\5 dis'\5 e'\5
16     e8\4 fis\4 gis\4 a\4 b\4 cis'\4 dis'\4 e'\4
17     e8 fis gis a b cis' dis' e'
18     \property Score.minimumFret = #5
19     e8 fis gis a b cis' dis' e'
20 }
21
22 \score {
23   \context StaffGroup <
24     \context Staff <
25         \clef "G_8"
26         \partition
27     >
28     \context TabStaff <
29         \partition
30     >
31   >
32 }