Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Different tex file default

Grant Sandersonf58575cc1168
diff --git a/constants.py b/constants.py
index 215c3b5c1..e741b75f7 100644
--- a/constants.py
+++ b/constants.py
@@ -140,7 +140,7 @@ with open(TEMPLATE_TEX_FILE, "r") as infile:
TEMPLATE_TEXT_FILE_BODY = infile.read()
TEMPLATE_TEX_FILE_BODY = TEMPLATE_TEXT_FILE_BODY.replace(
TEX_TEXT_TO_REPLACE,
- "$${}$$".format(TEX_TEXT_TO_REPLACE)
+ "\\begin{align*}" + TEX_TEXT_TO_REPLACE + "\\end{align*}",
)
FFMPEG_BIN = "ffmpeg"