I'm trying to use shortcuts with different math environments. I managed to do this easily with equation environment. But when I tried the same with align environment, a bunch of errors occurred.
Following MWE demonstrates the behaviour
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\newcommand{\bal}{\begin{align}}
\newcommand{\eal}{\end{align}}
\begin{document}
\bal 2x_1 + x_2 &= 2 \\ x_1 - x_2 &= 1 \eal
\end{document}