I'm interested in where the convention for using the backslash-bracket (\[ ... \]
) for math display environments originates. I really can't stand slash-bracket notation because most people write it on a single line like so:
\[ f(x) = |x| \]
,
which makes it difficult to find math equations, even in relatively small documents. I always use equation
or displaymath
environments because
- it's much easier to search, especially with LaTeX languageservers, which are designed for use with LaTeX environments;
- it improves code readability. It's not just my opinion that LaTeX is more readable when it uses
displaymath
environments; when I share LaTeX code for collaborating on presentations, homework, or research my companions often comment that my code is very clean and easier to read, citing the lack of backslash-brackets as the reason.
Why is the backslash-bracket convention so popular? Is it just due to collective laziness to write a \begin{displaymath} ... \end{displaymath}
block?
\[
and\]
on lines by themselves.