🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #10283

Re: Latex questions regarding theorems, \newtheorem

#10283
From: Rainer Schoepf
Date: Fri, 14 Jun 1991 18:47
41 lines
2221 bytes
In article <1991Jun14.024242.6256@midway.uchicago.edu> geyer@galton.uchicago.edu writes:
>
>In article <gordon.676703279@ningaui> gordon@cs.uwa.oz.au (Gordon Royle) writes:
>
>> I do not like having all the theorems typeset in italics. I
>> would like to change the "theorem-like environment" so that the theorems
>> are typeset in slanted type.
>> The LaTeX book does not mention at all how to do it, or in fact where
>> the "theorem-like environment" is defined....
>
>I'll take this one because its so easy.  It is defined in latex.tex, where
>under the heading THEOREM ENVIRONMENTS are defined (the only macros in this
>section containing \it)
>
>  \def\@begintheorem#1#2{\it \trivlist \item[\hskip \labelsep{\bf #1\ #2}]}
>  \def\@opargbegintheorem#1#2#3{\it \trivlist
>        \item[\hskip \labelsep{\bf #1\ #2\ (#3)}]}
>
>redefine them without the \it and you're in business.  Since these macro
>names contain a @ they can only be redefined in a style file.  Make your
>own, say foo.sty, and then add it to the list in /documentstyle, e. g.,
>
>  \documentstyle[12pt,foo]{article}
>
>This is a good easy example of how to hack style files.  Often you don't
>have to understand much about how LaTeX works to make the required changes.
>
>Charles Geyer
>Department of Statistics
>University of Chicago
>geyer@galton.uchicago.edu


No need to re-invent the wheel. I recommend the use of Frank Mittelbach's
excellent set of theorem style options. They are now used even in the AMS's
AMS-LaTeX package.

How to get them? Well, look into one of the large servers. I'm sure that it's
somewhere on ymir.claremont.edu, probably in [.tex.inputs...].

Rainer Sch"opf
Technical Details
Message-ID: <1991Jun14.184742.4229@rusmv1.rus.uni-stuttgart.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!ira.uka.de!sun1.ruf.uni-freiburg.de!rusmv1!texinfo1
References: <1991Jun14.024242.6256@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!ira.uka.de!sun1.ruf.uni-freiburg.de!rusmv1!texinfo1
From: texinfo1@rusmv1.rus.uni-stuttgart.de (Rainer Schoepf)
Newsgroups: comp.text.tex
Subject: Re: Latex questions regarding theorems, \newtheorem
Message-ID: <1991Jun14.184742.4229@rusmv1.rus.uni-stuttgart.de>
Date: 14 Jun 91 18:47:42 GMT
References: <1991Jun14.024242.6256@midway.uchicago.edu>
Organization: Comp.Center (RUS), U of Stuttgart, FRG
Lines: 41