TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
up vote 14 down vote accepted

* 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}
share|improve this answer
Good answer. One should note that \newenvironment{mequation}{\begin{align*}}{\end{align*}} does not work. It's the same problem as with split, explained here by barbara beeton. – Hendrik Vogt Mar 21 '11 at 18:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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