1.1 --- a/doc-src/iman.sty Fri May 02 16:18:11 1997 +0200
1.2 +++ b/doc-src/iman.sty Fri May 02 16:18:49 1997 +0200
1.3 @@ -140,40 +140,14 @@
1.4 \newfont{\sltt}{cmsltt10} %% for output from terminal sessions
1.5 \newcommand\out{\ \sltt}
1.6
1.7 -% "itmath.sty" use cmr italic for letters in math mode and get the
1.8 -% usual letter spacing of text mode.
1.9 -%
1.10 -% Michael Lawley, April 1993
1.11 -% (lawley@cit.gu.edu.au)
1.12 -%
1.13 -% Derived from itma.sty (of unknown origin).
1.14 -%
1.15 -% MATHCODES
1.16 -%
1.17 % The mathcodes for the letters A, ..., Z, a, ..., z are changed to
1.18 % generate text italic rather than math italic by default. This makes
1.19 % multi-letter identifiers look better. The mathcode for character c
1.20 -% is set to "7000 (variable class) + "400 (text italic) + c.
1.21 +% is set to |"7000| (variable family) + |"400| (text italic) + |c|.
1.22 %
1.23 -% For NFSS the mathcode is "7000 (variable class) + (hex)\itfam + c
1.24 -% \itfam is probably equal to 7.
1.25 -%
1.26 -
1.27 -\ifx\undefined\hexnumber@
1.28 - \def\hexnumber@#1{\ifcase#1 \z@
1.29 - \or \@ne \or \tw@ \or \thr@@
1.30 - \or 4\or 5\or 6\or 7\or 8\or
1.31 - 9\or A\or B\or C\or D\or E\or F\fi}
1.32 -\fi
1.33 -
1.34 +\DeclareSymbolFont{italics}{\encodingdefault}{\rmdefault}{m}{it}%
1.35 \def\@setmcodes#1#2#3{{\count0=#1 \count1=#3
1.36 \loop \global\mathcode\count0=\count1 \ifnum \count0<#2
1.37 \advance\count0 by1 \advance\count1 by1 \repeat}}
1.38 -
1.39 -\edef\@tempa{\hexnumber@\itfam}
1.40 -
1.41 -\@setmcodes{`A}{`Z}{"7\@tempa 41}
1.42 -\@setmcodes{`a}{`z}{"7\@tempa 61}
1.43 -
1.44 -\ifx\define@mathgroup\undefined\else
1.45 - \define@mathgroup\mv@normal{\itfam}{cmr}{m}{it}\fi
1.46 +\@setmcodes{`A}{`Z}{"7\hexnumber@\symitalics41}
1.47 +\@setmcodes{`a}{`z}{"7\hexnumber@\symitalics61}