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
?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityFirst, 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
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}
$$...$$
is depricated in LaTeX.$$...$$
: have a look at this question Why is [ … ] preferable to $$?$$
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).