For reference, I recently came up with a better solution by redefining the math environments:
Code: Select all
\usepackage{calc} % to make calculations with lengths
\newlength{\myMargin}
\setlength{\myMargin}{5em}
Code: Select all
% For align environments:
\let\oldalign\align
\let\endoldalign\endalign
\renewenvironment{align}{%
\oldalign\hspace{\myMargin}}{%
\endoldalign\ignorespacesafterend}
Code: Select all
% For multline environments:
\let\oldmultline\multline
\let\endoldmultline\endmultline
\renewenvironment{multline}{%
\oldmultline\hspace{\myMargin}}{%
\endoldmultline\ignorespacesafterend}
Code: Select all
% For normal equations they still have to go in
% minipages because alignment characters send the
% equation to the left otherwise - quite strange
\let\oldequation\equation
\let\endoldequation\endequation
\renewenvironment{\myMargin}%
{\par\begin{minipage}[b]{\linewidth-\myMargin}
\begin{oldequation}
}%
{
\end{oldequation}
\end{minipage}
\par
}
I may have missed some environments - these are the ones I use most frequently, but I'm sure the solution could be extended.