# Latex Practice Ground

86 replies to this topic

### #18 Mercedes Benzene

Mercedes Benzene

Student

• Moderators
• 2950 posts

Posted 12 May 2007 - 07:10 PM

Just testing out some Latex since I've never really used it before!

$t=\frac {\bar{x}-\mu}{s/sqrt{n}$

$7.77 \pm 1.984\left(\frac{2.28956}{\sqrt{100}}\right)$

$(7.316,8.224)$

### #19 DougF

DougF

Hypo Contributer

• Members
• 1229 posts

Posted 31 May 2007 - 08:02 AM

f(x)=int_{-infty}^xfrac{(e^{-t^2})}{sqrt{pi^x}}dt

### #20 DougF

DougF

Hypo Contributer

• Members
• 1229 posts

Posted 31 May 2007 - 08:12 AM

f(x)=int_{-infty}^xfrac{(e^{-t^2})}{sqrt{pi^x}}dt

[tag]f(x)=int_{-infty}^xfrac{(e^{-t^2})}{sqrt{pi^x}}dt[/tag]

### #21 DougF

DougF

Hypo Contributer

• Members
• 1229 posts

Posted 31 May 2007 - 08:16 AM

[tag]f(x)=int_{-infty}^xfrac{(e^{-t^2})}{sqrt{pi^x}}dt[/tag]

[tag] f(x)=int_{-infty}^xfrac{(e^{-t^2})}{sqrt{pi^x}}dt [/tag]

I think i'm missing somethe here?

### #22 DougF

DougF

Hypo Contributer

• Members
• 1229 posts

Posted 31 May 2007 - 09:48 AM

I guess I'm not holding my mouth right.

### #23 Mercedes Benzene

Mercedes Benzene

Student

• Moderators
• 2950 posts

Posted 31 May 2007 - 12:40 PM

You don't use [tag], you use THE tags latex and /latex

### #24 DougF

DougF

Hypo Contributer

• Members
• 1229 posts

Posted 31 May 2007 - 12:57 PM

Thanks I'll try one more time!

$f(x)=\int_{-\infty}^x\frac{(e^{-t^2})}{\sqrt{\pi^x}}dt$

Thanks: I think I've got it now.
RED

### #25 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 10 September 2007 - 04:57 PM

$f(x)=\int_{-\infty}^x\frac{(e^{-t^2})}{\sqrt{\pi^x}}dt$

### #26 CraigD

CraigD

Creating

• 8034 posts

Posted 07 October 2007 - 08:34 AM

A Feynman diagram, without the pretty wavy line...

$setlength{unitlength}{1mm} begin{picture}(0, 0) put(10, 20){ makebox(3,0)[cc]{gamma} vector(1,0){10} } put(24, 20){ vector(2,1){10} } put(24, 20){ vector(2,-1){10} } put(35, 25){ makebox(3,0)[cc]{e^-} vector(2,-1){10} } put(35, 15){ makebox(3,0)[cc]{e^+} vector(2,1){10} } put(50, 20){ makebox(3,0)[cc]{gamma} vector(1,0){10} } end{picture}$

Thinking

• Members
• 23 posts

Posted 09 October 2007 - 08:48 PM

$-1 = e^{\pi i}$

### #28 alexander

alexander

Dedicated Smart-ass

• Members
• 5722 posts

Posted 10 October 2007 - 08:29 AM

please use the the math tags....

instead of $-1=e^{\Pi i}$
$-1=e^{\pi i}$

use $-1=e^{\Pi i}$
$-1=e^{\pi i}$

distinct advantages of the second over the first are:
you can now click on the expression to see the code
you can notice better rendering and space management
you can now do a load more with this then you were able to with latex... you can do stuff like this:
$I(z) = \sin( \frac{\pi}{2} z^2 ) \sum_{n=0}^\infty\frac{ (-1)^n \pi^{2n} }{1 \cdot 3\cdots (4n + 1) } z^{4n + 1}-\cos( \frac{\pi}{2} z^2 ) \sum_{n=0}^\infty\frac{ (-1)^n \pi^{2n + 1} }{1 \cdot 3\cdots (4n + 3) } z^{4n + 3}$

$\setlength{\unitlength}{1mm} \begin{picture}(60, 40) {\put(30, 20){\vector(1, 0){30}}} {\put(30, 20){\vector(4, 1){20}}} {\put(30, 20){\vector(3, 1){25}}} {\put(30, 20){\vector(2, 1){30}}} {\put(30, 20){\vector(1, 2){10}}} \thicklines \put(30, 20){\vector(-4, 1){30}} \put(30, 20){\vector(-1, 4){5}} \thinlines \put(30, 20){\vector(-1, -1){5}} \put(30, 20){\vector(-1, -4){5}} \end{picture}$

i gotta go find if i can enable the pst-plot module.... that would be interesting

### #29 snoopy

snoopy

Understanding

• Members
• 261 posts

Posted 18 December 2007 - 02:29 AM

testing

$f(x)=\int_{-\infty}^x\frac{(e^{-t^2})}{\sqrt{\pi^x}}dt$

Ah I see....

said the blind man

### #30 snoopy

snoopy

Understanding

• Members
• 261 posts

Posted 21 December 2007 - 06:11 AM

$\fontsize=10[SIZE=2][FONT=LMTypewriter10-Regular]\setlength{\unitlength}{1mm}\begin{picture}([/FONT][/SIZE][I][FONT=LMMathItalic10-Italic][SIZE=2]60,40[/SIZE][/FONT][/I][FONT=LMTypewriter10-Regular][SIZE=2])[/SIZE][/FONT][FONT=LMTypewriter10-Regular][SIZE=2]\end{picture}[/SIZE][/FONT]$

$y=mx+c$

### #31 snoopy

snoopy

Understanding

• Members
• 261 posts

Posted 21 December 2007 - 06:12 AM

### #32 pigeon_soup

pigeon_soup

Thinking

• Members
• 16 posts

Posted 12 June 2008 - 03:53 PM

frac{dy}{dy} = fract {9}{32} (x^2 -4x)

### #33 pigeon_soup

pigeon_soup

Thinking

• Members
• 16 posts

Posted 12 June 2008 - 03:54 PM

frac{dy}{dy} = fract {9}{32} (x^2 -4x)

### #34 CraigD

CraigD

Creating

• 8034 posts

Posted 12 June 2008 - 04:52 PM

$\frac{dy}{dy} = \fract {9}{32} (x^2 -4x)$

doesn't parse correctly due to the unrecognized element "fract":
$\frac{dy}{dy} = \fract {9}{32} (x^2 -4x)$

$\frac{dy}{dy} = \frac{9}{32} (x^2 -4x)$

renders as:
$\frac{dy}{dy} = \frac{9}{32} (x^2 -4x)$

There's also an older tag, [math], but it renders less nicely, and supports less LaTeX than the [math] tag.

Using LaTeX in your posts shows attention to detail, which will win the admiration of your peers!