#||
||
Compatible with: R4.2
Current version:
Credits: ((user:SebastianDietzold Seebi))
-> ((https://wiki.imise.uni-leipzig.de/Projects/WackoTuning#h702-7 TeX-Formula Visualisation))
|{{toc numerate=1}} ||
||#

The MathFormatter is based on ((http://www.math.union.edu/~dpvc/jsMath/ jsMath)) ((http://sourceforge.net/projects/jsmath/ sf.net)), a JavaScript app for visualizing TeX formulas via display morphing.

After unpacking the ((file:math.tar.gz math.tar.gz)) Download you must also unpack the jsMath-Package under ##js/jsmath/## (in particular the fonts to ##js/jsmath/fonts/##).

===Documentation==
The MathFormatter is based on jsMath, a JavaScript app for visualizing TeX formulas via display morphing.
To visualize TeX math code, use ##""%%(math) ... %%""## or ##""%%(math outline) ... %%""## (it is like ##$...$## and ##$$...$$## in TeX) in your wiki page and finish this page with the action call at the end. Yes its ugly, maybe this will change sometimes.

===How to==
You can write GraphViz-Code inside ##""%%(graphviz) ... %%""## and the wiki calls Graph Viz to render the image. Additionally you can configure the drawing algorithm (##dot##, ##neato##, ##twopi## ...) as a parameter, e.g. ##""%%(graphviz twopi) ... %%""##. ##dot## is the default value.

Example:
##""%%(math outline)1\leq\frac{n!}{\sqrt{2\pi n}\cdot(\frac n{\mathrm e})^n}\leq\mathrm e^{1/(12n)}<1+\frac1{11n}%%""##

##""{{math}}""##

1\leq\frac{n!}{\sqrt{2\pi n}\cdot(\frac n{\mathrm e})^n}\leq\mathrm e^{1/(12n)}<1+\frac1{11n}


====Changelog====
1.0 Intitial Version


====Localization (optional)==
put this at the end of your language file

**/lang/wacko.xyz.php**
%%
//hacks
"YourPhrase" => "your translation here",
%%

pls. notice that this entry will not survive an Wacko upgrade, so you have to redo this

**[xyz] proposed translations**
[de] ...
[fr]
[ru]

===To Do==
  * convert patch for R5.x branch (see attached file)

{{backlinks}}

----
original is located at: ((/Dev/PatchesHacks/TeXFormulaVisualisation))