Equations in Blog

Of late I had been searching for ways I could include equations in the blog, to make it more scientifically relevant for such future uses. The following is what I found :
1. One can convert the expression into a typical picture ( png/jpg/tif etc ). You can find it here.
2. You can go here. This one is more direct in the way that you can actually type in the LaTeX code in your blogger editor. ( works in firefox only )
Note : Before running the javascript install the greasemonkey plugin.

Example :


So long, happy blogging ...

Alternative methods:

An external website may be used to render LaTeX which then should be included in the html as an image:
<img alt="" src="http://latex.codecogs.com/gif.latex?%5Cint%20%5COmega%28x%29" style="vertical-align: -2pt;" title="" />
which renders:



----------- Update (Best Method) --------------  
 Mathjax is a robust option. Look here for usage in Blogger.
Including this in the html version of the blog:
<script type="text/x-mathjax-config"> MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); </script> <script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"> </script>
activates LaTeX in your HTML code. Any LaTeX code following this will be rendered as desired. For example
\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \end{vmatrix} \]
generates,
\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \end{vmatrix} \]  

No comments:

Post a Comment