So instead of using the whole
\begin{equation}
{body}
\label{}
\end{equation}
I could simply type something like
\inserteq{{x+y=1}{eq1}}
That would be very helpful. Thanks on advance!
macros
So instead of using the whole
\begin{equation}
{body}
\label{}
\end{equation}
I could simply type something like
\inserteq{{x+y=1}{eq1}}
That would be very helpful. Thanks on advance!
Best Answer
I've used these for years with no ill effects (other than tohecz [aka yo'] complaining about my typography
:^)
) This doesn't convert the environments into macros, but merely creates a shorthand syntax for getting into and out of theequation
environments, with or without labels and/or punctuation.Typical usage might be