Diff: Help/TexToPngPlugin
Note: You are viewing an old revision of this page. View the current version.
Differences between version 2 and previous revision of Help/TexToPngPlugin.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 2 | Last edited on 22 May 2014 3:01 | by harold | Revert |
Older page: | version 1 | Last edited on 17 January 2022 18:35 | by harold | Revert |
@@ -1,78 +1,29 @@
-Converts TeX to an image. May be used to embed formulas in ~PhpWiki.
+_short description_
== Usage ==
{{{
-<<TexToPng arguments
>>
+<<TexToPng>>
}}}
== 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
-|}
+page _
(default: current pagename
)_
:
+ The page
to execute upon
.
+== Example ==
-== 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
+* [[Help:Reini Urban|Reini Urban]]
== See Also ==
-* [[Help:TeX2pngPlugin]]
-* [[Help:text2pngPlugin]]
<noinclude>
----
[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
</noinclude>
version 2
short description
Usage
<<TexToPng>>
Arguments
- page (default: current pagename)
- The page to execute upon.
Example
<<TexToPng>>