Index of /code/misc/docutils/latex_directive

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[DIR]imgmath/2009-02-17 06:17 -  
[TXT]README.txt.texhack2009-02-17 06:17 1.2K 
[TXT]README.txt2009-02-17 06:17 1.2K 
[TXT]README.tex2009-02-17 06:17 4.0K 
[   ]README.pdf2009-02-17 06:17 52K 
[   ]README.out2009-02-17 06:17 278  
[   ]README.log2009-02-17 06:17 14K 
[TXT]README.html2009-02-17 06:17 8.2K 
[   ]README.aux2009-02-17 06:17 549  
[   ]Makefile.docutils2009-02-17 06:17 20K 
[   ]Makefile2009-02-17 06:17 164  

Latex README

Latex README

Overview

The idea is to convert latex fragments into png for display in html model.

Role and directive

There is a role called latex that can be used for inline latex expressions: :latex:`$\psi(r) = \exp(-2r)$` will produce $\psi(r)=\exp(-2r)$. Inside the back-tics you can write anything you would write in a LaTeX ducument.

For producing displayed math (like an equation* environment in a LaTeX document) there is a latex role. If you write:

.. latex-math::

   $\psi(r) = e^{-2r}$

you will get:

$\psi(r) = e^{-2r}$

Example

Role

You can use roles for inline stuff: $e=mc^2$. Lots of fun.

Or how about: $x = (-b \pm \sqrt{b^2 - 4ac}) / 2a$

More info

No more info at this time.