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

Don Green Dragon fergdc at Shaw.ca
Fri Nov 19 05:23:06 CET 2010


Hi Ross,

Neat explanation! Thanks.  :-)

On 2010-17Nov-, at 11:58 PM, Ross Moore wrote:

> Hi David,
> 
> On 18/11/2010, at 5:06 PM, David Arnold wrote:
> 
>> 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*}}
> 
> First the dogma:
> 
> Definitions of this kind are prone to disasters.
> You should stick to the markup that is already defined,
> and not make such silly shorthands.
> Use editor templates if there is a need to reduce typing.
> 
> 
> Now the technical reason why it fails:

<<snip>>


Don Green Dragon
fergdc at Shaw.ca





More information about the macostex-archives mailing list