Back to Katex

KaTeX

website/pages/index.html

0.18.11.7 KB
Original Source

KaTeX

The fastest math typesetting library for the web.

InstallationDocumentationView on GitHub

Type an expression: % \f is defined as #1f(#2) using the macro \f\relax{x} = \int_{-\infty}^\infty \f\hat\xi,e^{2 \pi i \xi x} ,d\xi

See how it renders with KaTeX:

Simple API, no dependencies – yet superfast on all major browsers.

  • Fast: KaTeX renders its math synchronously and doesn’t need to reflow the page.
  • Print quality: KaTeX’s layout is based on Donald Knuth’s TeX, the gold standard for math typesetting.
  • Self-contained: KaTeX has no dependencies and can easily be bundled with your website resources.
  • Server side rendering: KaTeX produces the same output regardless of browser or environment, so you can pre-render expressions using Node.js and send them as plain HTML.

Lightning-fast, even on pages with hundreds of expressions:

MathJax

InstallationDocumentationView on GitHub

Created by Emily Eisenberg and Sophie Alpert
MIT License · Built from the hard work of many contributors
This site is powered by Netlify

KaTeX Options

| displayMode | | | leqno | | | fleqn | | | throwOnError | | | errorColor | | | strict | errorwarnignore | | output | htmlAndMathmlhtmlmathml | | trust | |

macros

{ "\f": "#1f(#2)" }

Editor Options

Maximize editor

Copy KaTeX code

Copy Permalink