Update app.py
Browse files
app.py
CHANGED
|
@@ -173,7 +173,7 @@ class GeneratedMathScene(Scene):
|
|
| 173 |
mid = len(parts)//2
|
| 174 |
line1 = " ".join(parts[:mid])
|
| 175 |
line2 = " ".join(parts[mid:])
|
| 176 |
-
wrapped_eq = f"{line1}
|
| 177 |
obj = MathTex(wrapped_eq, color=default_color, font_size=equation_size)
|
| 178 |
else:
|
| 179 |
obj = MathTex(eq_content, color=default_color, font_size=equation_size)
|
|
|
|
| 173 |
mid = len(parts)//2
|
| 174 |
line1 = " ".join(parts[:mid])
|
| 175 |
line2 = " ".join(parts[mid:])
|
| 176 |
+
wrapped_eq = f"{{line1}} \\\\\\\\ {{line2}}"
|
| 177 |
obj = MathTex(wrapped_eq, color=default_color, font_size=equation_size)
|
| 178 |
else:
|
| 179 |
obj = MathTex(eq_content, color=default_color, font_size=equation_size)
|