Other stuff‎ > ‎

### Latex notes

Getting Started
http://texblog.org/2012/10/29/getting-started-with-latex-a-collection-of-resources/

#### italic text

\textit {}
inline math:
$....$

#### place figures

\begin{figure}[]
in the square brackets goes either h (here), t (page top), b (page bottom), or p (separate page of floats)

#### place floating figures, three panels as a), b), c)

\begin{figure}[h]
\centering
  \subfloat[][]{\label{fig:}\includegraphics[width=0.33\textwidth]{Figures/Fig1a.png}}
  \subfloat[][]{\label{fig:}\includegraphics[width=0.3\textwidth]{Figures/Fig1b.png}}
    \subfloat[][]{\label{fig:}\includegraphics[width=0.3\textwidth]{Figures/Fig1c.png}}
  \caption{xxx}
  \label{fig:xxx}
\end{figure}

#### math variables

When writing within TeX tags, it is assumed that any letters denote variables, and hence are italicised.
If you want the letters to be written normally, use the \mathrm{} tag.

#### spacing in math mode

In a math environment, LaTeX ignores the spaces you type and puts in the spacing that it thinks is best. LaTeX formats mathematics the way it's done in mathematics texts. If you want different spacing, LaTeX provides the following four commands for use in math mode:

\; a thick space
\: a medium space
\, a thin space
\! a negative thin space

#### various

Angstrom: \AA