Diff: Help/TeX2pngPlugin

Note: You are viewing an old revision of this page. View the current version.

Differences between version 5 and previous revision of Help/TeX2pngPlugin.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 5 Last edited on 9 September 2007 0:16 by harold Revert
Older page: version 4 Last edited on 22 May 2014 3:01 by harold Revert
@@ -1,58 +1,58 @@
-The **~TeX2png** [[Help:WikiPlugin|plugin]] allows to display mathematical formulae in a Wiki page.  
+! Synopsis  
  
-== Usage ==  
+Help:WikiPlugin to display mathematical formulae in a Wiki page.  
  
-{{{  
-<<TeX2png text="$$(a+b)^n=\sum_{k=0}^n{n\choose k}a^k b^{n-k}$$">>  
-}}}  
+! Usage  
  
-gives  
+<verbatim>  
+<?plugin TeX2png text="$$(a+b)^n=\sum_{k=0}^n{n\choose k}a^k b^{n-k}$$" ?>  
+</verbatim>  
  
-<<TeX2png text="$$(a+b)^n=\sum_{k=0}^n{n\choose k}a^k b^{n-k}$$">>  
+gives  
  
-== Arguments =
+<?plugin TeX2png text ="$$(a+b)^n =\sum_{k =0}^n{n\choose k}a^k b^{n-k}$$" ?>  
  
+! Arguments  
 There is only one argument which is the text of the mathematical 
 expression. This text *must be* enclosed by a dollar $ within a 
 paragraph or two dollars $$ on a separate line. In the last case, 
 all is centered. 
  
 To write mathematical formulae, the syntax is the one 
 of [LaTeX | http://www.latex-project.org]. 
  
-== Caveats ==  
+! Caveats 
  
 This plugin is only to produce readable mathematical formulae. Any 
 other text is not allowed : so if an expression is not enclosed by 
 dollars then it will be displayed by a red text. It is all the same 
-possible to display raw text as << TeX2png text="$\textrm{\LaTeX}$"> > by using : 
+possible to display raw text as <?plugin TeX2png text="$\textrm{\LaTeX}$" ? > by using : 
  
-{{{  
-<< TeX2png text="$\textrm{\LaTeX}$">>  
-}}}  
+<verbatim>  
+<?plugin TeX2png text="$\textrm{\LaTeX}$" ? >  
+</verbatim
  
-This* [[Help:WikiPlugin| plugin]] is not able to produce sophisticated mathematicals texts 
+This plugin is not able to produce sophisticated mathematicals texts 
 with links, cross references... For that, you can use for example 
-[ LaTeX2html|http://www.latex2html.org/]
+LaTeX2html. 
  
-== Examples ==  
+! Examples 
  
-Some Greeks letters : << TeX2png text="$\alpha$"> >, << TeX2png text="$\beta$"> >, ... and a formula << TeX2png text="$\sum_{i=1}^n \frac1{i^2}=\frac{\pi^2}{6}$"> > to test display in a paragraph. 
+Some Greeks letters : <?plugin TeX2png text="$\alpha$" ? >, <?plugin TeX2png text="$\beta$" ? >, ... and a formula <?plugin TeX2png text="$\sum_{i=1}^n \frac1{i^2}=\frac{\pi^2}{6}$" ? > to test display in a paragraph. 
  
-*Exercise 1* Consider the function << TeX2png text="$$f(x)=(x^2-4x+3)^{1/2}$$">
+*Exercise 1* Consider the function <?plugin TeX2png text="$$f(x)=(x^2-4x+3)^{1/2}$$" ?
  
 #Give the largest real domain for which f(x) is well defined. 
-#Give a domain on which the function is one-to-one. Using this domain derive a formula for the inverse function << TeX2png text="$f^{-1}(x)$"> >. 
+#Give a domain on which the function is one-to-one. Using this domain derive a formula for the inverse function <?plugin TeX2png text="$f^{-1}(x)$" ? >. 
 #Calculate the derivative f'(x). 
  
 *Exercise 2* Consider the function : 
  
-<< TeX2png text="$$f(x) = \int_0^x e^{-t^2}\,dt, x\in\mathbb R$$">> 
+<?plugin TeX2png text="$$f(x) = \int_0^x e^{-t^2}\,dt, x\in\mathbb R$$" ? >  
+  
+#Show that for all r > 0 :<?plugin TeX2png text="$$\frac{\pi}{2}\int_0^r t e^{-t^2}\,dt \leq \int_0^r e^{-x^2}\,dx \int_0^r e^{-y^2}\,dy \leq \frac{\pi}{2} \int_0^{\sqrt{2} r} t e^{-t^2}\,dt$$" ?> *Help* : you can use polar coordinates.  
+#Hence find the limit of <?plugin TeX2png text="$f(x)$" ?> as x tends <?plugin TeX2png text="to $\infty$" ? >.  
  
-#Show that for all r > 0 :<<TeX2png text="$$\frac{\pi}{2}\int_0^r t e^{ -t^2}\,dt \leq \int_0^r e^{ -x^2}\,dx \int_0^r e^{ -y^2}\,dy \leq \frac{\pi}{2} \int_0^{\sqrt{2} r} t e^{ -t^2}\,dt$$">> *Help* : you can use polar coordinates.  
-#Hence find the limit of <<TeX2png text="$f(x)$">> as x tends <<TeX2png text="to $\infty$">>.  
+-----  
  
-<noinclude>  
-----  
-[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
-</noinclude>  
+PhpWikiDocumentation Help:WikiPlugin  

version 5

Synopsis

Help:WikiPlugin to display mathematical formulae in a Wiki page.

Usage

<?plugin TeX2png text="$$(a+b)^n=\sum_{k=0}^n{n\choose k}a^k b^{n-k}$$" ?>

gives

Cannot run TeX2png plugin, “/usr/bin/latex” does not exist

Arguments

There is only one argument which is the text of the mathematical expression. This text must be enclosed by a dollar $ within a paragraph or two dollars $$ on a separate line. In the last case, all is centered.

To write mathematical formulae, the syntax is the one of LaTeX.

Caveats

This plugin is only to produce readable mathematical formulae. Any other text is not allowed : so if an expression is not enclosed by dollars then it will be displayed by a red text. It is all the same possible to display raw text as Cannot run TeX2png plugin, “/usr/bin/latex” does not exist by using :

<?plugin TeX2png text="$\textrm{\LaTeX}$" ?>

This plugin is not able to produce sophisticated mathematicals texts with links, cross references... For that, you can use for example LaTeX2html.

Examples

Some Greeks letters : Cannot run TeX2png plugin, “/usr/bin/latex” does not exist, Cannot run TeX2png plugin, “/usr/bin/latex” does not exist, ... and a formula Cannot run TeX2png plugin, “/usr/bin/latex” does not exist to test display in a paragraph.

Exercise 1 Consider the function Cannot run TeX2png plugin, “/usr/bin/latex” does not exist

#Give the largest real domain for which f(x) is well defined. #Give a domain on which the function is one-to-one. Using this domain derive a formula for the inverse function Cannot run TeX2png plugin, “/usr/bin/latex” does not exist. #Calculate the derivative f'(x).

Exercise 2 Consider the function :

Cannot run TeX2png plugin, “/usr/bin/latex” does not exist

#Show that for all r > 0 :Cannot run TeX2png plugin, “/usr/bin/latex” does not exist Help : you can use polar coordinates. #Hence find the limit of Cannot run TeX2png plugin, “/usr/bin/latex” does not exist as x tends Cannot run TeX2png plugin, “/usr/bin/latex” does not exist.


PhpWikiDocumentation Help:WikiPlugin