Clumath343s15s2latexexamples

The most important thing you need to know about LaTex Wikidots is that any "mathy" writing needs to be inside either the math tag [[math]] Math goes here [[/math]] or the inline math tag [[$ math goes here $]]. Every symbol should be done in LaTex for consistency of font throughout your portfolio.

Here are some of the most important symbols that will be used this semester.

vector: $\vec{xy}$
subscripts: $x_1, x_2, x_3, \ldots$
superscripts:$a^1, a^2, a^3, \ldots, a^{10}, a^{11}, \ldots$
length vector : $|\vec{v}|$
dot product: $\vec{v} \cdot \vec{w}$
Real Space: $\mathbb{R}^{n}$
Gradients: $\nabla$
lambda symbol : $\lambda$
the plane: $\mathbb{R}^2$
a line: $\ell$
fractions: $\frac{1}{b}$
define a function: $f:D \to E$
implications and contradictions: $\Rightarrow$, $\Rightarrow\Leftarrow$
square root: $\sqrt{2}$
pi: $\pi$
limits: $\lim_{n\to\infty} \frac{1}{n} = 0$
percentages: % (This symbol is special in LaTex, and the usual way to get it in LaTex doesn't work here. Just leave it out of the dollar-sign environment.)
Matrix:

(1)
\begin{matrix} 1 & 1 & 3 & | & 0 \\ -1 & 3 & 1 & | & 0 \\ 2 & -1 & 3 & | & 0 \\ \end{matrix}

Feel free to add your own.

To see the code, click on 'edit' at the top of the page, highlight the code and then past it into your portfolio page.
I have written this so that you could copy each item individually.

Besides the 'inline' math code, we can have larger equations show up on their own line using [[math]] Math goes here [[/math]]. See the difference between the typsetting below: Let $f(x) = x^2+1$. Then

(2)
\begin{align} f\left(\frac{3}{2}\right) = \left(\frac{3}{2}\right)^2+1=\frac{9}{4} + 1 = \frac{13}{4}. \end{align}

You will need to put a space between two different symbols in the same piece of code, or it will try to interpret it as one! In addition, include the whole symbol in LaTex, not just the unusual character: $\triangle ABC$ is better than $\triangle$ABC.

I suggest that you add WebEquation to your browser's bookmarks. You can also download a Detexify app for your smartphone. And a Google search for "comprehensive LaTex symbol list" will get you a HUGE pdf containing everything a beginner or intermediate LaTex user could ever want, including a very nice index.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License