Jump to content


Photo
- - - - -

Latex Practice Ground


  • Please log in to reply
85 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!

[math]t=\frac {\bar{x}-\mu}{s/sqrt{n} [/math]

[math] 7.77 \pm 1.984\left(\frac{2.28956}{\sqrt{100}}\right) [/math]

[math] (7.316,8.224) [/math]

#19 DougF

DougF

    Hypo Contributer

  • Members
  • PipPipPipPipPipPipPip
  • 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
  • PipPipPipPipPipPipPip
  • 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
  • PipPipPipPipPipPipPip
  • 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
  • PipPipPipPipPipPipPip
  • 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
  • PipPipPipPipPipPipPip
  • 1229 posts

Posted 31 May 2007 - 12:57 PM

Thanks I'll try one more time! :eek_big:

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


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

#25 alexander

alexander

    Dedicated Smart-ass

  • Members
  • PipPipPipPipPipPipPip
  • 5722 posts

Posted 10 September 2007 - 04:57 PM

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

#26 CraigD

CraigD

    Creating

  • Administrators
  • 8034 posts

Posted 07 October 2007 - 08:34 AM

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

[math]

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}

[/math]

#27 tierradelfuego

tierradelfuego

    Thinking

  • Members
  • PipPip
  • 23 posts

Posted 09 October 2007 - 08:48 PM

[math]-1 = e^{\pi i}[/math]

#28 alexander

alexander

    Dedicated Smart-ass

  • Members
  • PipPipPipPipPipPipPip
  • 5722 posts

Posted 10 October 2007 - 08:29 AM

please use the the math tags....

instead of [math]-1=e^{\Pi i}[/math]
[math]-1=e^{\pi i}[/math]

use [math]-1=e^{\Pi i}[/math]
[math]-1=e^{\pi i}[/math]

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:
[math]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}
[/math]

[math]
\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}
[/math]

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

#29 snoopy

snoopy

    Understanding

  • Members
  • PipPipPipPipPip
  • 261 posts

Posted 18 December 2007 - 02:29 AM

testing

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


Ah I see....

said the blind man

#30 snoopy

snoopy

    Understanding

  • Members
  • PipPipPipPipPip
  • 261 posts

Posted 21 December 2007 - 06:11 AM

[math]\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][/math]

[math]y=mx+c[/math]

#31 snoopy

snoopy

    Understanding

  • Members
  • PipPipPipPipPip
  • 261 posts

Posted 21 December 2007 - 06:12 AM

Posted Image

#32 pigeon_soup

pigeon_soup

    Thinking

  • Members
  • PipPip
  • 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
  • PipPip
  • 16 posts

Posted 12 June 2008 - 03:54 PM

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


#34 CraigD

CraigD

    Creating

  • Administrators
  • 8034 posts

Posted 12 June 2008 - 04:52 PM

[math]\frac{dy}{dy} = \fract {9}{32} (x^2 -4x)[/math]

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

[math]\frac{dy}{dy} = \frac{9}{32} (x^2 -4x)[/math]

renders as:
[math]\frac{dy}{dy} = \frac{9}{32} (x^2 -4x)[/math]

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! :)