manim.mobject.svg.tex_mobject.Tex

class Tex(*tex_strings, arg_separator='', tex_environment='center', **kwargs)[source]

Bases: manim.mobject.svg.tex_mobject.MathTex

A string compiled with LaTeX in normal mode.

Tests

Check whether writing a LaTeX string works:

>>> Tex('The horse does not eat cucumber salad.')
Tex('The horse does not eat cucumber salad.')

Methods

Attributes

animate

Used to animate the application of a method.

depth

The depth of the mobject.

height

The height of the mobject.

width

The width of the mobject.