Tex#

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

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

Bases: 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.

hash_seed

A unique hash representing the result of the generated mobject points.

height

The height of the mobject.

n_points_per_curve

sheen_factor

stroke_color

width

The width of the mobject.

_original__init__(*tex_strings, arg_separator='', tex_environment='center', **kwargs)#

Initialize self. See help(type(self)) for accurate signature.