Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akuma/gitbook-plugin-katex-plus

Math typesetting using KaTex
https://github.com/akuma/gitbook-plugin-katex-plus

gitbook gitbook-plugin katex math

Last synced: 2 months ago
JSON representation

Math typesetting using KaTex

Awesome Lists containing this project

README

        

# gitbook-plugin-katex-plus

> Math typesetting using KaTex

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

```
{
"plugins": ["katex-plus"]
}
```

then run `gitbook install`.

## Usage

```
Inline math: $\int_{-\infty}^\infty g(x) dx$

Block math:

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

Or using the templating syntax:

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

Block math:

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

## Comparison with [gitbook-plugin-katex](https://github.com/GitbookIO/plugin-katex)

- Use single `$` for inline math.