]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/adding-fingerings-to-tablatures.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / new / adding-fingerings-to-tablatures.ly
1 \version "2.13.4"
2
3 \header {
4   lsrtags = "fretted-strings"
5   texidoc = "
6 To add fingerings to tablatures, use a combination of @code{\\markup}
7 and @code{\\finger}.
8 "
9   doctitle = "Adding fingerings to tablatures"
10 }
11
12 one = \markup { \finger 1 }
13 two = \markup { \finger 2 }
14 threeTwo = \markup {
15   \override #'(baseline-skip . 2)
16   \column {
17     \finger 3
18     \finger 2
19   }
20 }
21 threeFour = \markup {
22   \override #'(baseline-skip . 2)
23   \column {
24     \finger 3
25     \finger 4
26   }
27 }
28
29 \score {
30   \new TabStaff {
31     \tabFullNotation
32     \stemUp
33     e8\4^\one b\2 <e, g\3 e'\1>^>[ b\2 e\4]
34     <a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
35   }
36 }
37