7

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?

6
  • I believe that $$...$$ is depricated in LaTeX.
    – A.Ellett
    Dec 3, 2012 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. Dec 3, 2012 at 15:40
  • 2
    Indeed, you should not use $$...$$: have a look at this question Why is [ … ] preferable to $$?
    – Corentin
    Dec 3, 2012 at 15:50
  • There is a helpful program for getting rid of $$ signs, due to Andrew Stacey: math.ntnu.no/~stacey/HowDidIDoThat/LaTeX/debuck.html Feb 3, 2015 at 10:08
  • @BenjaminMcKay Technically, getting rid of $$ is simple. However, I still use them for UX purposes - \[ does interfere with looking at an equation, while $$ does not (brackets are very common and dollars are very rare in typical mathematical typesetting). Feb 3, 2015 at 14:03

2 Answers 2

7

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

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .