Composing your own equations using Tex is as easy as 1-2-3!
You can loads of cool stuff with it, so why not give it a shot?
Basic math!
Type in an equation, any equation. Like this
one: 5x ^ 4 + 7x ^ 3 - 21x ^ 2 - 2x ^ 2 + x + 45 Now want to make
it look cool and professional? insert < math > and </
math > at both ends (without the spaces) and you get:
.
Note that you do need to make one fix up in some
cases- always leave a space before any * or ^ symbols, or else
you'll get something like
instead of 3x 7 * 5y ^2 * 6.
Fractions
Sick and tired of writing 1/2? Well, here's
your solution! Use the math brackets with the expression
\frac{1}{2}. This gives ,
which looks that much better. You can make your fractions as big
as you want, just put the entire numerator in the first set of
curly brackets and the entire denominator at the bottom. You can
even make multiple fractions:
.
More exponents and roots
To raise something to an exponent of more
than one figure, put it all in {} after the ^. Like so: 2 ^{5x+6}
translates to . How cool
is that?
For roots, use the \sqrt command. You can
input \sqrt{2} for , and even
\sqrt[ 3 ]{8} (note the spaces besides the 3) for
.
Want more?
Check out LeChuck's comprehensive Equation Editor lesson for a quick and useful cheat sheet.
Want more awesome
examples?
\frac{\sqrt{x ^2-y ^2} +4}{\frac{x}{y} +|x ^3y ^2|}
translates to:
\left(\sqrt[ 3 ]{2x ^3+\frac{x ^2}{2}-\frac{3x}{4}-1}\right)
translates to:
And \pi -\frac{2\pi}{3}=\sqrt {\frac{\pi2}{9}}
will give you:
.
Common reasons why your equations aren't working:
Forgetting to put < math> and <
/math> before and afer
Spacing issues before and after signs like
^
Not closing your {} and [] brackets
Misplacing your brackets or signs
Still not working? Can't see any equations? Upgrade your browser!
Hope this makes you the new Equation Tex
Master! Enjoy!
Image Credit : psd
Post Comments