LATEX-Rules

  1. Use \texttt,\textbf, \textit... instead of \tt, \bf, \it... The latter are deprecated since LATEX2$\epsilon$, which was released in June 1994. Besides being deprecated, they also have nasty side-effects. Using \bf\it to typeset in bold italics does not work. In fact, it is impossible to produce bold italic output using the two-letter font commands! Do not use \tt, \bf, \it..., forget they ever existed!

  2. Leave two blank lines in front of sectioning commands (\section{} etc.). It you want to assign a \label to a section, put it on a line by itself, immediately following the sectioning command. Leave a blank line after a sectioning command or the label following one. This makes the LATEX-source of this document much more readable.

  3. Break long lines. A line of source of this document should not be longer than 72 characters. Hint: In GNU/Emacs you can reformat paragraphs by pressing M-q.

  4. Typeset filenames in monospaced italics like this: \Filename{filename}.

  5. Typeset commands in a monospaced font like this: \Command{commands}.

  6. Typeset variables in an italic font like this: \Variable{variables}.

  7. When you refer to a function() or subroutine() use a monospaced font and append a pair of parentheses by using the command \Subroutine{} like this: \Subroutine{subroutine}. Note that this command automatically appends the parentheses.

  8. Organize the labels by prepending them with class-string. A label for a section would look like this: \label{sec:title_of_section}. Class-strings would be sec (section, subsection, etc.), eq (equation), fig (figure), tab (table).