Linked Questions
81 questions linked to/from What are the differences between $$, \[, align, equation and displaymath?
4
votes
1
answer
12k
views
equation* environment or \[ \]? [duplicate]
So, I'm writing a mathematics paper, and let's say I have the following:
\begin{equation*}
2+2=4
\end{equation*}
Is this the proper way to do an unnumbered equation, or is it preferred to do the ...
0
votes
0
answers
542
views
Unnumbered equations: Any difference between \begin{equation*} and \[? [duplicate]
Is there a difference between defining an unnumbered equation with
Option 1:
\begin{equation*} ... \end{equation*}
versus
Option 2:
\[ ... \]
If there are differences, they are not apparent in ...
0
votes
0
answers
83
views
Begin{equation} works better with \ than $$ [duplicate]
I am relatively new to LateX, and am a bit confused with the \begin{equation} command. I use $$...$$ to enter the math mode in a new environment. However, I find that when I combine $$..$$ with \begin{...
0
votes
0
answers
74
views
Is `\[` equivalent to \begin{displaymath}? [duplicate]
Are the following two code snippets equivalent?
Snippet One
\[
a + b = c
\]
Snippet Two
\begin{displaymath}
a + b = c
\end{displaymath}
1
vote
1
answer
64
views
Any idea why this LaTeX code errors out upon compile? [duplicate]
Does anybody here have any ideas why the following code does not seem to compile in MiKTeX 2.9? I am using the amsthm package:
$$\begin{align}
&1+(8 m - 2) (12 m + 1)^k + (48m^2 - 8 m + 1)...
1
vote
0
answers
28
views
Difference in the three methods for unnumbered equation [duplicate]
What is the (subtle) difference between the three ways to typeset unnumbered equations (if any)?
The first is the plain tex,
$$ E = mc^2 $$
The second is the LaTeX
\[ E = mc^2 \]
And the third is ...
740
votes
8
answers
239k
views
Why is \[ ... \] preferable to $$ ... $$?
I've heard that you should use \[ ... \] for displayed equations instead of $$ ... $$, but why is that?
I'd assumed that it's so that you can more easily tell which are starting and which are ending ...
186
votes
7
answers
703k
views
How do I turn off equation auto numbering
I have an equation like this:
\begin{align}
P(A \cup B) = \sum_{\omega \in A \cup B} P(\omega) = \sum_{\omega \in A} P(\omega) + \sum_{\omega \in B} P(\omega)
= P(A) + P(B)
\end{...
101
votes
5
answers
85k
views
align vs equation
I always use align in my documents, and avoid equation. Is there anything wrong with that? My reasoning behind this: align > equation, so why not use it?
52
votes
2
answers
230k
views
Getting the expectation symbol to behave like $\sum$ instead of $\Sigma$
How can I get an expectation symbol which behaves like $\sum$? Specifically, I want the underscore to be like that of a summation. At the moment I use
$$\mathbb{E}_{x\in A}$$
However, I do not ...
14
votes
6
answers
2k
views
Defining `$$$ $$$` to align
I would like to define
$$$ \zeta(s) = \dfrac1{1^s} + \dfrac1{2^s} + \cdots $$$
as a short hand for
\begin{align}
\zeta(s) = \dfrac1{1^s} + \dfrac1{2^s} + \cdots
\end{align}`
How should I go about ...
40
votes
2
answers
137k
views
How to draw matrix with dots?
How can I draw a matrix with dots in tex like the one shown below:
26
votes
2
answers
32k
views
How do I use AMS Euler?
% What to do here
\begin{document}
This is good integration.
$$\displaystyle \int x dx = \frac{x^2}{2}$$
\end{document}
I don't know much about LaTeX so I am going to need some spoon feeding. ...
15
votes
4
answers
2k
views
Can I get $$...$$ to behave like \[...\]?
Is it possible to modify LaTeX so that good old $$...$$ behaves like \[...\] (and by this I mean that it should be synonymous to it).
If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...
14
votes
4
answers
3k
views
Make Legendre symbols the same size
I've been having a bit of trouble typesetting (n-th power) Legendre symbols. I've set up the command
\newcommand{\Leg}[3][]{\left(\frac{#2}{#3}\right)_{#1}}
But, when I type e.g.
$$\Leg[3]{\pi}{\...