aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/teximg.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:46:35 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:46:35 +0100
commit953a959be72c021121d8d3c4a737f48bf52149fe (patch)
treec949e0224a557e48b3db0b91ab81623961ba7a20 /doc/plugins/teximg.mdwn
parent1ca63edde0a1f09e58c9c1da1cf9ac7a6805750b (diff)
downloadikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar
ikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar.gz
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
Diffstat (limited to 'doc/plugins/teximg.mdwn')
-rw-r--r--doc/plugins/teximg.mdwn12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/plugins/teximg.mdwn b/doc/plugins/teximg.mdwn
index c866f17cc..1908cfb79 100644
--- a/doc/plugins/teximg.mdwn
+++ b/doc/plugins/teximg.mdwn
@@ -9,14 +9,14 @@ may not be part of a regular texlive installation.
## examples
- \[[teximg code="\ce{[Cu(NH3)3]^{2+}}"]]
- \[[teximg code="\frac{1}{2}"]]
- \[[teximg code="E = - \frac{Z^2 \cdot \mu \cdot e^4}{32\pi^2 \epsilon_0^2 \hbar^2 n^2}" ]]
+ \[[!teximg code="\ce{[Cu(NH3)3]^{2+}}"]]
+ \[[!teximg code="\frac{1}{2}"]]
+ \[[!teximg code="E = - \frac{Z^2 \cdot \mu \cdot e^4}{32\pi^2 \epsilon_0^2 \hbar^2 n^2}" ]]
To scale the image, use height=x:
- \[[teximg code="\ce{[Cu(NH3)3]^{2+}}" height="17"]]
- \[[teximg code="\ce{[Cu(NH3)3]^{2+}}" height="8"]]
+ \[[!teximg code="\ce{[Cu(NH3)3]^{2+}}" height="17"]]
+ \[[!teximg code="\ce{[Cu(NH3)3]^{2+}}" height="8"]]
If no height is choosen the default height 12 is used. Valid heights are: 8, 9,
10, 11, 12, 14, 17, 20. If another height is entered, the closest available
@@ -24,6 +24,6 @@ height is used.
To add an alt text to the image, use alt="text":
- \[[teximg code="\frac{1}{2}" alt="1/2"]]
+ \[[!teximg code="\frac{1}{2}" alt="1/2"]]
See [this site](http://www.der-winnie.de/opensource/gsoc2007) for rendered images.