# TeX2pngPlugin

### Synopsis

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

### 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 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 : , , ... and a formula to test display in a paragraph.

**Exercise 1** Consider the function

- 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 .
- Calculate the derivative f'(x).

**Exercise 2** Consider the function :

- Show that for all r > 0 :
**Help**: you can use polar coordinates. - Hence find the limit of as x tends
`to $\infty$`.

Last edited on Tuesday 25 October 2005 12:48:33

lib/plugin/TeX2png.php (In template 'body' < 'html'):174: Notice: TeX directory not writable. (...repeated 11 times)