Skip to main content

A Manim Plugin that renders LaTeX for Mobjects like Tex and MathTex via online services.

Project description

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, and if for some reason LaTeXCluster is down, will attempt to use QuickLaTeX.

Usage instructions

Import the contents of manim_onlinetex AFTER manim has been imported, like so:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manim-onlinetex-0.2.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

manim_onlinetex-0.2.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page