Consider accidentals in optical spacing correction.
[lilypond.git] / input / regression / fret-diagrams-string-thickness.ly
blob2a2d2b5928dcfe11213676ababa93cfea6c22987
1 \version "2.12.0"
3 \header {
4 texidoc="
5 String thickness can be changed, and diagrams can have variable
6 string thickness.
10 \layout { ragged-right = ##t }
13 \chords {
14 c1 |
15 c1 |
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))}
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))}
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))}