mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
newline should not separate \onslide tex parts
This commit is contained in:
@ -109,7 +109,7 @@ def tex_to_dvi(tex_file):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
def tex_expression_list_as_string(expression):
|
def tex_expression_list_as_string(expression):
|
||||||
return "\n".join([
|
return "".join([
|
||||||
"\onslide<%d>{"%count + exp + "}"
|
"\onslide<%d>{"%count + exp + "}"
|
||||||
for count, exp in zip(it.count(1), expression)
|
for count, exp in zip(it.count(1), expression)
|
||||||
])
|
])
|
||||||
|
Reference in New Issue
Block a user