diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-23 10:10:49 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-23 10:10:49 +0000 |
commit | cdc86ba1d3e04767ccd52a18b79812dd139b0505 (patch) | |
tree | 88eebad39dce1cc3170c03f6365becb7a0046e67 /doc/plugins/tex.mdwn | |
parent | 985dec99f84dadc5edcecded1547b9cf9d2491a8 (diff) | |
download | ikiwiki-cdc86ba1d3e04767ccd52a18b79812dd139b0505.tar ikiwiki-cdc86ba1d3e04767ccd52a18b79812dd139b0505.tar.gz |
web commit by PatrickWinnertz: put in some documentation about the tex plugin
Diffstat (limited to 'doc/plugins/tex.mdwn')
-rw-r--r-- | doc/plugins/tex.mdwn | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/doc/plugins/tex.mdwn b/doc/plugins/tex.mdwn index aebac26ed..6b18e8c67 100644 --- a/doc/plugins/tex.mdwn +++ b/doc/plugins/tex.mdwn @@ -1,8 +1,23 @@ [[template id=plugin name=tex author="[[PatrickWinnertz]]"]] [[tag type/chrome type/slow]] -This plugin renders LaTeX code into an image and inserts it into the page. +This plugin renders LaTeX formulas into images, which are rendered automatically when you save this site. -# examples +Scaling of this images is of course also possible, possible heights are: + 8,9,10,11,12,14,17,20 +But is also work if you pic e.g. another height. The best fitting height is then used to generate the image. - \[[tex code="\ce{[Cu(NH3)3]^{2+}}"]] +#Here are some examples how to use this plugin: + + \[[tex code="\ce{[Cu(NH3)3]^{2+}}"]] + \[[tex code="\frac{1}{2}"]] + \[[tex code="E = - \frac{Z^2 \cdot \mu \cdot e^4}{32\pi^2 \epsilon_0^2 \hbar^2 n^2}" ]] + +in order to scale this images use height=x: + + \[[tex code="\ce{[Cu(NH3)3]^{2+}}" height="17"]] + \[[tex code="\ce{[Cu(NH3)3]^{2+}}" height="8"]] + +If no height is choosen the default height 12 is used. + +See [this site](http://www.der-winnie.de/opensource/gsoc2007) for rendered images.
\ No newline at end of file |