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

https://github.com/quarto-ext/mitex

Using mitex for Typst equations in Quarto
https://github.com/quarto-ext/mitex

Last synced: 8 months ago
JSON representation

Using mitex for Typst equations in Quarto

Awesome Lists containing this project

README

          

# Use mitex for Typst Math with Quarto

> [!WARNING]
>
> Experimental extension

This is a Quarto extension that provides support for using the
[Mitex](https://typst.app/universe/package/mitex/) Typst library to
render mathematical expressions.

## Installing

``` bash
quarto add quarto-ext/mitex
```

This will install the extension under the `_extensions` subdirectory. If
you’re using version control, you will want to check in this directory.

## Using

To use the extension, add the following to your Quarto document:

``` yaml
filters:
- mitex
```

## Example

Here is the source code for a minimal example:
[example.qmd](example.qmd).

- Inline Math will be wrapped in a Typst RawInline using `#mi()`
- Display Math will be transformat to Typst RawBlock using `#mitex()`

See built [PDF](https://quarto-ext.github.io/mitex) and [source
`.typ`](https://quarto-ext.github.io/mitex/example.typ)