1. ## 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

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 \displaystyle \int x^2 dx  3. ## Re: Latex help 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 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

4. ## 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

5. ## Re: Latex help

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
Here is a wikipage with common math commands and examples

Helpisplaying a formula - Wikipedia, the free encyclopedia

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

So to write your first expression you would use

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

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

6. ## Re: Latex help

use \frac{1}{2} with [tex] tags give $\displaystyle \frac{1}{2}$

2 \times 3 give us $\displaystyle 2 \times 3$

7. ## Re: Latex help

=$\displaystyle \frac23$

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

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

David

8. ## 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.

9. ## Re: Latex help

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.
I have already found that out lol

Just need to practice, practice and practice some more now

10. ## Re: Latex help

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
You can pratice LaTeX here:Online LaTeX Equation Editor.

Here's another way to write fractions:

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

gives:

$\displaystyle {2 \over 3}$

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

gives :

$\displaystyle {2 \over 3}+{1 \over 6} ={5 \over 6}$

11. ## Re: Latex help

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

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

$\displaystyle 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:

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