MathTex
(*tex_strings, arg_separator=' ', substrings_to_isolate=None, tex_to_color_map=None, tex_environment='align*', **kwargs)[source]¶Bases: manim.mobject.svg.tex_mobject.SingleStringMathTex
A string compiled with LaTeX in math mode.
Examples
class Formula(Scene):
def construct(self):
t = MathTex(r"\int_a^b f'(x) dx = f(b)- f(a)")
self.add(t)
Tests
Check that creating a MathTex
works:
>>> MathTex('a^2 + b^2 = c^2')
MathTex('a^2 + b^2 = c^2')
Methods
Reorganize existing submobjects one layer deeper based on the structure of tex_strings (as a list of tex_strings) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes
|
Used to animate the application of a method. |
|
The depth of the mobject. |
|
The height of the mobject. |
|
The width of the mobject. |