%D \macros{definemathcharacter}
%D 
%D This macro comes in two guises, a four-argument form that is basically
%D a wrapper around \type{\mathcode}, and a six-argument form that is a
%D wrapper for \type{\delcode}, for use with \type{\left} or \type{\right}. 
%D 
%D \starttyping
%D \definemathcharacter [=]   [rel]   [mr] ["3D]
%D \definemathcharacter [(] [nothing] [mr] ["28] [ex] ["00]
%D \definemathcharacter [)] [nothing] [mr] ["29] [ex] ["01]
%D \stoptyping
%D 
%D The {\bf first} argument indicates the character to be defined. Simple ascii
%D chararacters can be given as-is, but non-printable characters and the
%D digits themselves should be specified using their decimal value, so
%D context defines the vertical bar like this:
%D
%D \starttyping
%D \definemathcharacter [124] [ord]   [sy] ["6A] % decimal(124) = chr (|)
%D \stoptyping
%D 
%D and if you want your zeros to come from the math italic font, 
%D you would have to use this:
%D 
%D \starttyping
%D \definemathcharacter [48] [ord]   [mi] ["30] % decimal(48) = hex(30) = chr(0)
%D \stoptyping
%D
%D The {\bf second} argument indicates the math type, using a symbolic
%D representation that maps to a specific math type: any value higher
%D than seven is folded back to zero.  The list of names is:
%D 
%D \starttable[|c|c|c|]
%D \NC \bf symbolic name \NC \bf actual meaning \NC \bf remapped value \NR
%D \NC ord    \NC 0 \NC 0\NC\NR
%D \NC op     \NC 1 \NC 1\NC\NR
%D \NC bin    \NC 2 \NC 2\NC\NR
%D \NC rel    \NC 3 \NC 3\NC\NR
%D \NC open   \NC 4 \NC 4\NC\NR
%D \NC close  \NC 5 \NC 5\NC\NR
%D \NC punct  \NC 6 \NC 6\NC\NR
%D \NC alpha  \NC 7 \NC 7\NC\NR
%D \NC inner  \NC 0 \NC 0\NC\NR
%D \NC nothing\NC 0 \NC 0\NC\NR
%D \NC limop  \NC 1 \NC 1\NC\NR
%D \NC nolop  \NC 1 \NC 1\NC\NR
%D \NC choice \NC 0 \NC 0\NC\NR
%D \NC box    \NC 0 \NC 0\NC\NR
%D \NC accent \NC 8 \NC 0\NC\NR
%D \NC radical\NC 9 \NC 0\NC\NR
%D \stoptable
%D 
%D In the six-argument form, the second argument has to be `nothing',
%D and the fifth and sixth argument have the same syntax as the third and
%D fourth argument: they define the `large' version of a delimiter. 
%D
%D In the four-argument form, the most interesting type is `alpha', 
%D because that creates a symbol that obeys font family changes (like 
%D \type{\bf} or \type{\it}). 
%D
%D The {\bf third} argument is a symbolic family name that is mapped
%D to a bare family number, possibly using the current mathcollection's
%D font definitions (lookup \type{\definefamilysynonym} for details on
%D the remapping).
%D
%D  In the default setup, the meanings are as follows:
%D 
%D \starttable[|c|c|c|]
%D \NC \bf symbolic name \NC \bf actual meaning \NC \bf (remapped value) \NR
%D \NC mr          \NC  0\NC 0\NC \NR
%D \NC mi          \NC  1\NC 1\NC \NR
%D \NC sy          \NC  2\NC 2\NC \NR
%D \NC ex          \NC  3\NC 3\NC \NR
%D \NC it          \NC  4\NC 4\NC \NR
%D \NC sl          \NC  5\NC 5\NC \NR
%D \NC bf          \NC  6\NC 6\NC \NR
%D \NC nn          \NC  7\NC 7\NC \NR
%D \NC bs          \NC  8\NC 8\NC \NR
%D \NC bi          \NC  9\NC 9\NC \NR
%D \NC sc          \NC  A\NC A\NC \NR
%D \NC tf          \NC  B\NC B\NC \NR
%D \NC ma          \NC  C\NC C\NC \NR
%D \NC mb          \NC  D\NC D\NC \NR
%D \NC mc          \NC  E\NC E\NC \NR
%D \NC md          \NC  F\NC F\NC \NR
%D \NC letters     \NC mr\NC (0)\NC \NR
%D \NC operators   \NC sy\NC (2)\NC \NR
%D \NC lcgreek     \NC mi\NC (1)\NC \NR
%D \NC ucgreek     \NC mr\NC (0)\NC \NR
%D \NC vargreek    \NC mi\NC (1)\NC \NR
%D \NC mitfamily   \NC mi\NC (1)\NC \NR
%D \NC calfamily   \NC sy\NC (2)\NC \NR
%D \NC 0           \NC mr\NC (0)\NC \NR
%D \NC 1           \NC mi\NC (1)\NC \NR
%D \NC 2           \NC sy\NC (2)\NC \NR
%D \NC 3           \NC ex\NC (3)\NC \NR
%D \NC calligraphic\NC sy\NC (2)\NC \NR
%D \NC oldstyle    \NC mi\NC (1)\NC \NR
%D \NC blackboard  \NC mr\NC (0)\NC \NR
%D \NC gothic      \NC mr\NC (0)\NC \NR
%D \NC fraktur     \NC mr\NC (0)\NC \NR
%D \stoptable
%D 
%D The {\bf fourth} argument is simply the glyph index in the family's font
%D encoding.
%D
%D In the six-argument form, the {\bf fifth} and {\bf sixth} argument 
%D have the same syntax as the third and
%D fourth argument: they define the `large' version of a delimiter. 
