Can we have math markdown on this site (like on math.stackchange.com)? It will make answering some of the geometry questions easier

  • 5
    \$\begingroup\$ I'm not against it, but I also feel like if a question requires that much math in its answer, it's probably more suited for math.se, not here. Math here needs to be translated into readable code eventually anyway, so I'd encourage code-like answers rather than math answers. \$\endgroup\$
    – user744
    Commented Jan 14, 2011 at 15:56
  • \$\begingroup\$ @Joe Wreschnig, agreed, I would rather have psuedo-code than crazy math symbols. I don't know what a lot of those math symbols mean, but code I can read. \$\endgroup\$ Commented Jan 15, 2011 at 4:02
  • 1
    \$\begingroup\$ I'd vote this up, but for some reason I'm just asked to log in or register to vote.. and I'm already logged in. \$\endgroup\$ Commented Jan 17, 2011 at 18:40
  • \$\begingroup\$ @JariKomppa: maybe it works now? I'm sure voting this up even if it's old. \$\endgroup\$ Commented Dec 9, 2011 at 16:42
  • 6
    \$\begingroup\$ @JoeWreschnig: maths is used here as a language, not as a discipline; there are very few game development topics requiring complex maths that would be on-topic on math.se. Have you ever browsed a copy of Real Time Rendering? There is almost no code in there, but it's stuffed with very complex formulas and equations. \$\endgroup\$ Commented Dec 9, 2011 at 16:46
  • \$\begingroup\$ @SamHocevar Posting answers in the language of mathematics should be discouraged. We want algorithms in pseudocode, not "Oh just solve this equation $$math$$ and that'll be your answer". \$\endgroup\$
    – bobobobo
    Commented Jun 24, 2013 at 16:12
  • 1
    \$\begingroup\$ @bobobobo we also want proofs of these algorithms, which are often more easily written in the language of mathematics. \$\endgroup\$ Commented Jun 24, 2013 at 20:20
  • \$\begingroup\$ @SamHocevar I would strongly argue that proofs should not be outlined on this site. A mathematical proof is off topic. \$\endgroup\$
    – bobobobo
    Commented Jun 25, 2013 at 13:14
  • 1
    \$\begingroup\$ @bobobobo It’s great to be so opinionated; fortunately only the community gets to decide what is off-topic! I believe in the educational value of constructionist answers and will continue to write step-by-step proofs whenever relevant. Feel free to take a different stance in your contributions. \$\endgroup\$ Commented Jun 25, 2013 at 16:20
  • 1
    \$\begingroup\$ I want to bump this question again. It's been 5 years, and answers like this are sorely in need of TeX. \$\endgroup\$ Commented Feb 8, 2016 at 22:50
  • \$\begingroup\$ Several years ago this finally got completed. :) I'm voting to close this as a duplicate of the request that finalised this. \$\endgroup\$ Commented Dec 13, 2017 at 13:17

3 Answers 3


I was editing "Detect mouse click on a bezier curve's neighborhood" and was surprised to find that GameDev lacks TeX support.

Having TeX support would hugely improve readability of some quality answers such as,

Although the majority of questions and answers present equations in code, it's useful to be able to discuss equations in math. Mathematical equations may have better documentation, are code agnostic and are probably how people studied the concepts in school.

I would love to be able to see this work,

$$ \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. $$

  • \$\begingroup\$ Although I agree there is some usefulness for things like exponentiation, the latter equation you posted here is worrisome to me. What does Γ(z) have to do with game development? \$\endgroup\$
    – bobobobo
    Commented Jun 24, 2013 at 16:22
  • \$\begingroup\$ Seconded. To really grok what's going on with game vector math, it's nice to be able to see some real numbers written down the way you would if you were solving the problem on paper. That's laborious to lay out with monospace ascii. I also like having access to things like subscripts and superscripts so I can represent pre & post transformation versions of an entity, and readable exponents. Without this, we have to fall back on images for complex formulae - not ideal: gamedev.stackexchange.com/questions/71392/… \$\endgroup\$
    – DMGregory Mod
    Commented Feb 23, 2015 at 14:08

I'm pretty sure this is going to be status-declined, since this discussion has happened for other sites and they've turned it down.

Reference: LaTeX on Stack Overflow?

You can use http://mathurl.com/ in the mean time if you have the rep to post multiple images.


I do not see how it would really be a benefit; the primary math-related topics that appear are vectors and matrices; both easily enough displayed in either text or code.

If it needs integration as part of the answer, I think it's probably more a maths based question. (Or it could be shown as pseudocode).

  • 4
    \$\begingroup\$ There's also a lot of "physics" (actually, newtonian mechanics) where derivatives and partial derivatives are common. Also, there aren't many questions about lighting yet but anything a bit high level will require complex equations that have nothing to do with stackexchange. \$\endgroup\$ Commented Dec 9, 2011 at 16:38
  • 3
    \$\begingroup\$ I'd also disagree with the assertion that 'both are easily enough displayed in text or code'; vector operations are, at least for me, much more parseable with a bit of mathematics markup than they are in either text or code. Even just clean over-arrows and hats for distinguishing vectors from scalars, unit vectors from vectors, etc. can make a tangible difference. \$\endgroup\$ Commented Jun 27, 2012 at 4:51

Not the answer you're looking for? Browse other questions tagged .