Take the 2-minute tour ×
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.

Is there any shorthand for numbered equation environment?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

If you use a package, which only numbers the referenced equations, there is no need for a distinction between a numbered and an unnumbered equation. This is possible with mathtools. If you always want to use the normal equation shorthand (like \[a + b = c\]), you can use the autonum package.

share|improve this answer

You can use a new command to start the environment and other to finish it, for example, \def\beq{\begin{equation}}.

share|improve this answer
1  
You could also use \let\beq\equation and \let\eeq\endequation. –  Werner Jun 23 '12 at 23:30

I think using a lot of custom abbreviations is not good for the readability of your source code. Instead you should use a good editor which helps you with these kind of things. For example if you are a vim user, you can take a look at vim-latex, sometimes also called LaTeX-Suite. It is a great tool for writing LaTeX code and in particular, you just need to type in EEQ and it will immediatly replace it with

\begin{equation}

\end{equation}<++>

place the cursor inside of the environment and allow you to jump to the <++> marker after the environment with Ctrl+J.

I found this very comfortable. Of course for some other editors there are probably similar features.

share|improve this answer
    
Thanks, I completely agree with you, however I though when there is a shorthand for number-less equation there should be one for numbers equation, but it seems that it is not true! –  PHPst Jun 24 '12 at 18:22

Your Answer

 
discard

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.