PostHeaderIcon Google Chart APIを使ってTeX数式の画像を取得

下記のようなタグをHTMLに埋め込みます。

<img src="http://chart.apis.google.com/chart?cht=tx&chl=F(\omega)=\int_{-\infty}^{\infty} f(t)e^{-j\omega t} {\mathrm d}t" alt="Fourier transform" />

すると、

Fourier transform

となって出来上がり!フーリエ変換ですね!

たとえばこんな格好良い数式も、

<img src="http://chart.apis.google.com/chart?cht=tx&chl=\frac{1}{\pi}=\frac{2\sqrt{2}}{99^{2}}\sum_{n=0}^{\infty}\frac{(4n)!(1103%2B26390n)}{(4^{n}99^{n}n!)^4}" alt="Ramanujan's pi" />

こうやって出来上がり!Ramanujan's pi

ラマヌジャンの円周率の公式ですね。’+’の記号は’%2B’にURLエンコードしてあげないといけないみたいです。

※2012/5/11補足

Google Chart APIの公式ページによると、数式関係のAPI(Infographics)は2012/4/20現在Deprecated(非推奨)とのこと。。。近日なくなるやもしれません。便利なのになあ。。。

Google Chart API Infographics https://developers.google.com/chart/infographics/



35 Responses to “Google Chart APIを使ってTeX数式の画像を取得”

  • Epic fail says:

    Thats a very nice Comment you have there. It would be a shame if something were to happen to it..

  • Jesus says:

    Calling all cars, clianlg all cars, we’re ready to make a deal.

  • Kathy says:

    Hey I know this is off topic but I was wondering if you knew of any widgets I could
    add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  • Edna says:

    Hi, just wanted to tell you, I loved this post. It was inspiring.
    Keep on posting!

  • Excellent beat ! I would like to apprentice even as you amend
    your web site, how could i subscribe for a blog website?
    The account helped me a applicable deal. I had been tiny bit familiar
    of this your broadcast offered shiny clear concept

  • If some one needs to be updated with hottest technologies afterward he
    must be visit this site and be up to date daily.

  • Great blog here! Also your web site loads up fast! What
    web host are you using? Can I get your affiliate link to your host?

    I wish my website loaded up as fast as yours lol

  • Dean says:

    Hi to every one, the contents present at this website are actually remarkable for people experience, well,
    keep up the good work fellows.

  • I’ve been exploring for a little for any high quality articles or weblog posts on this sort of space . Exploring in Yahoo I ultimately stumbled upon this web site. Studying this info So i am satisfied to exhibit that I have a very excellent uncanny feeling I discovered exactly what I needed. I such a lot indubitably will make certain to do not put out of your mind this website and give it a look on a relentless basis.

  • e-ticaret says:

    Thanks for every other magnificent article. The place else may just anybody get that kind of information in such a perfect manner of writing? I’ve a presentation subsequent week, and I am at the look for such information.

  • Thank you for posting this reflective blog. As we all know, many people have staunch opinions, however, I have always had an open mind. Changes each month require that thinking. When I have the time, I might return to read more of your writing. How often do you upload your pages so I can come back to your website? I do believe that we may share many of the same views.

  • I am in fact thankful to the holder of this web page who has shared this enormous article at at this place.

  • Hi there! This post could not be written much better! Going through
    this article reminds me of my previous roommate! He constantly kept talking about
    this. I am going to forward this post to him. Pretty sure he’ll have a very good read. Thank you for sharing!

  • Michell says:

    Every weekend i used to visit this website, because i wish for enjoyment, since this this web site
    conations really good funny data too.

  • hello!,I like your writing so so much! percentage we keep in touch more approximately your post on AOL? I require an expert on this house to solve my problem. May be that’s you! Looking ahead to peer you.

  • You got a very good website, Glad I found it through yahoo.

  • Really no matter if someone doesn’t know then its up to other viewers that they will assist, so here it happens.

  • Winona says:

    Because the admin of this web page is working, no hesitation very quickly it will
    be well-known, due to its feature contents.

  • youtube.com says:

    I’m not that much of a internet reader to be honest
    but your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back later on. Cheers

  • Can I simply just say what a comfort to discover somebody who truly
    understands what they’re talking about online. You actually realize how to bring an issue to light and make it important. A lot more people should look at this and understand this side of the story. I was surprised you are not more popular given that you most certainly possess the gift.

  • An interesting discussion is worth comment. I do think that you should publish more on this issue, it
    may not be a taboo matter but usually folks don’t speak about these subjects. To the next! Best wishes!!

  • Valuable details. Fortunate me I stumbled upon your site by possibility, and Now i’m shocked precisely why this chance didn’t took place in improve! I added it.

  • It’s really a nice and helpful piece of info. I’m satisfied that you shared this helpful information
    with us. Please keep us informed like this. Thanks for sharing.

  • Post writing is also a fun, if you know then you can write otherwise it
    is complex to write.

  • Hello! I could have sworn I’ve been to this website before but after browsing through some of the post I realized it’s new to
    me. Anyhow, I’m definitely glad I found it and I’ll be book-marking and checking back
    frequently!

  • Magnificent website. A lot of helpful info here.
    I’m sending it to some buddies ans also sharing in delicious. And of course, thank you in your effort!

  • Chad says:

    Thank you a lot for sharing this with all people you actually recognise what you are talking approximately!
    Bookmarked. Kindly also seek advice from my web site =).
    We will have a hyperlink alternate contract between us

  • Hello, its fastidious post concerning media print, we all understand media is a fantastic source of facts.

  • Thanks for the post I actually learned something from it. Very good content on this site Always looking forward to new post.

  • Oh my goodness! Impressive article dude! Many thanks, However I am having
    problems with your RSS. I don’t understand the reason why I am unable to join it. Is there anyone else getting identical RSS problems? Anybody who knows the solution can you kindly respond? Thanks!!

  • Greetings! Very helpful advice within this article! It is the little
    changes that produce the most important changes.
    Many thanks for sharing!

  • Wow, wonderful blog structure! How long have you been blogging for? you made blogging look easy. The full glance of your website is magnificent, let alone the content material!

Leave a Reply