Skip to content

Commit 0f5b374

Browse files
committed
fix(docs): remove TeX deps in examples
1 parent 2dc4c1a commit 0f5b374

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/reference/examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ And later use this class anywhere in your code:
101101
102102
class SubclassExample(MovingCameraSlide):
103103
def construct(self):
104-
eq1 = MathTex("x", "=", "1")
105-
eq2 = MathTex("x", "=", "2")
104+
eq1 = Text("x", "=", "1")
105+
eq2 = Text("x", "=", "2")
106106
107107
self.play(Write(eq1))
108108
@@ -135,8 +135,8 @@ directly write the `construct` method in the body of `MovingCameraSlide`.
135135
136136
class SubclassExample(MovingCameraSlide):
137137
def construct(self):
138-
eq1 = MathTex("x", "=", "1")
139-
eq2 = MathTex("x", "=", "2")
138+
eq1 = Text("x", "=", "1")
139+
eq2 = Text("x", "=", "2")
140140
141141
self.play(Write(eq1))
142142

0 commit comments

Comments
 (0)