11<?xml version =' 1.0' encoding =' utf-8' ?>
22<chapter xml : id =" ch-latex" >
33 <title >LaTeX</title >
4- <introduction >
5- <p >
6- This chapter is co-authored by Francesca Gandini, Sumner Strom,
7- </p >
8- </introduction >
9- <section xml : id =" sec-what-is" >
10- <title >What Is </title >
11- <p >
12- <pubtitle >XXX</pubtitle > stands for <q >YYY</q >.
13- more commonly known as
14-
15- <em >ZZZZ</em >. For math <m >\sqrt{5}</m >. A sample list and links
16-
17- <ul >
18- <li >
19- <p >
20- <url href =" https://www.3blue1brown.com/" >https://www.3blue1brown.com/</url >
21- </p >
22- </li >
23- <li >
24- <p >
25- <url href =" https://www.youtube.com/c/3blue1brown" >https://www.youtube.com/c/3blue1brown</url >
26- </p >
27- </li >
28- </ul >
29- </p >
30- <p >
31- Soething
32- <url href =" http://tbil.org" >TBIL.org</url > Calculus I video series
33- <url href =" https://www.youtube.com/playlist?list=PLwXCBkIf7xBODPeQxULagMeWSK4YtLYog" >
34- at this YouTube playlist
35- </url >
36- was animated entirely by Tien Chih using Manim.
37- </p >
38- </section >
39-
404 <section xml : id =" sec-latex-codespace" >
415 <title >Creating a LaTeX Codespace</title >
426
@@ -50,72 +14,6 @@ you might be able to follow directly the README in the repo. Otherwise, keep rea
5014 </p >
5115 </section >
5216
53- <section xml : id =" sec-hello-world2" >
54- <title >Hello World!</title >
55- <introduction >
56- <p >
57- Let's run our very first Manim animation.
58- </p >
59- </introduction >
60- <activity >
61- <introduction >
62- <p >
63- Open <c >main.py</c > and look for the line
64- <c >class HelloWorld(Scene):</c >.
65- </p >
66- </introduction >
67- <task >
68- <statement >
69- <p >
70- Open a Terminal and execute the command
71- <c >manim render -ql main.py HelloWorld</c >.
72- (See the README file for other options
73- to render Manim scenes.)
74- </p >
75- </statement >
76- </task >
77- <task >
78- <statement >
79- <p >
80- Open the file
81- <c >media/videos/main/480p15/HelloWorld.mp4</c >
82- to view your newly rendered video.
83- </p >
84- </statement >
85- </task >
86- <task >
87- <statement >
88- <p >
89- See if you can add these lines to the code so
90- the video ends by saying <q >My name is YOUR NAME HERE</q >.
91- <ul >
92- <li >
93- <p >
94- <c >name = MathTex(r"\text{My name is YOUR NAME HERE.}")</c >
95- </p >
96- </li >
97- <li >
98- <p >
99- <c >self.play(Transform(hello, name))</c >
100- </p >
101- </li >
102- </ul >
103- Don't forget to re-run
104- <c >manim render -ql main.py HelloWorld</c >
105- to update your rendered video.
106- </p >
107- </statement >
108- </task >
109- <task >
110- <statement >
111- <p >
112- See if you can make the circle <c >GREEN</c > instead
113- of <c >PINK</c >.
114- </p >
115- </statement >
116- </task >
117- </activity >
118- </section >
11917
12018
12119
0 commit comments