You are on page 1of 2

# LaTeX Equation Editor

http://sites.hamline.edu/~arundquist/equationeditor/

Magnification:

## Click Render Expression to see your equation rendered below...

Go here to see the last 20 from your ip address Go here to see the last 20 from everyone This page was created by Prof. Andy Rundquist of the Hamline University Physics Department. If you have requests for packages to add, please email me at firstinitiallastname@hamline.edu. Here are some example latex equations: \frac{a}{b} is a fraction with a over b \sqrt{a} is the square root of a \int_{lower limit}^{upper limit} integrand \, dx gives an integral. The \, command isn't necessary but it makes the spacing look nice. \newcommand{\newcommandname}[number of arguments]{what the command should do} This lets you reuse particular forms. a^{b} gives a raised to b a_{b} gives a with a subscript of b \text{regular text here} This lets you type in words that aren't interpreted as symbols \color{red, green, blue, cyan, magenta, yellow, or black} will change the color of the rest of the current argument \color[rgb]{a, b, c} will change the color to something with a amount of red, b amount of green, and c amount of blue. a, b, and c need to be numbers between 0 and 1. \uc{color name}{item} will colorize that item Note: if you know Mathematica syntax better, try this page

Gallery:
syntax gif

1 of 2

23/09/2012 20:05

## LaTeX Equation Editor

http://sites.hamline.edu/~arundquist/equationeditor/

## f=\frac{n v}{2 L}, \underbrace{\color{red}n=1, 2, 3, \ldots}_{\text{allowed n's}}

\newcommand{\webvector}[2]{\left( \begin{array}{c} #1 \\ #2 \end{array} \right)} \webvector{a}{b}+\webvector{c} {d}=\webvector{a+c}{b+d} \alpha, \beta, \ldots, \omega m \ddot{x} = -k x - b \dot{x} m \ddot{x} = \underbrace{-k x}_{\text{Hooke's law}} \underbrace{b \dot{x}}_{\text{\color{red}friction}}

\int_{-10}^{10}x^2\,dx

\newcommand{\cool}[2]{\sqrt[#1] {x^{#2}-\uc{red}{1}}} \cool{\uc{green}{\cool{6} {7}}}{\uc{blue}{\cool{4}{5}}} \newcommand{\del}{\nabla} \underbrace{\begin{array}{|l|l|} \hline \color{red}\text{Coulomb's law} & \color{red}\del \cdot \vec{D} = 4 \pi \rho \\ \hline \color{yellow}\text{Amp\`{e}re's law} & \color{yellow}\del \times \vec{H} = \frac{4 \pi}{c} \vec{J} \\ \hline \color{green}\text{Faraday's law} & \color{green}\del \times \vec{E} + \frac{1}{c} \frac{\partial \vec{B}} {\partial t}=0 \\ \hline \color{blue}\text{No magnetic monopoles} & \color{blue}\del \cdot \vec{B} = 0 \\ \hline \end{array}}_{\mbox{\uc{magenta} {Light!}}}

2 of 2

23/09/2012 20:05