I want to make the code shorter. I defined the following pair of macros:
\def\b*{\begin{align*}}
\def\e*{\end{align*}}
My point is that I saw this in a document, with
\def\b*{\begin{eqnarray*}}
\def\e*{\end{eqnarray*}}
instead. The first pair of macros do not compile (on sharelatex.com), and the second one does. Why?
\endneeds to be explicit Also why the*? – David Carlisle Apr 11 '14 at 23:15\def\b*defines\bnot\b*(but defines it to require a*) amsmath is open source so you can change anything but basically no, it is not intended that you hide the environment syntax. – David Carlisle Apr 11 '14 at 23:24}. Did that happen when writing this post? – LaRiFaRi Apr 11 '14 at 23:32