[comp.text] Roman letters in TeX math mode?

gordan@maccs.McMaster.CA (gordan) (11/08/88)

Is it possible to wave a magic wand so that all letters in TeX math mode
are in Roman font by default rather than math italic?

No, this isn't my idea.

Slapping {\rm ...} around everything isn't really palatable.  Help.

--
                 Gordan Palameta
            uunet!ai.toronto.edu!utgpu!maccs!gordan

brown@hpccc.HP.COM (Jeffrey L. Brown) (11/12/88)

/ hpccc:comp.text / gordan@maccs.McMaster.CA (gordan) /  7:55 pm  Nov  7, 1988 /
Is it possible to wave a magic wand so that all letters in TeX math mode
are in Roman font by default rather than math italic?

No, this isn't my idea.

Slapping {\rm ...} around everything isn't really palatable.  Help.

--
                 Gordan Palameta
            uunet!ai.toronto.edu!utgpu!maccs!gordan
----------

I haven't actually tried to do this, so I'm sorry if it doesn't work....

How about

<normal text>

\load{\normalsize}{\rm}  % go to roman font for math stuff

<math in roman font>

\load{\normalsize}{\mit}   % go back to math italic font

<normal text>

There is one gotcha:  all charactiers, including super- and subscripts, are
printed in the same font, so stuff might not look too good.  I found this
little tidbit in Section C.14.4 in the LaTeX manual.

Jeff Brown
HP Corporate Computing Center
brown%hpccc@hplabs.hp.com, ...hplabs!hpccc!brown

dgc@joshua.math.ucla.edu (David G. Cantor) (11/13/88)

        In article <1574@maccs.McMaster.CA> gordan@maccs.UUCP () writes:
        Is it possible to wave a magic wand so that all letters in TeX
        math mode are in Roman font by default rather than math italic?
------------------------------------------------------------------------
Yes.

Insert the command

        \everymath\fam=0}

at the beginning of the document.

dgc

David G. Cantor
Department of Mathematics
University of California at Los Angeles
Internet:  dgc@math.ucla.edu
UUCP:      ...!{randvax, sdcrdcf, ucbvax}!ucla-cs!dgc