Article View: comp.text.tex
Article #11576itma.sty and nfss problem
From: Rodney Topor
Date: Thu, 15 Apr 1993 07:30
Date: Thu, 15 Apr 1993 07:30
35 lines
1905 bytes
1905 bytes
I am trying to use the LaTeX style file itma.sty, listed below, to display
all letters occurring in formulas in italic instead of math italic.
It works correctly with the old font selection scheme (and with SliTeX),
but with the new font selection scheme (in LaTeX), commas appear as
semicolons in formulas, full stops as colons, and other characters
also appear incorrectly.
Can anyone tell me the cause of this problem and how to cure it?
(Part of the problem is that the \ifx returns \false instead of \true
when using the NFSS.)
Thanks for your help.
Rodney Topor
rwt@cit.gu.edu.au
% itma.sty :
%
% MATHCODES
%
% The mathcodes for the letters A, ..., Z, a, ..., z are changed to
% generate text italic rather than math italic by default. This makes
% multi-letter identifiers look better. The mathcode for character c
% is set to "7000 (variable family) + "400 (text italic) + c.
\ifx\define@mathgroup\undefined
\def\@setmcodes#1#2#3{{\count0=#1 \count1=#3
\loop \global\mathcode\count0=\count1 \ifnum \count0<#2
\advance\count0 by1 \advance\count1 by1 \repeat}}
\@setmcodes{`A}{`Z}{"7441}
\@setmcodes{`a}{`z}{"7461}
\else
\define@mathgroup{\mv@normal}{1}{cmr}{m}{it}
\fi
Technical Details
Message-ID:
<C5IKu3.Krz@kurango.cit.gu.edu.au>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!griffin!kurango!rwtShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9e16,64a2fa9ad29b7621,start X-Google-Attributes: gidf9e16,public X-Google-Thread: f4a99,64a2fa9ad29b7621,start X-Google-Attributes: gidf4a99,public X-Google-ArrivalTime: 1993-04-15 01:31:13 PST Newsgroups: comp.text.tex,aus.tex Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!griffin!kurango!rwt From: rwt@kurango.cit.gu.edu.au (Rodney Topor) Subject: itma.sty and nfss problem Message-ID: <C5IKu3.Krz@kurango.cit.gu.edu.au> Summary: Help requested Organization: Griffith University. Date: Thu, 15 Apr 1993 07:30:02 GMT Lines: 36