Toronto Math Forum
General Category => General Discussion => Technical Questions => Topic started by: Victor Ivrii on January 25, 2013, 01:47:17 AM

I noticed constructions like
$a\\ b$
and $$a\\ b$$
This is not good! Reason: the former works in LaTeX but here \\ means linebreak and in inline math here you get $1\\2$ (improper vertical alignment) and in the real LaTeX 2 will just move to the beginning of the next line.
The latter does not work at all (simply ignored) as LaTeX has several multilined environments: gather, split, align and multline (in AMSLaTeX which we support here), their * versions gather*, split*, align* and multline* and also gathered, aligned.
As we want to be able to copypaste from MathJax to LaTeX with no editing we should use a proper syntax.
PS. Opposite is not true as MJ is not full LaTeX environment, and is not intended to be. Due to technical reasons (inner mathml engine) even \intertext does not work in MJ.
PPS. There are lots of things like it works but is deprecated

eqnarray is buggy and deprecated
More genera:
http://ctan.cms.math.ca/texarchive/info/l2tabu/english/l2tabuen.pdf (http://ctan.cms.math.ca/texarchive/info/l2tabu/english/l2tabuen.pdf)
explains what one should and should not do in LaTeX