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.

How introduce enumeration of equations in the double dollar math mode (i.e. $$...$$)?

Or even better, is it possible to make $$...$$ as a particular math environment, e.g. equation or align?

share|improve this question
    
I believe that $$...$$ is depricated in LaTeX. –  A.Ellett Dec 3 '12 at 15:39
    
@A.Ellett Thanks, good to know. But since I'm using a lot of equations, (usually) in the same environment, I was curious how to make it more human-readable. –  Piotr Migdal Dec 3 '12 at 15:40
2  
Indeed, you should not use $$...$$: have a look at this question Why is [ … ] preferable to $$? –  Corentin Dec 3 '12 at 15:50
add comment

2 Answers

up vote 3 down vote accepted

First, do not use double dollars for display mathematics. I teach freshman math students to use LaTeX for all homeworks and projects during sophomore-senior years and they are taught not to use double dollars for display mathematics for two of many reasons. 1) It is no longer considered the correct (current) way to delineate display mathematics 2) If is not in line with 'best practices' as there are a number of situations where they do not work correctly (or as expected)

Second to answer the question which should have been: "How do I number equations delineated by \[...\] ?" I searched this site for 'numbering equations' and found this reference: Giving an equation between \[ \]'s a number

share|improve this answer
add comment

Your question is a bit unclear, but based on this :

But since I'm using a lot of equations, (usually) in the same environment, I was curious how to make it more human-readable.

I assume you want to list several equations within the pair of \[ and \].

If so, you can use the amsmath package and its subenvironments such as gathered :

\documentclass{article}

\usepackage{amsmath}

\begin{document}

Some blabla here...
\[
\begin{gathered}
  1+1=2 \\
  2+2=4
\end{gathered}
\]

\end{document}

enter image description here

share|improve this answer
add comment

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.