\documentclass{beamer}
\begin{document}
\newcommand{\b}{\begin{frame}}
\newcommand{\e}{\end{frame}}
\b
\titlepage
\e
\section{AAA}
\b
\frametitle{Contents}
\e
\end{document}
How to fix this for abbreviation?
\documentclass{beamer}
\begin{document}
\newcommand{\b}{\begin{frame}}
\newcommand{\e}{\end{frame}}
\b
\titlepage
\e
\section{AAA}
\b
\frametitle{Contents}
\e
\end{document}
How to fix this for abbreviation?
\beginand\end(it is best to use the environment syntax for all environments) – David Carlisle Jul 21 '18 at 14:02