]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FTeX2pngPlugin
Initialize $html
[SourceForge/phpwiki.git] / pgsrc / Help%2FTeX2pngPlugin
1 Date: Fri, 10 Sep 2010 13:46:13 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FTeX2pngPlugin;
5   flags=PAGE_LOCKED;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~TeX2png** [[Help:WikiPlugin|plugin]] allows to display mathematical formulae in a Wiki page.
10
11 == Usage ==
12
13 {{{
14 <<TeX2png text="$$(a+b)^n=\sum_{k=0}^n{n\choose k}a^k b^{n-k}$$">>
15 }}}
16
17 gives
18
19 <<TeX2png text="$$(a+b)^n=\sum_{k=0}^n{n\choose k}a^k b^{n-k}$$">>
20
21 == Arguments ==
22
23 There is only one argument which is the text of the mathematical
24 expression. This text *must be* enclosed by a dollar $ within a
25 paragraph or two dollars $$ on a separate line. In the last case,
26 all is centered.
27
28 To write mathematical formulae, the syntax is the one
29 of [LaTeX | http://www.latex-project.org].
30
31 == Caveats ==
32
33 This plugin is only to produce readable mathematical formulae. Any
34 other text is not allowed : so if an expression is not enclosed by
35 dollars then it will be displayed by a red text. It is all the same
36 possible to display raw text as <<TeX2png text="$\textrm{\LaTeX}$">> by using :
37
38 {{{
39 <<TeX2png text="$\textrm{\LaTeX}$">>
40 }}}
41
42 This* [[Help:WikiPlugin|plugin]] is not able to produce sophisticated mathematicals texts
43 with links, cross references... For that, you can use for example
44 [LaTeX2html|http://www.latex2html.org/].
45
46 == Examples ==
47
48 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.
49
50 *Exercise 1* Consider the function <<TeX2png text="$$f(x)=(x^2-4x+3)^{1/2}$$">>
51
52 #Give the largest real domain for which f(x) is well defined.
53 #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)$">>.
54 #Calculate the derivative f'(x).
55
56 *Exercise 2* Consider the function :
57
58 <<TeX2png text="$$f(x) = \int_0^x e^{-t^2}\,dt, x\in\mathbb R$$">>
59
60 #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.
61 #Hence find the limit of <<TeX2png text="$f(x)$">> as x tends <<TeX2png text="to $\infty$">>.
62
63 <noinclude>
64 ----
65 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
66 </noinclude>