tablature ["#"int] [pitch=pitch] [[unit-1] unit-2] unit-3 head-func note-func [bar-func]

Default Command lineScope Available in
nonenonegenerationabcm2ps only

Define a tablature for the current voice.

"#"int gives the tablature number (from #1 to #8, default=#1).

pitch is the pitch of the instrument. It looks like a normal ABC note. When present, the pitch of each note is given as argument to the note function. When absent, the information about the note(s) is given by one or many lyrics (w:).

unit-1 specifies the width of the header (left side of the music line).

unit-2 specifies the tablature height above the staff.

unit-3 specifies the tablature height under the staff.

head-func is the PostScript function called at start of a new music line.

note-func is the PostScript function called at each note.

bar-func is the PostScript function called at each bar.

The arguments of the PostScript functions depend on the presence of the pitch.
When the pitch is absent, the stack contains:

head function:
note function:
bar function:
Otherwise (pitch present), the PS origins are translated to the tablature area and the stack contains:
head function:
note function:
bar function:
For examples of tablatures without pitch, see:
accordion.abc
http://moinejf.free.fr/abc/banjo.abc
http://moinejf.free.fr/abc/bataille.abc
http://moinejf.free.fr/abc/tabyf1.abc
For examples of tablatures with pitch, look at
flute.fmt
and try:
abcm2ps sample.abc -e1 -F flute.fmt -T1 -T3