Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 755 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 755 Bytes

Extension-LaTeX

Render math formulas in LaTeX/AsciiMath format in SillyTavern chats.

How to use

  1. Install the "LaTeX" extension from the "Download Extensions & Assets" menu in the Extensions panel.
  2. Use the latex or asciimath code block to render math formulas in LaTeX or AsciiMath format respectively.
  3. To use the legacy syntax with $$ (LaTeX) and $ (AsciiMath) delimiters in Markdown, import the following scripts with the Regex extension.

Example

```latex
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
```
```asciimath
int_{-oo}^{oo} e^{-x^2} dx = sqrt{pi}
```

License

AGPL-3.0