Quantcast
Channel: Why is \[ ... \] preferable to $$ ... $$? - TeX - LaTeX Stack Exchange
Browsing all 9 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by user4686 for Why is \[ ... \] preferable to $$ ... $$?

It is not always preferable to use \[..\]!The source2e.pdf file contains the documented source of LaTeX2e. Therein, one sees that \[..\] is essentially a wrapper for $$ .. $$ checking if the construct...

View Article



Answer by David Carlisle for Why is \[ ... \] preferable to $$ ... $$?

$$ is TeX primitive syntax, which, as others have commented is hard to redefine (in classic TeX there is no command name which triggers entering or leaving display math).LaTeX doesn't officially...

View Article

Answer by Samuel for Why is \[ ... \] preferable to $$ ... $$?

Here is one more reason (this is what converted me). If you use the \begin{proof}...\end{proof} environment, you occasionally end a proof with an equation. The automatic QED box then ends up on a line...

View Article

Answer by vanden for Why is \[ ... \] preferable to $$ ... $$?

While my memory prevents me from naming the guilty software, I have seen LaTeX syntax highlighting become confused by the $$ ... $$ construct when it parsed the \[ ... \] construct correctly.Agreed,...

View Article

Answer by qbi for Why is \[ ... \] preferable to $$ ... $$?

$$ is plain TeX and could have some side effects, also fleqn will not work anymore. Please have a look at l2tabu. In my opinion the best environment for equations is gather or align. If you use...

View Article


Answer by Kristoffer Arnsfelt Hansen for Why is \[ ... \] preferable to $$...

Spacing is wrong.It is a "deadly sin" according to l2tabu, section 1.6 on page 6:http://www.ctan.org/tex-archive/info/l2tabu/english/

View Article

Answer by Willie Wong for Why is \[ ... \] preferable to $$ ... $$?

[Edit: I should add the disclaimer that the following is based on just "I read it somewhere sometime ago", so I have no references to backup my claims.]As far as I know $$ ... $$ is a TeX, amsTeX...

View Article

Answer by David Z for Why is \[ ... \] preferable to $$ ... $$?

I suppose it could be useful if you share your files with someone else who doesn't have a syntax-highlighting text editor. Other than that, it probably doesn't matter much. Certainly if nobody else...

View Article


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...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images