Math_Homework_template_for_Latex
Math_Homework_template_for_Latex
1. part 2
Solution. This is the solution. We set up the solution environment to be double spaced, and the
margins are a bit bigger than normal. This allows your professor plenty of room to write comments
This is how you write a new paragraph. Just skip a line in your document. Use dollar signs for
math mode. everything between them is read as math instead of regular text. 3x + 4y = 5 is a line.
Use double dollar signs to display the equation on its own line.
3x + 4y is a line.
3x + 4y = 5.
There are many more ways to do this. Use google for more advanced ways of writing equations.
There are environments for displaying multiple equations, where everything is aligned at the =
sign, numbered or unnumbered automatically, definining references for equations to call later. For
example, you may want to automatically number an equation, then refer to it later. Here is an
(1) 3x + 4y = 5
2
is given a number automatically. I gave it a label so that I can reference equation (1) later. If I insert
Now, let’s use a new environment...one that automatically aligns equations at the equal sign.
(2) a2 + b2 = c2
(3) a6 = b3
(4) a4 ≥ b5
√
(5) c1/2 > 3
x
(6) a1 = b2n+1
I addition to showing you some usefull structure for typing math characters, notice that all the
equations were automatically numbered. This is not always desirable. A general rule is that using a
a2 + b2 = c2
a6 = b3
a4 ≥ b5
√
c1/2 > 3
x
Z ∞
( f (x)dx)2
2
Z ∞ 2
f (x)dx
2
Lastly, it is a good idea to google things. You should never settle for anything that does not look
exactly how you want. Here is a link to a nice quick reference that you can print off and keep handy
http://web.ift.uib.no/Teori/KURS/WRK/TeX/symALL.html
3
http://detexify.kirelabs.org/classify.html
Use your mouse to sketch what symbol you want, and it tells you the LATEX.