Tex#
Qualified name: manim.mobject.text.tex\_mobject.Tex
- class Tex(*tex_strings, arg_separator='', tex_environment='center', **kwargs)[source]#
Bases:
MathTexA 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
animateUsed to animate the application of any method of
self.animation_overridescolordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
font_sizeThe font size of the tex mobject.
hash_seedA unique hash representing the result of the generated mobject points.
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.