Friday, June 11, 2010

LATEX Works on Blogspot!

Today I chanced upon a webpage which had instructions on how one could enable LATEX on blogspot, and write stuff like $\LaTeX$, $\frac{1}{2}$, $\mathcal{P}^r(\mathcal{L})$ or even:

\[ \frac{numerator1}{denominator1 + \frac{numerator2}{denominator2 + \frac{numerator3}{denominator3}}} \]
Needless to say, I am pretty excited.

Edit: The link with the instructions seems to be down. However, following these instructions will have latex working on your blog.

(1) Copy the piece of code below and paste it in a "HTML/Javascript" blogger box.



(2) Type latex code between $ signs.

(3) Publish the post.

(4) Behold and enjoy.

32 comments:

hemanth.hm said...

$\LaTeX$ Rocks, 3 cheers to /kəˈnuːθ/ :)

Prashanth said...

Dude, \m/

Thanks for the info :)

Abhiram said...

@Hemanth: $\usepackage{wasysym}
\smiley$ - $\LaTeX$ again...

@Prashanth: \m/ indeed. Does it show up on google reader BTW?

Prashanth said...

@Abhiram

Nope. I get the latex code on reader :(

Btw, is there any easy way to include hindi/kannada in latex documents? Googling didn't help much!

Abhiram said...

@Prashanth:

http://ftp.math.purdue.edu/mirrors/ctan.org/language/devanagari/velthuis/tex/latex/velthuis/devanagari.sty

Get ^^^ and do \usepackage{devanagari} and then {\dn Abhiram Rocks}.. You will have to do some searching to find manuals on how to actually write what you want.

Abhiram said...

@Prashanth: http://sites.google.com/site/abhiramfiles1/Home/blog-files/DevanagariforTEX.pdf

Thats your manual. You are welcome :)

Madhusudan.C.S said...

OMG! Freakin Awesome! Never knew this. Thanks a lot

Prashanth said...

Thanks! :) I was looking for something on the lines of

\begin{unicode}
हिन्दी, ಕನ್ನಡ
\end{unicode}

i.e. I should be able to type unicode directly

Prashanth said...

and why is the manual 5 freakin MB when it is only 8 pages long?

Abhiram said...

@Prashanth: Doesn't this serve your purpose? I am not too sure the manual is appropriate. Try the sty file and you will whether it is what you want.

Or do you already have it?

Abhiram said...

@Prashanth (5 MB Manual): State-of-art Data Expansion Techniques maybe ;)

Abhiram said...

@Prashanth: About Kannada, I found this ->
http://choorucode.wordpress.com/2010/01/06/tex-kannada-using-xetex/

One of the following things are true:-
(1) You did not google properly
(2) Google went from pretty substandard indexing to awesome in a very short span of time
(3) These things don't actually work

$\usepackage{wasysym} \smiley$

Abhiram said...

Just in case someone else wants the sty file and the ftp things does not work -> http://sites.google.com/site/abhiramfiles1/Home/blog-files/devanagari.sty

Pavi said...

even i am hyper excited! :D :D

Abhiram said...

@Pavi: Why??? :P

dolphin said...

how the fuck do you know about latex?

dolphin said...

sorry, misunderstood you for one of my friends in engineering!

Cheers.

Abhiram said...

@dolphin: Cheers :)

Anonymous said...
This comment has been removed by a blog administrator.
Sudarshan said...

There is a online equation editor

http://codecogs.com/

click on "latex equation editor"

this does a marvelous job

Abhiram said...

Sudarshan: Thanks so much. That looks very easy to use. Will try it out.

Sudarshan said...

this stuff isn't working anymore :-(

Sudarshan said...

hi abhi,

this website isn't working anymore ...

you should have included the details in your blog that wud have been better :-(

Abhiram said...

^^^: Have updated the post. Tell me if it helps.

jyby said...

Hi. Your post seems to be the last one to explain how to put LaTeX in blogspot (the watchmath blog has been hacked since Sept 2010 it seems), but I did not find what you mean by a ""HTML/Javascript" blogger box?

Abhiram said...

^^^: On the top-right corner of your blog, click on "design". In design, make sure you are in the "page elements" sub-tab. Find "Add a Gadget" on that page and when you click on it, you will find that a window with many possible gadgets pops up, for you to choose and add to your blog.

Among these, in the "basics" tab, you will find an entry named "HTML/Javascript". Choose that one and that will give you a box that you can place anywhere on your blog. Let me know if you have any more problems.

Abhiram said...

@jyby: In the "Content" area of the window that pops up, add whatever you need to.

Anonymous said...

many thanks to you!

Jagat Sastry said...

This might excite you http://www.mathjax.org/

Zakka Fauzan Muhammad said...

let me try $\varphi\leftarrow\psi$. Thanks anyway!

Alex Borysewicz said...

It seems $\LaTeX$ service is deprecated now?

Abhiram said...

@Alex: It works. The javascript file is no longer hosted at the previous location. I am just hosting it on my googlesite. You can copy the new code that is in the box.