[OS X TeX] \newcommand\eal{\end{align}

David Arnold dwarnold45 at suddenlink.net
Thu Nov 18 07:06:03 CET 2010


All,

A colleague of mine asked why this won't compile.

\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}

\newcommand{\bal}{\begin{align*}}
\newcommand{\eal}{\end{align*}}

\begin{document}

\bal
	\frac{3.5}{4.2} &= \frac{35}{42}\\
	&= \frac{5}{6}
\eal

\end{document}

I just didn't have a good answer to give to him.  Can some expert out there explain?

Thanks.

David


More information about the macostex-archives mailing list