[texhax] Text in Math Mode

Senthilkumar kumarsenthil at netscape.net
Wed Feb 18 13:14:54 CET 2004


Hi All

How about defining a macro like this

\documentclass{article}
\usepackage{amsmath}
\newcommand\Iff[2]{\text{\quad iff\ }#1\ \text{and}\ #2}

\begin{document}

$$a = b \Iff{a \geq b}{a \leq b}$$

\end{document}

Regards
Senthil



More information about the texhax mailing list