]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/fret-diagrams-string-thickness.ly
Fix quoting overrides, set etc.
[lilypond.git] / input / regression / fret-diagrams-string-thickness.ly
1 \version "2.12.0"
2
3 \header {
4   texidoc="
5 String thickness can be changed, and diagrams can have variable
6 string thickness.
7 "
8 }
9
10 \layout { ragged-right = ##t }
11
12 <<
13   \chords {
14     c1 |
15     c1 |
16     c1
17   }
18
19   \new Voice {
20     \textLengthOn
21      %% C major for guitar,  verbose style
22     c'1 ^\markup {
23             \fret-diagram-verbose #'((mute 6)
24                                      (place-fret 5 3 1)
25                                      (place-fret 4 5 2)
26                                      (place-fret 3 5 3)
27                                      (place-fret 2 5 4)
28                                      (place-fret 1 3 1)
29                                      (barre 5 1 3))}
30
31      %% C major for guitar,  verbose style
32     \once \override TextScript #'thickness = #1.5 
33     c'1 ^\markup {
34             \fret-diagram-verbose #'((mute 6)
35                                      (place-fret 5 3 1)
36                                      (place-fret 4 5 2)
37                                      (place-fret 3 5 3)
38                                      (place-fret 2 5 4)
39                                      (place-fret 1 3 1)
40                                      (barre 5 1 3))}
41
42      %% C major for guitar, verbose style
43     \once \override TextScript #'fret-diagram-details
44       #'string-thickness-factor = #0.3
45     c' ^\markup {
46             \fret-diagram-verbose #'((mute 6)
47                                      (place-fret 5 3 1)
48                                      (place-fret 4 5 2)
49                                      (place-fret 3 5 3)
50                                      (place-fret 2 5 4)
51                                      (place-fret 1 3 1)
52                                      (barre 5 1 3))}
53
54
55  }
56 >>
57
58