From 086c5b1fa348afda3b863003ccd85c5c6283c73f Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 4 Jan 2016 10:13:41 -0800 Subject: [PATCH] newline should not separate \onslide tex parts --- mobject/tex_mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobject/tex_mobject.py b/mobject/tex_mobject.py index cb3d138a..662e006b 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) ])