TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I want to be able to use the \[ ... \] shorthand to enter either the equation or align environment instead of the displaymath environment. Is it possible to do this? I know you can define new commands, but I'm not sure if it is a problem if they are already defined.

Context: I use MultiMarkDown and you use \\[ and \\] to enter math using raw LaTeX. It works fine, except that the math environment you are entering is displaymath instead of equation or align.

I'd really appreciate any help.

share|improve this question
up vote 6 down vote accepted

I'm not sure what syntax you want. If you want to change \[ and \], just use something like:


If you want to use commands \\[ and \\] with double backslash, things may be more complex. It is possible, but difficult to implemented, and not recommended, since there is already a \\ command and usage \\[2ex].

share|improve this answer
That's it! Thanks! – Sealander Jun 19 '11 at 16:13

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.