It seem like a same thing to me. But I don't ever try \begin{math}.............\end{math}
Asked
Active
Viewed 213 times
1 Answers
9
A quick experiment:
\documentclass{article}
\usepackage{fullpage}
\begin{document}
\begin{enumerate}
\item \verb@\[\sum_{i=1}^n i=\frac{n(n+1)}{2}\]@:
\[\sum_{i=1}^n i=\frac{n(n+1)}{2}\]
\item \verb@\begin{displaymath}\sum_{i=1}^n i=\frac{n(n+1)}{2}\end{displaymath}@:
\begin{displaymath}\sum_{i=1}^n i=\frac{n(n+1)}{2}\end{displaymath}
\item \verb@\(\sum_{i=1}^n i=\frac{n(n+1)}{2}\)@:
\(\sum_{i=1}^n i=\frac{n(n+1)}{2}\)
\item \verb@\begin{math}\sum_{i=1}^n i=\frac{n(n+1)}{2}\end{math}@:
\begin{math}\sum_{i=1}^n i=\frac{n(n+1)}{2}\end{math}
\end{enumerate}
\end{document}
citsahcots
- 7,992
-
And of course,
$...$is the same as the last two. And (withamsmath)\begin{equation*}...\end{equation*}is the same as the first two. – Teepeemm Aug 06 '21 at 15:06 -

\[ .... \]and\begin{math}....\end{math}? As others have mentioned your question does not make much sense as it is – daleif Aug 06 '21 at 12:36\[....\]makes displayed math.\begin{math} XXX \end{math}gives the same as$ XXX $. I have never seen anyone use themathenv in my 20+ years of LaTeX – daleif Aug 06 '21 at 12:44