Article View: comp.text.tex
Article #205Re: mathtime.sty: \mathop{\rm det}\nolimits doesn't work
From: Tonnie Geraets
Date: Tue, 03 Nov 1992 09:33
Date: Tue, 03 Nov 1992 09:33
48 lines
2449 bytes
2449 bytes
rcpt@rwa.urc.tue.nl (Piet Tutelaers) writes:
>jaffe@hoss.unl.edu (David Jaffe) writes:
>>I'm using latex, with mathtime.sty (to use the Spivak math fonts). I also
>>use "\mathop{\rm det}\nolimits" to defined the math operator "det", and so
>>forth. These don't work properly -- I get italics printed out. How can
>>I correct this?
>I checked your problem with next LaTeX example:
[example deleted]
>But in my dvi output `det' is appearing in roman! So check out that you have
>the most up-to-date version of mathtime.sty!
>--Piet
I think the problem depends on your configuration of nfss. Piet, I think you
used latex-nfss with oldlfont.sty loaded. In this case the problem does not
occur. If you try latex with basefont.tex (/usr/local/lib/tex/bin/amslatex
executable on your system, Piet), you will see you get italics. The problem
lies in how \rm is defined:
With basefont.tex only the \fontfamily is changed and \fontseries and
\fontshape (which determines normal, italic, slanted, etc.) are left
unchanged:
\def\prm{\fontfamily\rmdefault\selectfont}
With oldlfont.sty \fontseries end \fontshape are also changed (reset to
their default values):
\def\prm{\fontfamily\rmdefault
\fontseries\default@series
\fontshape\default@shape\selectfont
\mathrm}
So to solve the problem, you either have to use oldlfont.sty (which you
probably don't want to use), or you have to replace \rm in your definition
by something else. Maybe someone else can comment on what is the best
solution.
-Tonnie.
--
Tonnie Geraets E-mail: tonnie@ctrl.phys.tue.nl
Department of Physics Eindhoven University of Technology, The Netherlands
----------------------------------------------------------------------------
"Mam, wat vroeger God deed doet nu de computer, he?" - Robbie Bergmans (7)
("Mom, what God used to do, is now done by a computer, isn't it?")
Technical Details
Message-ID:
<tnnrtg.720783198@tnb.phys.tue.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!tnb.phys.tue.nl!tnnrtgReferences:
<1cn0c6INNg07@crcnis1.unl.edu> <rcpt.720780868@rwa.urc.tue.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!tnb.phys.tue.nl!tnnrtg
From: tnnrtg@tnb.phys.tue.nl (Tonnie Geraets)
Newsgroups: comp.text.tex
Subject: Re: mathtime.sty: \mathop{\rm det}\nolimits doesn't work
Message-ID: <tnnrtg.720783198@tnb.phys.tue.nl>
Date: 3 Nov 92 09:33:18 GMT
References: <1cn0c6INNg07@crcnis1.unl.edu> <rcpt.720780868@rwa.urc.tue.nl>
Sender: root@tuegate.tue.nl
Reply-To: tnnrtg@ctrl.phys.tue.nl
Organization: Eindhoven University of Technology - NL
Lines: 48