[texhax] Text in Math Mode
E. Krishnan
ekmath at md5.vsnl.net.in
Wed Feb 18 06:43:46 CET 2004
On Tue, 17 Feb 2004, Robert Sherry wrote:
> I wrote the following line in LaTeX:
> $$a = b~iff~a \geq b~and a \leq b$$
> I would like LaTex to generate something like:
> a = b iff a >= b and a <= b
This will not give the needed input, since the words "iff" and "and" will
also be treated as mahematical formulas. The best way seems to be to use
the "amsmath" package and do
\begin{equation*}
a=b\;\text{iff}\;a\geq b\;\text{and}\;a\leq b
\end{equation*}
--
Krishnan
More information about the texhax
mailing list