]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/modern-tab-clef.ly
Add newlines at EOF where appropriate.
[lilypond.git] / input / regression / modern-tab-clef.ly
1 \version "2.14.0"
2
3 \header{ texidoc = "Sans serif style tab clefs are supported by @code{\\clef moderntab}.
4                     This alternative clef supports four- to seven-stringed instruments
5                     and is scaled automatically."
6        }
7
8 bass = \relative c, {
9   c4 d e f
10   e4 d c2
11 }
12
13 guitar = \relative c {
14   c4 d e f
15   e4 d c2
16 }
17
18 \score {
19   <<
20     \new Staff {
21       \clef "bass_8"
22       \bass
23     }
24     \new TabStaff {
25       \clef "moderntab"
26       \set TabStaff.stringTunings = #bass-four-string-tuning
27       \bass
28     }
29   >>
30 }
31
32 \score {
33   <<
34     \new Staff {
35       \clef "treble_8"
36       \guitar
37     }
38     \new TabStaff {
39       \clef "moderntab"
40       \set TabStaff.stringTunings = #guitar-seven-string-tuning
41       \guitar
42     }
43   >>
44 }