# Latex help

• Nov 30th 2011, 08:17 AM
David Green
Latex help
I have read through the information on here but can't find a part that allows me to practice latex, could somebody please advise me

Thanks

David(Happy)
• Nov 30th 2011, 08:29 AM
Amer
Re: Latex help
use $$to begin writing latex and [x/tex] to end the code for example without the x before / [tex]\int x^2 dx [x/tex] remove the x to get $\int x^2 dx$ • Nov 30th 2011, 09:06 AM e^(i*pi) Re: Latex help Quote: Originally Posted by David Green I have read through the information on here but can't find a part that allows me to practice latex, could somebody please advise me Thanks David(Happy) You can use this topic to test any latex learnt from the stickies. It's how I learnt it From [tex]e^(2x+1)$$ to $$\sqrt{\dfrac{\sin^3 \theta -1}{\lambda}}$$

edit: @Amer - you can wrap tex in noparse tags (used as you do with normal tags) to prevent it rendering
• Nov 30th 2011, 10:14 AM
David Green
Re: Latex help
[tex]e^(2x+1)[tex]\sqrt(\dfrac(\sin^3\theta-1)(\lambda))[\tex]

I am still confused, please give me an example of how you would input a real maths example, such as;

2/3 + 1/6 = ?

1 / 3/4 = 7/4 + 3/8

The second one above is 1 x 4 + 3 = 7/4, but written as 1/ 3/4

This is why I need to learn this latex so forum members understand what I write?

Thanks

David(Happy)
• Nov 30th 2011, 10:23 AM
TheEmptySet
Re: Latex help
Quote:

Originally Posted by David Green
[tex]e^(2x+1)[tex]\sqrt(\dfrac(\sin^3\theta-1)(\lambda))[\tex]

I am still confused, please give me an example of how you would input a real maths example, such as;

2/3 + 1/6 = ?

1 / 3/4 = 7/4 + 3/8

The second one above is 1 x 4 + 3 = 7/4, but written as 1/ 3/4

This is why I need to learn this latex so forum members understand what I write?

Thanks

David(Happy)

Here is a wikipage with common math commands and examples

Help:Displaying a formula - Wikipedia, the free encyclopedia

\frac{1}{2} $\frac{1}{2}$

So to write your first expression you would use

\frac{2}{3}+\frac{1}{6}=

$\frac{2}{3}+\frac{1}{6}=$
• Nov 30th 2011, 10:25 AM
Amer
Re: Latex help
use \frac{1}{2} with [tex] tags give $\frac{1}{2}$

2 \times 3 give us $2 \times 3$
• Nov 30th 2011, 11:54 AM
David Green
Re: Latex help
= $\frac23$

$\frac23+\frac16$ = $\frac56$

Very slowly but I think now I am getting the understanding(Rofl), and it looks a lot better too(Rofl)

David(Happy)
• Dec 1st 2011, 07:23 PM
Deveno
Re: Latex help
if you want to practice "on the sly" without anyone seeing your terrible misfortune, choose a topic such as this one, and click on the "Go Advanced" tab when you reply.

there, you can click on "Preview Post" whilst you practice, and it will display what your miscreation will look like. (Giggle)
• Dec 2nd 2011, 09:55 AM
David Green
Re: Latex help
Quote:

Originally Posted by Deveno
if you want to practice "on the sly" without anyone seeing your terrible misfortune, choose a topic such as this one, and click on the "Go Advanced" tab when you reply.

there, you can click on "Preview Post" whilst you practice, and it will display what your miscreation will look like. (Giggle)

I have already found that out lol(Rofl)

Just need to practice, practice and practice some more now(Rofl)
• Dec 4th 2011, 12:22 AM
sbhatnagar
Re: Latex help
Quote:

Originally Posted by David Green
I have read through the information on here but can't find a part that allows me to practice latex, could somebody please advise me

Thanks

David(Happy)

You can pratice LaTeX here:Online LaTeX Equation Editor.

Here's another way to write fractions:

[HTML]{2 \over 3}[/HTML]

gives:

${2 \over 3}$

[HTML]{2 \over 3}+{1 \over 6} ={5 \over 6}[/HTML]

gives :

${2 \over 3}+{1 \over 6} ={5 \over 6}$
• Mar 13th 2012, 04:43 PM
wzhuang
Re: Latex help
Let:
$f(x)=\frac{1}{\sigma _{1}\sqrt{2\pi}} e^{-\frac{1}{2} (\frac{x-\mu _{1}}{\sigma _{1}}\, )^{2}}$

$\phi (x)=\int_{-\infty }^{x} f(x)\, dx$

$g(x)=\frac{1}{\sigma _{2}\sqrt{2\pi}} e^{-\frac{1}{2} (\frac{x-\mu _{2}}{\sigma _{2}}\, )^{2}}$

Find an expression or approximate expression of several terms for the following integral:

$Pr(\mu _{1}\, , \sigma _{1}\, ,\mu _{1}\, , \sigma _{2}\)=\int_{-\infty}^{\infty} \phi (x) g(x) \, dx$