DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mathtran

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revision
plugin:mathtran [2010-10-10 11:16]
gturri
plugin:mathtran [2018-05-30 18:13]
Aleksandr
Line 1: Line 1:
-====== mathtran plugin ======+====== mathtran Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 12: Line 12:
 similar    :  similar    : 
 tags       : math, formulae, tex tags       : math, formulae, tex
 +
 downloadurl: http://www.delrieu.org/dokuwiki-plugin/mathtran.zip downloadurl: http://www.delrieu.org/dokuwiki-plugin/mathtran.zip
 +bugtracker : 
 +sourcerepo : 
 +donationurl: 
 +
 +screenshot_img: 
 ---- ----
  
 ===== What is it? ===== ===== What is it? =====
  
-This very simple plug-in makes a connection to the [[http://www.mathtran.org/wiki/index.php/Main_Page|MathTran web service]], which provides translation of TeX encoded mathematics to bitmap images.+This very simple plug-in makes a connection to the [[http://www.mathtran.org/wiki/index.php/Main_Page|MathTran web service]] (no longer available), which provides translation of TeX encoded mathematics to bitmap images.
  
 MathTran provides very good looking math formulae. MathTran provides very good looking math formulae.
Line 24: Line 30:
  
 Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually. Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.
- 
-http://www.delrieu.org/dokuwiki-plugin/mathtran.zip 
  
 ===== Syntax ===== ===== Syntax =====
  
-<code><tex>my-math-formulae</tex></code>+  <tex>my-math-formulae</tex>
  
 Math syntax see: Math syntax see:
-   http://refcards.com/docs/silvermanj/tex/tex-refcard-letter.pdf + 
-   http://en.wikipedia.org/wiki/Math_markup+  {{https://trello-attachments.s3.amazonaws.com/5af4815352fa15728c62aaae/5b0eccc7af9c436a810c3456/777c21fdc0c202cbb645fb9cc4e95dfb/tex-refcard-letter.pdf|tex-refcard-letter.pdf}} 
 +  [[wp>List_of_mathematical_symbols|List of mathematical symbols]]
  
 ===== Example ===== ===== Example =====
  
-<code><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></code>+<code> 
 +<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> 
 +</code>
  
 gives: gives:
Line 46: Line 53:
  
 Images are re-built each time the page is accessed. This is no big deal since the MathTran web service is quite responsive. Images are re-built each time the page is accessed. This is no big deal since the MathTran web service is quite responsive.
 +
 ===== Suggestion ===== ===== 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">.+ 
 +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. And if the the image can be cached, the plugin can also be used in offline/personal wiki.
plugin/mathtran.txt · Last modified: 2018-06-04 23:32 by Klap-in