Suppose I want to make a matrix. Then I need to end each line with a double backslash, to signify a line break. But Markdown will translate a double back slash into a single backslash, thus confusing JSMath, as I learned while answering this question. On MO, the standard solution is to enclose our LaTeX in backticks, so that Markdown will treat it as code and leave it alone. This apparently doesn't work on math.SE.

I worked around this by typing quadruple backslashes, which Markdown makes into double backslashes, and JSMath then understands as line breaks. Is there a better solution?

  • 3
    $\begingroup$ I wonder the same thing. Triple backslashes worked for me, but I really have no idea what I'm doing. I just try throwing an extra backslash in whenever it doesn't work. $\endgroup$ Sep 14, 2010 at 22:51
  • $\begingroup$ See also meta.math.stackexchange.com/questions/544/… $\endgroup$
    – Larry Wang
    Sep 15, 2010 at 18:08
  • $\begingroup$ I've tried this here, it seems to work fine now. This old thread was bumped by @mosa, who changed tags from (bug) to (support). (At first, I did not notice that is is an old question.) $\endgroup$ Jul 8, 2013 at 8:16
  • 7
    $\begingroup$ This question appears to be obsolete because it pertains to JSMath, while our current maths renderer is MathJax. $\endgroup$
    – Lord_Farin
    Jul 8, 2013 at 8:18
  • 1
    $\begingroup$ While the topic is moot now, I seem to remember discussion on meta that it was not the policy to delete old bug reports (hopefully things get fixed, no reason to forget they once occurred). As to closing them as "off-topic", it seems less apt than applying some sort of tag "status no-repro" (not reproducible). $\endgroup$
    – hardmath
    Jul 12, 2013 at 0:08

1 Answer 1


The Mathoverflow workaround is further described by KennyTM here. If you favor that method, upvote his feature-request.

For now, extra backslashes is the simplest solution.


Not the answer you're looking for? Browse other questions tagged .