Revision: 9013
http://sourceforge.net/p/phpwiki/code/9013
Author: vargenau
Date: 2014-07-28 12:06:26 +0000 (Mon, 28 Jul 2014)
Log Message:
-----------
pgsrc: update TexToPng doc
Modified Paths:
--------------
trunk/pgsrc/Help%2FTexToPngPlugin
Modified: trunk/pgsrc/Help%2FTexToPngPlugin
===================================================================
--- trunk/pgsrc/Help%2FTexToPngPlugin 2014-07-28 11:21:42 UTC (rev 9012)
+++ trunk/pgsrc/Help%2FTexToPngPlugin 2014-07-28 12:06:26 UTC (rev 9013)
@@ -1,4 +1,4 @@
-Date: Tue, 1 Jul 2014 16:09:46 +0000
+Date: Mon, 28 Jul 2014 14:02:37 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.5.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FTexToPngPlugin;
@@ -22,27 +22,27 @@
! 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
+| on or off: substitute slashes by backslashes (to avoid the backslash bug of the database pear interface)
| off
|-
| **antialias**
-| on or off
+| 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
+| on or off: produce transparent background instead of white background. Seems to be buggy (in pstoimg - not my fault)
|
|-
| **center**
@@ -51,7 +51,7 @@
|}
-== Example ==
+== Examples ==
{{{
<<TexToPng>>
@@ -59,8 +59,28 @@
<<TexToPng>>
+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 ==
-* [[Help:Reini Urban|Reini Urban]]
+* Johannes Große
== See Also ==
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|