]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tablature-default-strings.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / tablature-default-strings.ly
1 \version "2.16.0"
2
3 \header {
4   texidoc = "
5 Context property @code{defaultStrings} defines desired strings
6 for fret calculations if no strings are defined explicitly.
7 "
8 }
9
10 mymusic = \relative c {
11   <c c'>4
12   \set defaultStrings = #'(5 3)
13   <c c'>4
14   <d d'>4
15   <e e'>4
16   <c c'>2\6\4
17   \unset defaultStrings
18   <c c'>2
19 }
20
21 \score {
22   <<
23     \new Staff {
24       \clef "treble_8"
25       \mymusic
26     }
27     \new TabStaff {
28       \mymusic
29     }
30   >>
31 }