mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 14:47:44 +00:00
Use monospace for asset annotation
This commit is contained in:
parent
b71e63a540
commit
2a930ff702
1 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ Here coordinates are used for animations
|
|||
self.wait(0.5)
|
||||
|
||||
for text, aliase in aliases.items():
|
||||
anno = TexMobject(text)
|
||||
anno = TexMobject(f"\\texttt{{{text}}}")
|
||||
self.play(Write(anno, run_time=0.2))
|
||||
self.play(ApplyMethod(circle.shift, aliase))
|
||||
self.wait(0.2)
|
||||
|
|
@ -165,7 +165,7 @@ Numpy array allows arithmetic operations::
|
|||
"RIGHT * 3.75 + DOWN": RIGHT * 3.75 + DOWN}
|
||||
|
||||
for text, aliase in aliases.items():
|
||||
anno = TexMobject(text)
|
||||
anno = TexMobject(f"\\texttt{{{text}}}")
|
||||
self.play(Write(anno, run_time=0.2))
|
||||
self.play(ApplyMethod(circle.shift, aliase))
|
||||
self.wait(0.2)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue