]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-fingerings-to-tablatures.ly
lilypond-manuals.css: edit color scheme and some spacing
[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.di.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.18.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 one = \markup { \finger 1 }
21 two = \markup { \finger 2 }
22 threeTwo = \markup {
23   \override #'(baseline-skip . 2)
24   \column {
25     \finger 3
26     \finger 2
27   }
28 }
29 threeFour = \markup {
30   \override #'(baseline-skip . 2)
31   \column {
32     \finger 3
33     \finger 4
34   }
35 }
36
37 \score {
38   \new TabStaff {
39     \tabFullNotation
40     \stemUp
41     e8\4^\one b\2 <g\3 e'\1>^>[ b\2 e\4]
42     <a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
43   }
44 }