lyceum-site/content/docs/shortcodes/katex.md
2024-10-04 00:08:11 +02:00

864 B

title
KaTeX

KaTeX

KaTeX shortcode let you render math typesetting in markdown document. See KaTeX

Example

{{</* katex display=true class="optional" >}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{< /katex */>}}

{{< katex display=true class="optional" >}} f(x) = \int_{-\infty}^\infty\hat f(\xi),e^{2 \pi i \xi x},d\xi {{< /katex >}}

Display Mode Example

Here is some inline example: {{< katex >}}\pi(x){{< /katex >}}, rendered in the same line. And below is display example, having display: block {{< katex display=true >}} f(x) = \int_{-\infty}^\infty\hat f(\xi),e^{2 \pi i \xi x},d\xi {{< /katex >}} Text continues here.