Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

newline should not separate \onslide tex parts

Grant Sanderson086c5b1fa348
diff --git a/mobject/tex_mobject.py b/mobject/tex_mobject.py
index cb3d138a9..662e006bc 100644
--- a/mobject/tex_mobject.py
+++ b/mobject/tex_mobject.py
@@ -109,7 +109,7 @@ def tex_to_dvi(tex_file):
return result
def tex_expression_list_as_string(expression):
- return "\n".join([
+ return "".join([
"\onslide<%d>{"%count + exp + "}"
for count, exp in zip(it.count(1), expression)
])