grid int [nomusic] [norepeat] [parts] [repbrk] [include=list]

Default Scope Available in
nonegenerationabc2svg >= 1.18.1

%%grid adds a chord grid of the tunes.

The int value is the number of columns. When '1' or '-1', this number is computed.
When this value is negative, the grid is under the music.

nomusic displays the grid only.

norepeat removes the ':' (repeat indications) from the grid.

If a part appears in the first measure of the grid row, parts displays its name on the left side of the grid.

repbrk starts a new grid line on a start or stop of repeat.

include= defines which measures are used to define the grid. list is a comma separated list of measure numbers (the measure numbers are the ones that are displayed with %%contbarnb 1).

%abc-2.2
%%musicfont url(../js/abc2svg.ttf)
%%pagewidth 10cm
%%rightmargin 0.8cm
%%leftmargin 0.8cm
%%topspace 0

X:1
T:example
M:4/4
L:1/2
%%grid -4 parts
K:C
P:A
|:"C"CD|"F"EF|"G"GF|ED:|
P:B
"C"CE|Gc|GE|C2|]

example  C F G A  C B C F G G C C C C A : : B

X:2
%%grid 4 repbrk include=1-16
%%pagewidth 20cm
%%measurenb 1
I:linebreak $
%%bstemdown 1
T:(I'll Be Glad When You're Dead)
T:You Rascal You 
C:Words and music by Sam Theard (1931)
M:4/4
L:1/4
K:Bb
G B |: "Gm"d2 ^c d | B G "D7"B A | "Gm"G4- | G2 G B | $
w:I'll be glad when you're dead you ras-cal you_ I'll be
w:** you in my home, you ras-cal you_ I'll trust
d2 B d | g d g g | "D7"d4- | d2 G B | $
w:glad when you're dead you ras-cal you_ When you're
w:you in my home you ras-cal you_ I trust
"Gm"d2 d d | "D7"c2 c c | "Eb"B c B c | "D7"A2 G B | $
w:dead in your grave no more wo-men will you crave, I'll be
w:you in my home you wouldn't leave my wife a-lone, I'll be
"Gm"d2 ^c d | B D "D7"B A |["1." "Gm"G2 z2 | "D7"z2 G B :|["last" yyy"Gm"G4- | G2 z2 |] 
w:glad when you're dead you ras-cal you. I trust
w:glad when you're dead you ras-cal ***you._

(I'll Be Glad When You're Dead) You Rascal You Words and music by Sam Theard (1931)

abc2svg documentation source author - page hosted by Free