To save myself some keystrokes, I tried to define an abbreviation for \begin{align} and \end{align}
\documentclass[reqno, 11pt]{article}
\usepackage{amsmath, amsfonts, mathtools, amsthm}
\usepackage{fullpage}
\newcommand{\ba}{\begin{align*}}
\newcommand{\ea}{\end{align*}}
\title{Article Template}
\author{You}
\begin{document}
\maketitle
\section*{3}
\ba
e=mc^2
\ea
\end{document}
For some reason, the abbreviation for \begin{align} seems to work, but the abbreviation for \end{align} does not. I thought perhaps that \ea was already in use, but tweaking the name didn't change anything. Any ideas?
ba,eadon't carry any structural information. Many editors have a snippet or expansion function, so you can writeba<hotkey>to expand to\begin{align}. – Marco Sep 26 '13 at 11:40\end{align}to know when to stop the argument. It is possible (but discouraged) to work around that: see the amsmath documentation. – David Carlisle Sep 26 '13 at 11:44