10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2025-01-08 20:33:05 +01:00
irpf90/public/content/post/2017-03-05-math-sample.md
2018-11-20 15:20:35 +01:00

1.3 KiB
Raw Blame History

KaTeX can be used to generate complex math formulas server-side.

\phi = \frac{(1+\sqrt{5})}{2} = 1.6180339887\cdots

Additional details can be found on GitHub or on the Wiki.

Example 1

If the text between contains newlines it will rendered in display mode: ``` f(x) = {-}f(),e{2 i x},d ``` f(x) = {-}f(),e{2 i x},d $$

Example 2

$$
\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }
$$

\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }

Example 3

$$
1 +  \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.
$$

1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.