Professional Documents
Culture Documents
Version 0.6 – ABC v2.1 & some abcm2ps v6 – Steve Merrony %%abc-creator mxml2abc-0.6 %%text <ABC String> %%endtext
%%abc-version 2.0 % use for pre-2.1 ABC %%textoption <string> %%sep [# # #]
Information & Headers %%abc-charset
%%abc-include
iso-8859-1
mydefs.abh
% default is UTF-8 %%center
%%begintext
<ABC String> %%header
%%footer
%abc %abc-2.1 – First Line of file
B:book Formatting
C:composer Misc
D:discography Page Format
F:file URL %%autoclef <logical>
G:group G:flute %%pageheight <length> %%rightmargin <length> %%beginps … %%endps
H:history %%pagewidth <length> %%indent <length> %%bstemdown <logical>
I:instruction %%topmargin <length> %%landscape <logical> %%comball <logical>
K:key [clef] [middle=x] K:G, K:AMix – Last Header* %%botmargin <length> %%staffwidth <length> %%combinevoices <logical>
L:note unit length L:1/8 %%leftmargin <length> %%dateformat <string>
M:metre M:4/4 %%encoding <integer> % 0 – 6 for ISO-Latin-n
m:macro m: ~n2 = (3o/n/m/ n
N:notes
Fonts (Most take a font name and size as parameters) %%EPS
%%exprabove
<string> % include external EPS file
<logical>
O:origin %%exprbelow <logical>
%%titlefont %%measurefont
P:parts P:A, P:ABAC, P:(A2B)3 %%repeatfont %%flatbeams <logical>
%%subtitlefont
Q:tempo Q:"allegro" 1/4=120 %%textfont %%freegchord <logical> % print '#', 'b' and '=' stet
%%composerfont
R:rhythm R:R, R:reel %%voicefont %%gchordbox <logical>
%%partsfont
r:remark %%vocalfont % w: %%graceslurs <logical>
%%tempofont
S:source %%wordsfont % W: %%hyphencont <logical>
%%gchordfont
s:symbol line s: !pp! ** !f! %%infoline <logical> % rhythm & origin on same line
%%headerfont
T:title Second Header The specifiers $1, $2, $3 and %%linebreak $ or ! or <EOL> or <none>
%%historyfont
U:user defined U: T = !trill! $4 can be used to change the %%musiconly <logical> % don't output lyrics
%%footerfont
V:voice V:4 clef=bass** font within an ABC string %%oneperpage <logical>
%%annotationfont
W:words Lyrics after tune %%setfont-1/2/3/4 <ft> <sz> %%partsbox <logical>
%%infofont
w:words Lyrics inline %%postscript <string>
X:reference number First Header %%printparts <logical> % P:
Z:transcriber Also put copyright info here Spacing %%printtempo <logical>
%%topspace <length> %%titlecaps <logical> %%sep <length> <length> <length> % separator
* Clefs %%titlespace <length> %%subtitlespace <length> %%shiftunison <logical>
%%titleleft <logical> %%composerspace <length> %%squarebreve <logical>
treble Treble (default) %%aligncomposer <integer> % -1 left, 0 centre, !1 right %%slurheight <float> % <1.0 to flatten
treble-8 Treble 8ve below eg.tenors %%musicspace <length> % between comp. & 1st staff %%staff <number> % use nth staff
treble+8 Treble 8ve above eg.piccolo %%partsspace <length> %%wordsspace <length> %%staffnonote <logical> % don't show empty staves
bass Bass %%vocalspace <length> %%textspace <length> %%stemheight <float>
bass3 Baritone %%infospace <length> %%straightflags <logical>
alto4 Tenor %%staffsep <length> % between systems %%timewarn <logical> % cautionary time sigs
alto Alto %%sysstaffsep <length> % between staves %%tuplets <integer> <integer> <integer>
alto2 Mezzosoprano %%barsperstaff <integer> %%vocalabove <logical>
alto1 Soprano %%parskipfac <number> % space between parts %%withxrefs <logical> % print X: index in title
none No clef %%lineskipfac <number> % space between lines of text %%writefields <list of field identifiers> [<logical>]
perc Percussion %%stretchstaff <logical> %%stretchlast <logical> %%writehistory <logical>
%%maxshrink <number> % shrinking notes
** Voices %%maxstaffsep <length> %%splittune <logical>