]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-fingerings-to-tablatures.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / adding-fingerings-to-tablatures.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "fretted-strings, specific-notation"
11
12   texidoc = "
13 To add fingerings to tablatures, use a combination of @code{\\markup}
14 and @code{\\finger}.
15
16 "
17   doctitle = "Adding fingerings to tablatures"
18 } % begin verbatim
19
20
21
22 one = \markup { \finger 1 }
23 two = \markup { \finger 2 }
24 threeTwo = \markup {
25   \override #'(baseline-skip . 2)
26   \column {
27     \finger 3
28     \finger 2
29   }
30 }
31 threeFour = \markup {
32   \override #'(baseline-skip . 2)
33   \column {
34     \finger 3
35     \finger 4
36   }
37 }
38
39 \score {
40   \new TabStaff {
41     \tabFullNotation
42     \stemUp
43     e8\4^\one b\2 <g\3 e'\1>^>[ b\2 e\4]
44     <a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
45   }
46 }