[texhax] A question with regards to align*

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Tue Apr 8 19:03:39 CEST 2008


>  > and I'm wondering whether it is possible to make LaTeX 
> read  >  > $$ .... $$ as \begin{align*} ... \end{align*}???
> [snip]

Read Lars' reply.

> If you were prepared to use \[...\] instead of $$...$$, then 
> it would probably just be a case of (untested):
> 
> \renewcommand{\[}{\begin{align*}
> \renewcommand{\]}{\end{align*}

Argghhh!  This is not a good suggestion: LaTeX will bomb out on finding \[
in the text because, as Lars said, \begin{align*} needs to find \end{align*}
and it won't.  (Also both \renewcommand's here are missing a closing brace!)

Cheers,  Phil



More information about the texhax mailing list