An archive of Mark's Spring 2018 Numerical Analysis course.

How do I enter groovy typset math?

mark

This site is here to facilitate mathematical and computational discussion. As such, it is often nice to format your questions and responses as nicely as possible - including typeset mathematics, images, and code as appropriate.

Sections and other formatting

Textual entry into discourse is based on Markdown - a lightweight markup language that makes formatting relatively easy. To start this particular section, for example, I simply entered:

## Sections and other formatting

Creating a bulleted list is as easy as indenting with asterisks. To get this:

  • First item
  • Second item
    • A sub item

Just type this:

* First item
* Second item
  * A sub item

And code like the above is entered by indenting four spaces.

To create typeset mathematics, simply enter a LaTeX snippet. For example, to generate this:

If f(x) = e^{-x^2}, then

\int_{-\infty}^{\infty} f(x) = \sqrt{\pi}.

I simply typed

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

Note the single dollar signs versus the double dollar signs. Also, the current Math Typesetting plugin is a little odd in how the way it requires the double dollar signs to be on separate lines.

To upload an image, just look for the upload button in the toolbar.