```
<img src="http://www.forkosh.dreamhost.com/mimetex.cgi?\int_{-\infty }^{\infty }e^{-x^{2}}\;dx=\sqrt{\pi }"/>
```

**1**

# LaTeX - based equations in gamedev.net forums

###
#1
Moderators - Reputation: **1365**

Posted 23 February 2010 - 11:55 AM

###
#5
Senior Moderators - Reputation: **16709**

Posted 18 January 2012 - 02:59 PM

Tristam MacDonald - Software Engineer @ Amazon - [swiftcoding] [GitHub]

###
#6
Members - Reputation: **147**

Posted 27 January 2015 - 11:55 AM

I came here looking for a way for embedding formulas in the posts. Gamedev now supports Mathjax, so Latex formulas can be easily embedded by enclosing them in double dollar signs ($$).

So writing this in the post:

$$\sqrt{(F{_{x}})^{2}+(F{_{y}})^{2}}$$

Results in this:

$$\sqrt{(F{_{x}})^{2}+(F{_{y}})^{2}}$$

Which is plain html (no img).

Edy / @VehiclePhysics

###
#7
Members - Reputation: **726**

Posted 12 November 2015 - 09:16 AM

But I want to write inline maths, rather than having it split into a new paragraph. Mathjax docs say I should use single $ to wrap it, but that doesn't see to work here.

I want to define $f(x) = x$ mid-sentence.I want to define $f(x) = x$ mid-sentence.

Defining $$f(x) = x$$ this way take too much space when you do it loads.Defining $$f(x) = x$$ this way take too much space when you do it loads.

Is there some config someone can change to make it work?

###
#8
Members - Reputation: **726**

Posted 12 November 2015 - 10:00 AM

Anyway, here's how to do it:

Defining \(f(x) = x\) mid-sentence.Defining \(f(x) = x\) mid-sentence.

You can also use the similar \[f(x) = x\] to split into a new paragraph.You can also use the similar \[f(x) = x\] to split into a new paragraph.

###
#9
Members - Reputation: **726**

Posted 13 November 2015 - 05:10 AM

http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference