Tex#

Qualified name: manim.mobject.text.tex\_mobject.Tex

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

Bases: manim.mobject.text.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 any method of self.

animation_overrides

color

depth

The depth of the mobject.

fill_color

If there are multiple colors (for gradient) this returns the first one

font_size

The font size of the tex mobject.

height

The height of the mobject.

sheen_factor

stroke_color

width

The width of the mobject.