# test, this is only a test of the latex system

• May 26th 2011, 07:30 AM
mathprofessor
test, this is only a test of the latex system
Hi,
I am just trying to learn how to use latex!
\sqrt{4}=2

\int {x}^{3 }dx
\int {x}^{3}dx
• May 26th 2011, 07:34 AM
TheEmptySet
You need to wrap them in tex tags

Code:

$\displaystyle \int_{a}^{b}f(x) \, dx$
\int_{a}^{b}f(x) \, dx $\displaystyle \int_{a}^{b}f(x) \, dx$

Code:

 $\displaystyle \sqrt{4}=2$
\sqrt{4}=2 $\displaystyle \sqrt{4}=2$
• May 26th 2011, 07:42 AM
mathprofessor
Thanks!!
• May 26th 2011, 08:23 AM
mathprofessor
$\displaystyle \sqrt{4}=2$

$\displaystyle \int_{a}^{b}f(x) \, dx$
Why is the integral giving me an error? I wrote \int_{a}^{b}f(x) \, dx with {math} at the beginning and {/math} at the end? I DID use [] instead of {}
• May 26th 2011, 08:28 AM
TheEmptySet
Quote:

Originally Posted by mathprofessor
$\displaystyle \sqrt{4}=2$

$\displaystyle \int_{a}^{b}f(x) \, dx$
Why is the integral giving me an error? I wrote \int_{a}^{b}f(x) \, dx with $\displaystyle at the beginning and$ at the end?

You are using $$[/ math] tags with out the space instead of [tex] [/ tex] tags Due to technical difficulties you must use the 2nd set of tags. [tex] \int_{a}^{b} f(x) \, dx [/ tex] again remove the space • Jun 4th 2011, 01:02 PM Ackbeet Tip: if you want to display actual LaTeX code, use the noparse tags around the whole thing. Then you can avoid awkward circumlocutions such as "but without the space". • Jun 4th 2011, 07:36 PM CaptainBlack Quote: Originally Posted by Ackbeet Tip: if you want to display actual LaTeX code, use the noparse tags around the whole thing. Then you can avoid awkward circumlocutions such as "but without the space". That is [noparse] [/noparse] tags. (and I am still surprised that that works correctly!(Clapping) ) CB • Sep 29th 2011, 08:33 AM noob mathematician Re: test, this is only a test of the latex system \displaystyle M = \left( {\begin{array}{cc} x & y \\ z & w \\ \end{array} } \right)  \displaystyle \begin{bmatrix}1 & 3\\ 2 & 4\end{bmatrix}  I'm bad at matrix latex :( • Sep 29th 2011, 09:05 AM Plato Re: test, this is only a test of the latex system Quote: Originally Posted by noob mathematician \displaystyle M = \left( {\begin{array}{cc} x & y \\ z & w \\ \end{array} } \right)  \displaystyle \begin{bmatrix}1 & 3\\ 2 & 4\end{bmatrix} ( Here is the cleaned up LateX. Remove any line feeds. [TEX]M =\left( {\begin{array}{cc} x & y \\ z & w \\ \end{array} } \right)[/TEX] [tex]\begin{bmatrix}1 & 3\\ 2 & 4\end{bmatrix}$$

$\displaystyle M =\left( {\begin{array}{cc} x & y \\ z & w \\ \end{array} } \right)$

$\displaystyle \begin{bmatrix}1 & 3\\ 2 & 4\end{bmatrix}$