LaTeX in comments

A quick post which follows on from my earlier mention of QuickLaTeX. What I did not say was that as well as letting me use LaTeX in my posts, it also lets everyone use it in their comments. All you need to do is to put ![latexpage] at the start of your comment, and QuickLaTeX will then parse it and insert the relevant graphics. See for example my own use of this feature in a comment earlier today.

6 thoughts on “LaTeX in comments

  1. It is very convenient to preview comment before actually posting it. Especially it is important for comments with formulas – to see if formulas will be rendered properly once published.

    There is special plugin for comment preview

    Latest version of the QuickLaTeX is compatible with this plugin and fully supports AJAXified preview formulas in the comments. Just install the plugin.

    You can test this functionality on any page of my site.

  2. I guess it depends on what you are aiming at. MathJax is about maths, and does not actually use TeX to do the rendering. So it’s ideal for maths-focussed sites that want accessible content. On the other hand, QuickLaTeX does actually use TeX as the back-end. That makes it more suited to demos of TeX functionality, and also for non-maths material. That includes Tikz pictures, which I think are rather beyond MathJax.

  3. I can only add that QuickLaTeX goes far beyond MathJax capabilities even for math formulas too.

    Many math-specific features of LaTeX comes from extensions – packages, e.g. AMS-LaTeX as the most essential one, not even speaking about various math symbols (for transformations, etc).

    All of these are not supported by MathJax, and I have doubts it ever will be (is it easy to rewrite and maintain full LaTeX distribution to JavaScript?)

    On the other hand QuickLaTeX is front-end of complete LaTeX distribution (TexLive 2010), allows to use any packages and features of LaTeX natively, even the newest one as they become available.

    Here are my other thoughts about QuickLaTeX vs. MathJax (partly influenced by power shortage in Japan):

Leave a Reply