-
Use
\colon
instead of:
for defining functions. -
Leave space around most operators. For example,
f \colon X \to Y
is superior tof:X\to Y
. Possible exceptions are guided by readability, for example:\begin{equation} \sum_{i=1}^n = \frac{n(n+1)}{2}. \end{equation}
-
No punctuation inside math mode. Use
$a+b$,
instead of$a+b,$
. -
No line breaks in the middle of sentences.
-
Use line breaks at the end of sentences.
-
No double blank spaces or trailing blank spaces.
-
No blank spaces at the end of sentences.
-
Use tab instead of blank spaces for indentation.
-
All named environments with the possible exception of
document
should be tabbed. For example,\begin{lemma*} Statement. \end{lemma*}
-
Do not use
$$...$$
for display equations; instead, use one of the environments in the AMS display equation family or\[ \]
-
Leave a blank line before and after most environments. Possible exceptions are AMS display equation family.
-
Leave a blank line before and after sections and subsections.