How do I post groovy typeset mathematics, images and code?

mark
Tue, 16 Jan 2018 14:29:30 +0000
Meta

To start a discussion, just hit the big New Discussion button that appears when your logged into the front page. To comment on an existing discussion, just start typing in the Leave a Comment box that appears at the bottom of a discussion. This should look something like so:

Generally, input is Markdown but you've got a few buttons above the comment box to help you out. In particular, the button on the right for uploading images.

Mathematics is entered in LaTeX format, though, the delimiters are different. For example, to get the following output:

If $f(x)=e^{-x^2}$, then $$\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi},$$

I simply entered

If $f(x)=e^{-x^2}$, then $$\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi},$$

Note the difference between inline single $ and display double $$. I've noticed that sometimes the page needs to be reloaded to force the math to typeset.

Finally, computer code can be entered in inline form with a backtick and in display mode by indenting four spaces. That's how I entered the LaTeX commands above.