In my work redesigning the lab webpages for the Comp 160 class I was TA for last semester, I ran across a really cool JavaScript for displaying math on webpages: ASCIIMathML. This makes all those equations super easy to read on the webpage (may take some time to render):
Code | Output |
---|---|
\`x^2+y_1+z_12^34\` | `x^2+y_1+z_12^34` |
\`sin^-1(x)\` | `sin^-1(x)` |
\`\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\` | `\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}` |
\`f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n\` | `f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n` |
\`\int_0^1{f(x)\,dx}\` | `\int_0^1{f(x)\,dx}` |
No comments:
Post a Comment