Skip to content

Commit

Permalink
Ensure Sphinx can process the document without error
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Sep 13, 2023
1 parent fecb3e6 commit 2dc619d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/submitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,20 @@ Cite a bibliography entry by referencing its identifier: `[@upper1974]` will cre

#### Mathematical Formulæ

Mark equations and other math content with dollar signs (`$`). Use a single dollar sign (`$`) for math that will appear directly within the text. Use two dollar signs (`$$`) when the formula is to be presented centered and on a separate line, in "display" style. The formula itself must be given using TeX syntax.
Mark equations and other math content with dollar signs ($). Use a single dollar sign ($) for math that will appear directly within the text. Use two dollar signs ($$) when the formula is to be presented centered and on a separate line, in "display" style. The formula itself must be given using TeX syntax.

To give some examples: When discussing a variable $x$ or a short formula like $\sin \frac{\pi}{2}$, we would write `$x$` and `$\sin \frac{\pi}{2}$`, respectively. However, for more complex formulæ, display style is more appropriate. Writing `$$\int_{-\infty}^{+\infty} e^{-x^2} \, dx = \sqrt{\pi}$$` will give us
To give some examples: When discussing a variable $x$ or a short formula like

```eval_rst
.. math::
\sin \frac{\pi}{2}
```

we would write \$x\$ and $\sin \frac{\pi}{2}$, respectively. However, for more complex formulæ, display style is more appropriate. Writing

$$\int_{-\infty}^{+\infty} e^{-x^2} \, dx = \sqrt{\pi}$$

will give us

$$\int_{-\infty}^{+\infty} e^{-x^2} \, dx = \sqrt{\pi}$$

Expand Down

0 comments on commit 2dc619d

Please sign in to comment.