Thursday, July 5, 2012

LATEX Format on Udacity Forums

LaTeX allows a very nice display of math equations.

Linkages to helpful pages

LaTeX CodingFunctionComments
Codings may start & end with $$
Codings may also start & end with $%Left justified
\therefore$$\therefore$$
\ begin{array} {|c|c} --- & --- & \end{array} $$\begin{array} {|c|c} --- & --- & \end{array} $$
\ begin{array}{|c|c|c|c|} P & Q & P \land Q & P \lor Q \\ \hline T & T & T & T \\ T & F & F & T \\ F & T & F & T \\ F & F & F & F \\ \end{array}$$\begin{array}{|c|c|c|c|} P & Q & P \land Q & P \lor Q \\ \hline T & T & T & T \\ T & F & F & T \\ F & T & F & T \\ F & F & F & F \\ \end{array}$$
(\frac{a}{x})^2$$(\frac{a}{x})^2$$
\left(\frac{a}{x}\right)^2$$\left(\frac{a}{x}\right)^2$$Big parenthesis
\cos^2 x +\sin^2 x = 1 $$\cos^2 x +\sin^2 x = 1$$
\angle30 $$\angle30 $$
 t { i } = \frac{i V{0y}}{100}  $$ t { i } = \frac{i V{0y}}{100} $$
22^{\circ}$$22^{\circ}$$
a^{lol}$$a^{lol}$$
\vec{a}$$\vec{a}$$
x_i$$x_i$$
\dot{x} & = \sigma(y-x)\\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy $$\begin{aligned} \dot{x} & = \sigma(y-x)\\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy \end{aligned}$$Start & end with slash begin{aligned} & end{aligned}
\\ causes new line
\dfrac{a}{b}$$\dfrac{a}{b}$$larger numerals
/,1/,2/,3/,4$$1\,2\,3\,4$$/, = Small space (comma)
/;1/;2:;3/;4$$1\;2\;3\;4$$/; = Larger space (semi-colon)
/quad1/quad2/quad3/quad4$$1\quad2\quad3\quad4$$/quad = Quite large space (quad)
\times$$\times$$instead of asterisk
\varpropto$$\varpropto$$
\approx$$\approx$$
\mbox{text}$$\mbox{text}$$
s~p~a~c~e$$s~p~a~c~e$$
\overbrace{E_{total-initial}}$$\overbrace{E_{total-initial}}$$
\overbrace{E_{loss}}^?$$\overbrace{E_{loss}}^?$$
\underbrace{E_{total-initial}}$$\underbrace{E_{total-initial}}$$
\underbrace{E_{loss}}_?$$\underbrace{E_{loss}}_?$$

2 comments:

  1. Thank you so much for providing this. Now I am enjoying typing in Latex format.

    ReplyDelete