View Source:
Help/TexToPngPlugin
Note:
This page has been locked and cannot be edited.
Converts TeX to an image. May be used to embed formulas in ~PhpWiki. == Usage == {{{ <<TexToPng arguments>> }}} == Arguments == {| class="bordered" |- ! Argument ! Description ! Default value |- | **tex** | TeX Commands (default: text mode), use $...$ for inline math formula style and $$...$$ for large formula style | |- | **magstep** | magnify image by (1.2 to the magstep) | |- | **img** | Image type (png, jpeg or gif), if chosen image type is not available use the first possible from png, gif, jpeg (in that order) | png |- | **subslash** | on or off: substitute slashes by backslashes (to avoid the backslash bug of the database pear interface) | off |- | **antialias** | on or off: render ps to img with antialias option. This produces higher quality output but is slower and needs more disk space. | |- | **transparent** | on or off: produce transparent background instead of white background. Seems to be buggy (in pstoimg - not my fault) | |- | **center** | on or off | off |} == Examples == This produces a little help screen: {{{ <<TexToPng>> }}} <<TexToPng>> A simple formula: {{{ <<TexToPng tex="$x^2$" >> }}} <<TexToPng tex="$x^2$" >> A more complex formula: {{{ <<TexToPng tex="$$/int^/infty_{-/infty} dx {1 /over /sqrt {x^2+1}}$$" subslash="on" >> }}} <<TexToPng tex="$$/int^/infty_{-/infty} dx {1 /over /sqrt {x^2+1}}$$" subslash="on" >> == Author == * Johannes Große == See Also == <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In