Followers 0

# LaTeX - based equations in gamedev.net forums

## 8 posts in this topic

Folks, There is a sticky thread in another forum that shows how you can embed fancy LaTeX-based equations in your forum posts. That functionality seems really beneficial to the math & physics forum so I'm linking to the other thread here. Here is a link to that thread: LaTeX - math equations support? There is another service available that can also do this. Here is an example using the other service: $\int_{-\infty }^{\infty }e^{-x^{2}}\;dx=\sqrt{\pi }$ And the HTML code to put in your post for that example is:
<img src="http://www.forkosh.dreamhost.com/mimetex.cgi?\int_{-\infty }^{\infty }e^{-x^{2}}\;dx=\sqrt{\pi }"/>


(Personally I find the image generated by the service mentioned in the other thread to be a bit prettier.]
1

##### Share on other sites
Awesome. Thank you for finding this host.
0

##### Share on other sites
Thanks go to Kambiz and Sneftel, who originated this information for me/us!
0

##### Share on other sites
Lucky, since the new forum breaks support for non-standard image file names, which means that we can't use *any* 3rd-party embedding service (including all the old latex posts).
0

##### Share on other sites
So Mathjax seems good, since it doesn't require relying on any no-very-permanent external web sites (I just see broken image links above).

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?
1

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account