mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Merge 42f307d027
into f4737828f6
This commit is contained in:
commit
30353d4ce4
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -78,6 +78,20 @@ manim-render example_scenes.py OpeningManimExample
|
||||||
manimgl example_scenes.py OpeningManimExample
|
manimgl example_scenes.py OpeningManimExample
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Tips for using LaTeX
|
||||||
|
|
||||||
|
Before using functions that need LaTeX, please change the
|
||||||
|
temporary directory for intermediate files (which will lead to "LaTeX compilation failed")
|
||||||
|
you can change the `tex_file_writing.py` in `manimlib/utils`:
|
||||||
|
```tex_file_writing.py in full_tex_to_svg
|
||||||
|
# Write intermediate files to a temporary directory
|
||||||
|
with tempfile.TemporaryDirectory() as temp_dir:
|
||||||
|
|
||||||
|
```
|
||||||
|
add a `dir="your/path"` into the brackets.
|
||||||
|
(If you're using Linux or Mac OSX, please don't use path containing "~".)
|
||||||
|
|
||||||
|
|
||||||
## Anaconda Install
|
## Anaconda Install
|
||||||
|
|
||||||
1. Install LaTeX as above.
|
1. Install LaTeX as above.
|
||||||
|
|
Loading…
Add table
Reference in a new issue