diagram int

Default Scope Available in
falsegenerationabc2svg >= 1.15.13

When set, this command adds chord diagrams under the chord symbols.
Actually, the diagrams are only those of the guitar (6 strings EADGBE).

setdiag chord dots label [ ,pos ] fingers [ barre=start/stop ]

Default Scope Available in
falsegenerationabc2svg >= 1.20.20

This command adds/replaces the definition of a chord diagram.

The parameters are:

name of the chord
string of [0-4,x]. Each character is the grid offset of a fret. 'x' or '0' means "open string".
label [ ,pos ]
label is a string that appears on the left of the grid at the vertical offset pos
string of [0-4,x,y]. The characters are printed above the grid, one character per string. 'y' or '0' means no finger (open string) and is not printed. 'x' means "don't use".
set a barre on the first fret between the string start> and the string stop>. The strings are numbered with '1' as the string with the highest pitch ('e' for a guitar).
%abc-2.2 %%musicfont url(../js/abc2svg.woff) %%pagewidth 10cm %%pagescale 1.2 %%setdiag G7 323400 fr3,3 yyyyxx
X:1 T:example M:4/4 L:1/4 %%diagram 1 K:C "C"CEGc-|"Am"cBAG|"Dm"A2y12"G7"B2|"C"c4|]