====== Including mathematical formulae into AniWiki ====== Based on the [[doku>plugin:math|math]] plugin, I created a method for ''AniWiki'' to generate mathematical formulae, which is fairly similar to ''TeX/LaTeX''. ===== Syntax ===== Dokuwiki Syntax: $...text style mathematical formula...$ $$...display style mathematical formula...$$ I don't think I still need to explain what are ''textstyle'' and ''displaystyle'' in ''LaTeX''. See the examples below. ===== Download ===== My modified version of the plugin is here: {{:wiki:mathmulti.zip|mathmulti.zip (1.2K)}} ===== Example ===== Let's try the familiar CLT formula here. ==== Stronger form of the Central Limit Theorem ==== Let $X_{1}, X_{2}, \ldots$ be a sequence of iid random variables with $E(X_{i})=\mu$ and $0 Let $X_{1}, X_{2}, \ldots$ be a sequence of iid random variables with $E(X_{i})=\mu$ and $0 ==== Taylor series ==== This formula is familiar for us: $$f(x) = f(a) + \frac{f'(a)}{1!}(x - a) + \frac{f^{(2)}(a)}{2!}(x - a)^2 + \cdots + \frac{f^{(n)}(a)}{n!}(x - a)^n + R_n(x) $$ $$f(x) = f(a) + \frac{f'(a)}{1!}(x - a) + \frac{f^{(2)}(a)}{2!}(x - a)^2 + \cdots + \frac{f^{(n)}(a)}{n!}(x - a)^n + R_n(x)$$