grid int [norepeat] [include=list]

Default Scope Available in
falsegenerationabc2svg >= 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.

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

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 displayed with %%contbarnb 1).

X:1 %%pagewidth 10cm T:example M:4/4 L:1/4 %%grid -1 K:C "C"CEGc-|"Am"cBAG|"Dm"A2"G"B2|"C"c4|]
X:2 %%grid 4 norepeat include=1-14,17,18 %%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._