1

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?

Eric Auld
  • 1,223

0 Answers0