Friday, March 9, 2012

SRM536 Div1 Level2 500 Problem

The solution is ready for download at
I'm practicing $latex \textrm{\LaTeX}$ these days and this solution happens to be quite mathematical.

Monday, February 20, 2012

Enable LaTeX in Blogger

The method is as follows:

1) Registry on Blogger:
2) Create a site on Google sites for keeping your files:
(Take a look at mine:
3) Create a Picassa album for including photos inside your blog.(Optional)

You can do all of this steps with your same Google Account.

Now if you want to add $latex \textrm{\LaTeX} $ functionality then:

Download this file:

And, if you want, change its name to for example: mylatex.js.

Upload this file to your Google sites account and copy the link URL.
Then inside Blogger, on the configuration:

Design>Page Elements>Add a Gadget>HTML/JavaScript

Create a Gadget named, for example, LaTeX and include inside it this HTML Code:

<script src="here include the link to your mylatex.js file" type="text/javascript">
<script type="text/javascript">
replaceMath( document.body );

And that′s everything, now you can try to write a post including(without line breaks):

$latex \displaystyle \lim_{n \to \infty} \sum_{k=1}^{n} \frac{1}{k^2} = \frac{\pi^2}{6} $