1 %% regression test for fret diagram markups
8 %% stretch to prevent diagrams from colliding.
18 %% A chord for ukelele
20 \override #'(string-count . 4) {
21 \override #'(dot-color . white) {
22 \fret-diagram #"4-2-2;3-1-1;2-o;1-o;"}}
24 %% C major for guitar, barred on third fret
26 \override #'(number-type . roman-lower) { % lower-case roman numeral fret label
27 \override #'(size . 1.1) { % 110% of default size
28 \override #'(finger-code . below-string) { % string labels below strings
29 \override #'(barre-type . straight) { % straight barre
30 \fret-diagram-verbose #'((mute 6) (place-fret 5 3 1) (place-fret 4 5 2) (place-fret 3 5 3) (place-fret 2 5 4) (place-fret 1 3 1) (barre 5 1 3)) }}}}
31 %% C major for guitar, barred on third fret
33 \override #'(number-type . arabic) { % lower-case roman numeral fret label
34 \override #'(dot-color . white) { % white dots
35 \override #'(finger-code . in-dot) { % string labels in dots
36 \override #'(barre-type . curved) { % straight barre
37 \fret-diagram-verbose #'((mute 6) (place-fret 5 3 1) (place-fret 4 5 2) (place-fret 3 5 3) (place-fret 2 5 4) (place-fret 1 3 1) (barre 5 1 3)) }}}}
38 %% C major for guitar, barred on third fret
40 \override #'(number-type . roman-upper) { % upper-case roman numeral fret label
41 \override #'(label-dir . -1) { % label fret at left side of diagram
42 \override #'(finger-code . in-dot) { % string labels in dots
43 \override #'(barre-type . curved) { % curved barre
44 \fret-diagram-verbose #'((mute 6) (place-fret 5 3 1) (place-fret 4 5 2) (place-fret 3 5 3) (place-fret 2 5 4) (place-fret 1 3 1) (barre 5 1 3)) }}}}
49 \override #'(finger-code . below-string) {
50 \override #'(dot-radius . 0.35) {
51 \override #'(dot-position . 0.5) {
52 \override #'(fret-count . 5) {
53 \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;" }}}}