{"id":10,"date":"2011-07-06T18:03:10","date_gmt":"2011-07-06T18:03:10","guid":{"rendered":"http:\/\/florian-roemer.de\/blog\/?p=10"},"modified":"2011-07-18T11:22:52","modified_gmt":"2011-07-18T11:22:52","slug":"mathjax-test","status":"publish","type":"post","link":"https:\/\/florian-roemer.de\/blog\/mathjax-test\/","title":{"rendered":"Mathjax test"},"content":{"rendered":"<p>Sometimes, my blog posts my contain formulas. This could be simple inline formulas like $e^{j \\pi} + 1 = 0$ or longer ones line $\\int_{-\\infty}^\\infty e^{-x^2} {\\rm d}x = \\sqrt{\\pi}$. It could also be displayed equations like<\/p>\n<p>$$\\sum_{n=0}^\\infty q^n = \\frac{1}{1-q}, \\quad q \\in \\real, |q| &lt; 1.$$<\/p>\n<p>And, in particular they might involve vectors ($\\ma{a}, \\ma{b}$), matrices ($\\ma{A}, \\ma{B}$), and tensors ($\\ten{A}, \\ten{B}$), which may appear in longer equations too<\/p>\n<p>$$ \\ten{I}_{R,d} \\times_1 \\ma{F}_1 \\times_2 \\ma{F}_2 \\ldots \\times_R \\ma{F}_R = \\ten{S}^{\\rm[s]} \\times_1 \\ma{U}_1^{\\rm[s]} \\times_2 \\ma{U}_2^{\\rm[s]} \\ldots \\times_R \\ma{U}_R^{\\rm[s]}.$$<\/p>\n<p>All these should render on any browser without much hassle. It seems I have found the perfect solution for this and it is called <a title=\"MathJax\" href=\"http:\/\/www.mathjax.org\">MathJax<\/a>. I have no idea how these guys do it, but I am convinced there is a lot of magic involved. It is basically incredible. You add one line to the header of your HTML file, eh voil\u00e1, you&#8217;re free to use LaTeX commands right away. It needs no Java no Flash, not even graphics. Only JavaScript. And magic. Gotta be.<\/p>\n<p>Anyways, here is my honest appreciation to the guys from MathJax for creating something which behaves like it should: It just works.<\/p>\n<p>Should the impossible situation occur that you are having trouble to see the rendered equations, please tell me so instantly, e.g., by leaving a comment. Don&#8217;t forget to mention your browser.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, my blog posts my contain formulas. This could be simple inline formulas like $e^{j \\pi} + 1 = 0$ or longer ones line $\\int_{-\\infty}^\\infty e^{-x^2} {\\rm d}x = \\sqrt{\\pi}$. It could also be displayed equations like $$\\sum_{n=0}^\\infty q^n = \\frac{1}{1-q}, \\quad q \\in \\real, |q| &lt; 1.$$ And, in particular they might involve vectors [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/posts\/10"}],"collection":[{"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":17,"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/posts\/10\/revisions\/40"}],"wp:attachment":[{"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/florian-roemer.de\/blog\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}