18.8.11

LaTeX en Blogger

1. Copy the following javascript code:

2. Go to your Blogger dashboard  and select layoutlatex_layout3. Click Add a Gadget on your right sidebar (or left depending on your tempate) and add HTML/Javascript onto your sidebarlatex_javascript4. Leave out the title and past the javascript that you copied in step 1 right into the content and then savelatex_post4. Thats it! You are done. Now you can type your latex code between two dollar signs to get the inline style math symbols or write it as or  to get a display style math symbols (just play around to see their differences)


There are some notes regarding the above installation:
The javascript above will also produce on on your sidebar a logo an a link to this very post. The idea is that if a visitor of your blog also wants to install latex on her blog then she can follow the link to this post. The logo will look like this



latex_formula


The link is

http://watchmath.com/vlog/?p=1461

Usage

  • Use $\LaTeX$ in order to get an inline math in \textstyle mode. For example if you type $\sum_{i=1}^nx_i$ (in blogger) you get .
  • Use $$\LaTeX $$ to gen an inline math in \displaystyle  mode. For example if you type $$\sum_{i=1}^nx_i$$  (in blogger) you get .
  • Use \[\LaTeX\] to get a math symbol written in a new line and aligned center. For example if you type \[\sum_{i=1}^nx_i\]  (in blogger) you get

Gauss law




\[\oint_{S}\vec{E}\cdot d\vec{S}=-\frac{q}{\varepsilon_{0}}\]

No hay comentarios:

Publicar un comentario