1 Date: Mon, 29 Jun 2015 12:04:28 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.5.4)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FTexToPngPlugin;
7 Content-Transfer-Encoding: binary
9 Converts TeX to an image. May be used to embed formulas in ~PhpWiki.
13 <<TexToPng arguments>>
25 | TeX Commands (default: text mode), use $...$ for inline math formula style and $$...$$ for large formula style
29 | magnify image by (1.2 to the magstep)
33 | Image type (png, jpeg or gif), if chosen image type is not available use the first possible from png, gif, jpeg (in that order)
37 | on or off: substitute slashes by backslashes (to avoid the backslash bug of the database pear interface)
41 | on or off: render ps to img with antialias option. This produces higher quality output but is slower and needs more disk space.
45 | on or off: produce transparent background instead of white background. Seems to be buggy (in pstoimg - not my fault)
56 This produces a little help screen:
65 <<TexToPng tex="$x^2$" >>
68 <<TexToPng tex="$x^2$" >>
70 A more complex formula:
72 <<TexToPng tex="$$/int^/infty_{-/infty} dx {1 /over /sqrt {x^2+1}}$$" subslash="on" >>
74 <<TexToPng tex="$$/int^/infty_{-/infty} dx {1 /over /sqrt {x^2+1}}$$" subslash="on" >>
83 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]