Let's say I want to use the align-environment in a newenvironment like this:


This works fine. However, what if I want to use the starred version of align*?


Doesn't seem to work.. Any ideas?

  • I expect there is a simple xparse solution to this: defining a starred and non-starred version at the same time... – Seamus Mar 21 '11 at 18:52

* cannot be used for the name of a control sequence. You must use the \csname...\endcsname pair here :

\newenvironment{mequation}{\csname align*\endcsname}{\csname endalign*\endcsname}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.