gitbook-plugin-enhanced-katex

Math typesetting using KaTex into GitBook


Keywords
math, latex, katex
License
Apache-2.0
Install
npm install gitbook-plugin-enhanced-katex@1.0.0

Documentation

Math typesetting using KaTex for gitbooks

This is a fork of the orginal plugin-katex but works with newer versions of gitbook.

Install

Use it for your book, by adding to your book.json:

{
    "plugins": ["enhanced-katex"]
}

then run gitbook install.

Usage

Inline math is used with double $ signs:

$$ a^2 + b^2 = c^2 $$

Block math is used with tripple $ signs:

$$$ \int \frac{1}{1+x^2}\, dx = \arctan x + C. $$$