Hot answers tagged

13

This has been turned on, so you should be good to go. (:


11

You can enclose LaTeX math code in $...$ for inline math, and $$...$$ resp. for indented equations. MathJax supports essentially the commands native to $\LaTeX$ as well as those defined by amsmath and amssymb (with some exceptions in both directions). For a complete list, see the MathJax reference. I have found these references to be useful: Wikipedia ...


11

No, you can not. You can use any free-hand drawing app and upload the resulting PNGs. If you want to use TikZ, I have built scripts that can help you.


10

I give a general introduction on what I consider good editing practice here. With respect to LaTeX, specifically, I have some thoughts. In titles: the less, the better. Not only do LaTeX-heavy titles slow down loading of question lists, they are -- when more complex -- also all but impossible to decipher in RSS feed readers and in the mobile SE app. A ...


9

I don't think there's an official policy, but I agree with Raphael's answer that Mathjax should 'rather not' be used in titles, mostly for the reason that titles are (automatically) used in a lot of places that don't interpret Mathjax. Specifically, my advice would be to: If a title contains 'plaintext formulas', such as Is O(n^2/2) <= O(n^2)?, do not ...


6

As Peter points out in the comments, the issue in the linked post is about combining primes with carets (^). The expression q^'_0 is invalid LaTeX (it produces an error message even in LaTeX). Version 2.0 incorrectly processed this expression, but that was fixed in version 2.1, which was released back in October of 2012 (a few months after the post you ...


6

It works if you use two backslashes instead of one (i.e. \\{ and \\}). One interesting thing to note is that if you type \{ or \} outside any latex environment (and without using code tags around it), it shows up without the backslash: { }. So it seems like for some reason the markdown engine consumes the backslash before MathJaX can get to it.


5

This seems to be a common issue in various less thoroughly tested parts of the Stack Exchange code base. For example, it also happens in the 10k flag review for any posts hidden behing the "show already flagged posts" link. The fundamental cause of this bug is a combination of the following issues: When the duplicate tabs (and various other hidden-by-...


4

It's certainly possible, using the standard LaTeX environments: $\begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}$ yields: See here for details and variants.


4

Apologies here - I inadvertently disabled MathJax on the site. I've re-enabled it now.


3

I agree that this is worth looking at. Since this concernes more than one site, I pushed the matter upstream.


3

I write them in a plain text file (in my case with gedit or Geany) and translate with pandoc: pandoc --mathjax -s -o post.html post.md That gives you a pretty good idea of what to expect on SE, provided you don't use Markdown features one of pandoc and SE does not support. I should maybe note that I keep a record of the images I create (in files) since ...


3

Because the math can include things like \def, \label, \ref, etc., it turns out to be a more complex process to do incremental updates than you might think. I did a version of it here, but I don't think it works any more (hooking into the SE editor was fragile, and I think the code has changed since I wrote the userscript, and it no longer is able to hook ...


3

These should be encoded as \lt and \gt instead of using < and > directly.


3

I use \dfrac (or \cfrac). (Example.) And yes, it's painful. Please don't post images of math. They're completly inaccessible to blind people, they can't be searched (not that math search works well on the web today, but it's more likely to improve than image content search), they can't be edited.


3

We're not really sure why it wasn't turned on for Meta - it should have been enabled here when it was enabled on main. It's enabled now. :)


2

It is a bug I have been having for the last 2-3 days. It happens with all MathJax rendering, not just in a profile. The culprit must be a browser addon, because when I start a new, clean, browser profile, I don't see it. I have not yet looked into it to see which addon is causing the problem. I am inclined to suspect LastPass, because it was updated soon ...


2

Do not use MathJax in your profile. It won't work on sites without MathJax, e.g. Meta. Also, nobody wants to see colorful markup in your description. I have looked at your profile and some of your posts. I can not see any '|'s there. Please provide a screenshot of the problem.


2

MathJax v2.0 added the ability to position to the location in the hash reference of the URL after MathJax finished processing the math, but it has some unwanted consequences for some pages, and so was off by default. MathJax v2.1 (in beta at the moment, scheduled for release within the next two weeks) should resolve those problems and so has this feature on ...


2

You may use this online graphical tool to create Latex formulas: http://www.codecogs.com/latex/eqneditor.php


2

MathJax's CDN is having... issues. Nothing we can do on our end, should be resolved soon. Update: appears to be up now. Devs have added potential for a work-around if it happens again.


2

I used to use notepages (demo, project). It was slightly annoying, because they use different open/close symbols for mathjax. Then I started using stackedit (project), which works great, and integrates well with Google Docs/Drive and Dropbox. You can even install it as an App under google docs, which will create a stackedit document that will automatically ...


1

Seems to be fixed now, see e.g. here.


1

This seems to be a nasty interaction between MathJax and markdown. The parser is thrown off by the presence of nested $ signs inside \text and that triggers some markdown expansion which strips one level of \. Normally all markdown expansion is turned off inside MathJax, so the \ signs arrive unmangled to the MathJax interpreter. A possible workaround here ...


Only top voted, non community-wiki answers of a minimum length are eligible