I'm trying to define a shortcut / new command for equations split on multiple lines.
The \beq and \eeq commands below work, for single line equations, but the \bsp and \esp commands don't.
The error message I see is
! Paragraph ended before \split was complete.
and this could mean a blank line somewhere, but I don't know how to fix this.
\documentclass[12pt]{article}
\usepackage{amsfonts,amsfonts,amsmath,amssymb,bm}
\newcommand{\beq}{\begin{equation}}
\newcommand{\eeq}{\end{equation}}
\newcommand{\bsp}{\begin{split}}
\newcommand{\esp}{\end{split}}
\begin{document}
This equation works
\beq
a^2 + b^2 = c^2
\eeq
And this one
\beq
\begin{split}
\cos(a+b) &= \cos a \cos b - \sin a \sin b \
\sin(a+b) &= \sin a \cos b + \cos a \sin b
\end{split}
\eeq
But this one doesn't
\beq\bsp
\cos(a+b) &= \cos a \cos b - \sin a \sin b \
\sin(a+b) &= \sin a \cos b + \cos a \sin b
\esp\eeq
\end{document}
