Article View: comp.text.tex
Article #10047Re: Math mode in LaTeX
From: geyer
Date: Sun, 02 Jun 1991 17:53
Date: Sun, 02 Jun 1991 17:53
26 lines
1285 bytes
1285 bytes
In article <1991Jun2.075733.26205@agate.berkeley.edu>
edward@priam.Berkeley.EDU (Edward Wang) writes:
>The orignal article and I believe all of the followups
>seem to have missed an important point. To give something
>like "or" the right spacing, you should make it a binary
>operator. Just using an escape into normal mode (however
>convenient it may be) won't be correct in all situations.
>Sometimes, you may want \mathord or whatever instead.
Quite right, for example
\newcommand{\set}[1]{\{\,#1\,\}}
\newcommand{\aand}{\mathbin{\rm and}}
\newcommand{\oor}{\mathbin{\rm or}}
\[ C = \set{ (x, y) : x = 0 \aand y \ge 0 \oor x \ge 0 \aand y = 0 } \]
Also note the nice set macro that implements the advice on p.~174 of the
\TeX book.
Charles Geyer
Department of Statistics
University of Chicago
geyer@galton.uchicago.edu
Technical Details
Message-ID:
<1991Jun2.175323.14947@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!news From: geyer@galton.uchicago.edu Newsgroups: comp.text.tex Subject: Re: Math mode in LaTeX Message-ID: <1991Jun2.175323.14947@midway.uchicago.edu> Date: 2 Jun 91 17:53:23 GMT Sender: news@midway.uchicago.edu (NewsMistress) Organization: University of Chicago Lines: 26