KaTeX

You can render LaTeX mathematical expressions using KaTeX:

Usage

Using the templating syntax:

Inline math: {% math %}\int_{-\infty}^\infty g(x) dx{% endblock %}

Block math:

{% math %}
\int_{-\infty}^\infty g(x) dx
{% endblock %}

g(x)dx \int_{-\infty}^\infty g(x) dx

You can also use the "double-dollars" shortcut. So, {% math %}a \ne 0{% endmath %} maps to: a0a \ne 0

Block math:

{% math %}
\int_{-\infty}^\infty g(x) dx
{% endmath %}

Examples

When a0a \ne 0, there are two solutions to (ax2+bx+c=0)(ax^2 + bx + c = 0) and they are x=b±b24ac2ax = {-b \pm \sqrt{b^2-4ac} \over 2a}

The Gamma function satisfying  Γ(n)=(n1)!   nN \ \Gamma(n) = (n-1)! \ \ \forall\ n\in\mathbb{N}\ \,
is via the Euler integral,

Γ(z)=0tz1etdt. \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.

results matching ""

    No results matching ""