Difference between revisions of "Toolbox"

From aemwiki
Jump to: navigation, search
Line 10: Line 10:
 
* <math>\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j} </math>
 
* <math>\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j} </math>
  
'''Ok.  So we have a problem.  The math equations are not working yet.  Come back later.'''
+
'''Ok.  So we had a problem.  The math equations were not working yet.  They seem to be fine now.'''
  
 
[[jsMathTest]] shows how to use jsMath instead. In that case, the above equations become:
 
[[jsMathTest]] shows how to use jsMath instead. In that case, the above equations become:
Line 17: Line 17:
 
* $$\sqrt{x^2+2x+1}=|x+1| - ((\frac{2x^2}{x})^2)^2$$
 
* $$\sqrt{x^2+2x+1}=|x+1| - ((\frac{2x^2}{x})^2)^2$$
 
* $$\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j}$$
 
* $$\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j}$$
 +
 +
And here is a comparison of how these two options look for the Cauchy singular integral:
 +
 +
* TeXvc: <center><math>\Omega(z) = \frac{1}{2\pi i}\int_{\Gamma}{\frac{\lambda(\delta)}{z-\delta}d\delta}</math></center>
 +
* jsMath: $$\Omega(z) = \frac{1}{2\pi i}\int_{\Gamma}{\frac{\lambda(\delta)}{z-\delta}d\delta}$$
  
 
==External links==
 
==External links==
  
 
* [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/math/README?view=markup The texvc README file in SVN]
 
* [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/math/README?view=markup The texvc README file in SVN]

Revision as of 10:35, 25 August 2007

texvc (TeX validator and converter) is a program which renders mathematical formulae in LaTeX-syntax and outputs graphics that are embedded in wiki articles.

Click on edit to view the LaTeX-syntax in between the math-tag. If texvc is not installed in your Mediawiki-Installation the graphics output is not visible.

Here are some examples of LaTeX output produced in this manner:

  • <math>\int_a^xf(\alpha\,)\,dx</math>
  • <math>\int_1^\infin \frac{1}{k}\,dk</math>
  • <math>\sqrt{x^2+2x+1}=|x+1| - ((\frac{2x^2}{x})^2)^2</math>
  • <math>\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j} </math>

Ok. So we had a problem. The math equations were not working yet. They seem to be fine now.

jsMathTest shows how to use jsMath instead. In that case, the above equations become:

  • $$\int_a^x f(\alpha\,)\,dx$$
  • $$\int_1^\infty \frac{1}{k}\,dk$$
  • $$\sqrt{x^2+2x+1}=|x+1| - ((\frac{2x^2}{x})^2)^2$$
  • $$\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j}$$

And here is a comparison of how these two options look for the Cauchy singular integral:

  • TeXvc:
    <math>\Omega(z) = \frac{1}{2\pi i}\int_{\Gamma}{\frac{\lambda(\delta)}{z-\delta}d\delta}</math>
  • jsMath: $$\Omega(z) = \frac{1}{2\pi i}\int_{\Gamma}{\frac{\lambda(\delta)}{z-\delta}d\delta}$$

External links