]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - doc/plugins/tex.mdwn
web commit by PatrickWinnertz
[www/ikiwiki.git] / doc / plugins / tex.mdwn
index 6b18e8c67cc28690e6debe738cce164572100c41..52f90f6ab2e2249325c59d3a856a8809f3412978 100644 (file)
@@ -4,19 +4,21 @@
 This plugin renders LaTeX formulas into images, which are rendered automatically when you save this site. 
 
 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.
 
 #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}" ]]
+        [[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"]]
+        [[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.