Equation numbering
All numbered equations within \begin{subequations} ... \end{subequations} will be tagged such that
the number stays the same, but lower case letters are appended, e.g. (1a), (1b).
Include \usepackage{amsmath} in the document preamble. Since the updated definition of the equation
number includes the hard-coded \alph{equation}, there is no way to change the style of the appendix
from lower case letters to, e.g., roman capitals or upper case letters (see subeqn.sty,
amsmath.sty).
Bold Greek symbols
Bold symbols in mathematics mode can be obtained using the \mathbf{...} command. However, this does not work for
Greek and other special symbols. The amsbsy package, solves this problem and defines the \boldsymbol command.
Margins
Spacing in tables [html]
The spaces between the columns and the rows can be controlled by \renewcommand{\tabcolsep}{3.5mm}
and \renewcommand{\arraystretch}{1.1} respectively. Vertical spacing of tables can be altered by
using changing \arraystretch. If it is changed outside the environment (e.g. not within the table)
the change affects the whole document.
Altering lengths
To alter lengths used within LaTeX documents, one can use the \setlength and \addtolength
commands. The first one is followed by an absolute length; \setlength{\arrayrulewidth}{2mm} or
\setlength{\belowdisplayskip}{1cm}. In the second case a relative (positive or negative) length
is specified; \addtolength{\belowdisplayskip}{2mm}.
Line spacing \renewcommand{\baselinestretch}{1.5}.
Tables
Vertical alignment
When using minipages in tables, the vertical alignment is set to centering by default, which may not be as
intended. This problem can be solved by adding a position indicator when beginning the minipage environment;
\begin{minipage}[t]{0.2\textwidth} ... \end{minipage}. Choose either t = top, b = bottom.
LaTeX Environment
Directories
Document style and class files (.sty, .cls)
/usr/share/texmf/tex/latex/base
Bibliography style files (.bst)
/usr/share/texmf/bibtex/bst/base
MATLAB
Anonymous functions [html]
Example: fun = @(x) x.^2