Tuesday, 24 January 2012

jQuery | Easy TeX Equations

Anyone who has used TEX will agree that no other method of typesetting mathematical equations look nicer. (Thank you Dr. Knuth)

While TEX typesetting can be done easily on your desktop via your favourite program based on the idea, it isn't so on the web.

Of course, there are ways to get this done. You could use the popular jsMath, a JavaScript package which transforms your TEX code into beautiful equations using various fonts and images. You could also use sites such as Code Cogs where you can produce equation images which can then be included into your blog post. These methods however, often require extra processing client-side, and/or more time spent on producing the intended result.

I will talk about a very easy method of doing an equivalent of the above.

Here's the Schrödinger equation for a taster:
i\hbar\frac{\partial\psi}{\partial t} = \frac{\hbar^2}{2m}\nabla^2\psi + V(\mathbf{r})\psi

Monday, 16 January 2012

Blogger | RSS for Labels

Sometimes, your reader wants to keep up to date with your tips and tricks about tweaking a Blogger blog.
The reader however does not want to listen to your rants about Facebook, nor about those annoying kittens.
All he/she wants to subscribe to is your posts which are labelled, Blogger.

There is a solution for that as mentioned in one of Blogger's FAQs.

The question is, how do you get these links onto your blog's label pages?

An example for the tag, Blogger (Visit)

Sunday, 15 January 2012

The Naming of Sting

There was the usual dim grey light of the forest-day about him when he came to his senses. The spider lay dead beside him, and his sword-blade was stained black. Somehow the killing of the giant spider, all alone by himself in the dark without the help of the wizard or the dwarves or of anyone else, made a great difference to Mr. Baggins. He felt a different person, and much fiercer and bolder in spite of an empty stomach, as he wiped his sword on the grass and put it back into its sheath.
“I will give you a name,” he said to it, “and I shall call you Sting.”