mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-09-19 12:44:11 +08:00
fix(docs): remove TeX deps in examples
This commit is contained in:
@ -101,8 +101,8 @@ And later use this class anywhere in your code:
|
|||||||
|
|
||||||
class SubclassExample(MovingCameraSlide):
|
class SubclassExample(MovingCameraSlide):
|
||||||
def construct(self):
|
def construct(self):
|
||||||
eq1 = MathTex("x", "=", "1")
|
eq1 = Text("x", "=", "1")
|
||||||
eq2 = MathTex("x", "=", "2")
|
eq2 = Text("x", "=", "2")
|
||||||
|
|
||||||
self.play(Write(eq1))
|
self.play(Write(eq1))
|
||||||
|
|
||||||
@ -135,8 +135,8 @@ directly write the `construct` method in the body of `MovingCameraSlide`.
|
|||||||
|
|
||||||
class SubclassExample(MovingCameraSlide):
|
class SubclassExample(MovingCameraSlide):
|
||||||
def construct(self):
|
def construct(self):
|
||||||
eq1 = MathTex("x", "=", "1")
|
eq1 = Text("x", "=", "1")
|
||||||
eq2 = MathTex("x", "=", "2")
|
eq2 = Text("x", "=", "2")
|
||||||
|
|
||||||
self.play(Write(eq1))
|
self.play(Write(eq1))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user