Update app.py
Browse files
app.py
CHANGED
|
@@ -637,7 +637,7 @@ class GeneratedMathScene(Scene):
|
|
| 637 |
mid = len(parts) // 2
|
| 638 |
line1 = " ".join(parts[:mid])
|
| 639 |
line2 = " ".join(parts[mid:])
|
| 640 |
-
wrapped_eq = f"{{
|
| 641 |
obj = MathTex(wrapped_eq, color=default_color, font_size=equation_size)
|
| 642 |
else:
|
| 643 |
obj = MathTex(eq_content, color=default_color, font_size=equation_size)
|
|
|
|
| 637 |
mid = len(parts) // 2
|
| 638 |
line1 = " ".join(parts[:mid])
|
| 639 |
line2 = " ".join(parts[mid:])
|
| 640 |
+
wrapped_eq = f"{{line1}} \\\\ {{line2}}"
|
| 641 |
obj = MathTex(wrapped_eq, color=default_color, font_size=equation_size)
|
| 642 |
else:
|
| 643 |
obj = MathTex(eq_content, color=default_color, font_size=equation_size)
|