TexTemplateLibrary

Qualified name: manim.utils.tex\_templates.TexTemplateLibrary

class TexTemplateLibrary[source]

Bases: object

A collection of basic TeX template objects

Examples

Normal usage as a value for the keyword argument tex_template of Tex() and MathTex() mobjects:

``Tex("My TeX code", tex_template=TexTemplateLibrary.ctex)``

Methods

Attributes

ctex

An instance of the TeX template used by 3b1b when using the use_ctex flag

default

An instance of the default TeX template in manim

simple

An instance of a simple TeX template with only basic AMS packages loaded

threeb1b

An instance of the default TeX template used by 3b1b

ctex = <manim.utils.tex.TexTemplate object>

An instance of the TeX template used by 3b1b when using the use_ctex flag

default = <manim.utils.tex.TexTemplate object>

An instance of the default TeX template in manim

simple = <manim.utils.tex.TexTemplate object>

An instance of a simple TeX template with only basic AMS packages loaded

threeb1b = <manim.utils.tex.TexTemplate object>

An instance of the default TeX template used by 3b1b