https://github.com/manimcommunity/manim-onlinetex
A Manim Plugin that renders LaTeX for Mobjects like Tex and MathTex via online services.
https://github.com/manimcommunity/manim-onlinetex
Last synced: over 1 year ago
JSON representation
A Manim Plugin that renders LaTeX for Mobjects like Tex and MathTex via online services.
- Host: GitHub
- URL: https://github.com/manimcommunity/manim-onlinetex
- Owner: ManimCommunity
- License: mit
- Created: 2021-01-27T18:50:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-02T07:46:59.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T01:51:26.000Z (over 1 year ago)
- Language: Python
- Size: 54.7 KB
- Stars: 16
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# manim-onlinetex
A Manim Plugin that renders LaTeX for Mobjects like `Tex` and `MathTex` via online services.
This plugin will try to render the LaTeX required by such Mobjects via [LaTeXCluster](https://www.latexcluster.org/), and if for some reason LaTeXCluster is down, will attempt to use [QuickLaTeX](https://quicklatex.com/).
## Usage instructions
Import the contents of `manim_onlinetex` AFTER `manim` has been imported, like so:
```py
from manim import *
from manim_onlinetex import *
```
Then, use a `Mobject` that requires `LaTeX` rendering. If the
Plugin is doing its job, then the `Tex` folder of your `media`
directory should have the source `.tex` file, the final `.svg`
file, and no intermediary files (like `.dvi` files), since that's
all handled by the online service.
## Limitations
Please avoid clearing the Tex directory of your media directory. This is so you don't contact the external LaTeX rendering APIs too often and put an unnecessary strain on their servers.