For those of you who are not aware,
Google Charts has been around for awhile. It basically lets you put a bunch of data in a URL, and Google automatically generates and serves out an image of a chart for you. It makes nice graphs and charts of various shapes and sizes.
Recently, Google Charts got a big upgrade. Most notably for us, it now
supports formulas. I know people here want to do threads with equations and math. Well, you can start right now by using Google charts directly. For example, if you want to do the quadratic equation, you just take your URL-encoded LaTeX and stick it at the end of the chart URL like so.
http://chart.apis.google.com/chart?cht=tx&chl=x = \frac{-b \pm \sqrt {b^2-4ac}}{2a}Put that URL as the src in an img tag and you get.
I know people have wanted this functionality in the forums, so I'm going to add it for you this weekend. I just need to know how you want it to work. Do you want it to work like this?
<math>mathgoeshere</math>
<latex>mathgoeshere</latex>
If so, which one?
If not that way, then how?
Comments
http://latex.codecogs.com/gif.latex?x = \frac{-b \pm \sqrt {b^2-4ac}}{2a}
I've posted equations from there on the forum before.
(CodeCogs gif)
(CodeCogs png)
(Google Charts)
Personally, I'd say CodeCogs has the better rendering.
EDIT: Doh!
EDIT: Günter, BOOOO!
If it can't be done, then CodeCogs is clearly superior.
Testing
x=3+4
x = \frac{-b \pm \sqrt {b^2-4ac}}{2a}
\Large\mathbb{Q}+\lim_{x\to3}\frac{1}{x}
Also, I'm not that good at TeX, so please try some really complicated formulas. If they don't work, send me the formula because I probably just need to fix the regular expression. If the formula shows up, but isn't what you wanted, then either your TeX is wrong, or Google has a bug that needs fixing.
x=o+m+g
The biggest problem with TeX rather than LaTeX is the lack of equation alignment, shown below with CodeCogs' engine:
{x^{x^{x^x_x}_{x^x_x}}_{x^{x^x_x}_{x^x_x}}}
\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+...}}}}}}}}}}}}}}}
\frac{1}{1+\frac{1}{2+\frac{1}{3+\frac{1}{4+\frac{1}{5+\frac{1}{6+\frac{1}{7+\frac{1}{8+\frac{1}{9+...}}}}}}}}}
Edit: looks good.