Title: KaTeX Math Rendering
Author: Ella Van Durpe
Published: <strong>28 september 2026</strong>
Last modified: 28 september 2026

---

Sök tillägg

![](https://s.w.org/plugins/geopattern-icon/katex-math.svg)

# KaTeX Math Rendering

 Av [Ella Van Durpe](https://profiles.wordpress.org/ellatrix/)

[Ladda ner](https://downloads.wordpress.org/plugin/katex-math.0.1.0.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/katex-math/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/katex-math/#reviews)
 * [Utveckling](https://sv.wordpress.org/plugins/katex-math/#developers)

 [Support](https://wordpress.org/support/plugin/katex-math/)

## Beskrivning

WordPress supports math out of the box: it writes standard MathML, which the browser
renders. These renderings sometimes fall short, with oddly positioned strokes, thicker
lines and the like, in the math fonts browsers ship with. This small plugin bundles
KaTeX and uses its typesetting on the front end and in the editor, for the WordPress
Math block and the inline math format. There are no separate blocks, it is an alternate
rendering. To switch back to the WordPress rendering, deactivate the plugin and 
everything keeps working: Math blocks and inline math stay stored exactly as WordPress
stores them, with both the LaTeX and the MathML in the post content.

 * On the front end, KaTeX is loaded only on pages that contain math.
 * A formula KaTeX cannot render is left to the browser’s MathML.
 * Formulas keep the text size the browser gives MathML rather than KaTeX’s default
   enlargement. A theme that wants math larger sets `math` and `.katex` alike.

### Third-party code

The plugin bundles [KaTeX](https://katex.org/) 0.18.7, unmodified, in `vendor/katex`:
the minified script and stylesheet and the fonts of its npm release, under the MIT
license (see `vendor/katex/LICENSE`). Its source is at https://github.com/KaTeX/
KaTeX. Development happens at https://github.com/ellatrix/katex-math.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”KaTeX Math Rendering” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Ella Van Durpe ](https://profiles.wordpress.org/ellatrix/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

[Översätt ”KaTeX Math Rendering” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/katex-math)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/katex-math/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/katex-math/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/katex-math/) via [RSS](https://plugins.trac.wordpress.org/log/katex-math/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 0.1.0

 * Initial release.

## Meta

 *  Version **0.1.0**
 *  Senast uppdaterat **1 vecka sedan**
 *  Aktiva installationer **Färre än 10**
 *  WordPress-version ** 6.9 eller senare **
 *  Testat upp till **7.1.2**
 *  PHP-version ** 7.4 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/katex-math/)
 * Etiketter
 * [katex](https://sv.wordpress.org/plugins/tags/katex/)[latex](https://sv.wordpress.org/plugins/tags/latex/)
   [math](https://sv.wordpress.org/plugins/tags/math/)[mathml](https://sv.wordpress.org/plugins/tags/mathml/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/katex-math/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/katex-math/reviews/#new-post)

[Visa alla recensioner](https://wordpress.org/support/plugin/katex-math/reviews/)

## Bidragande personer

 *   [ Ella Van Durpe ](https://profiles.wordpress.org/ellatrix/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/katex-math/)