DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mathtran

mathtran Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Display math expressions as images using MathTran Tex engine

Last updated on
2010-03-10
Provides
Syntax

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with formulae, math, tex

What is it?

This very simple plug-in makes a connection to the MathTran web service (no longer available), which provides translation of TeX encoded mathematics to bitmap images.

MathTran provides very good looking math formulae.

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Syntax

<tex>my-math-formulae</tex>

Math syntax see:

Example

<tex>\displaystyle { BF_i = \prod_{j=1}^{N_{loci}}{ {\hat{\nu}_j^{S_{ij}} .  { (1-\hat{\nu}_j)^{(1-S_{ij}) }  } \over { {\hat{\theta}_j^{S_{ij}} .  { (1-\hat{\theta}_j)^{(1-S_{ij}) } } }    } </tex>

gives:

What is the catch?

Images are re-built each time the page is accessed. This is no big deal since the MathTran web service is quite responsive.

Suggestion

It will be better if we can use some parameters to control the alignment of the image. For example, <tex mediacenter>1+2</tex>, which generate code like this <a alt="tex:1+2" class="mediacenter">.

And if the the image can be cached, the plugin can also be used in offline/personal wiki.

plugin/mathtran.txt · Last modified: 2023-12-16 20:20 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki