Here are some useful links, and below are some handy tips.

## Handy tips

• In the new EGU template, figures are integrated into the text even in manuscript mode. To force all figures to the end, add "\figcapstrue" to a new line after \begin{document}.
• To put PDF bookmarks in your thesis, put the following line after each chapter/section title. The number after 'out' indicates the bookmark level: 1 for chapter, 2 for section, 3 for subsection.
\special{pdf: out 1 << /Title (Your title) /Dest [@thispage /FitH @ypos] >>}
• Split figures - if you would like to split a figure across two or more pages, create a separate EPS file for each part
• EGU: As stated in the Copernicus LaTeX manual, insert the first part of the figure as normal, then use the \addtocounter{figure}{-1} command to reduce the figure count by one, then insert your second part:
\begin{figure*}[t]\vspace*{2mm}\begin{center}\includegraphics[width=12cm]{sub-figure1}\end{center}\caption{TEXT}\label{fig:sub-figure1}\end{figure*}\addtocounter{figure}{-1}\begin{figure*}[t]\vspace*{2mm}\begin{center}\includegraphics[width=12cm]{sub-figure2}\end{center}\caption{Continued.}\label{fig:sub-figure2}\end{figure*}
• AGU: As far as I'm aware this isn't documented, but use the \continuedcaption command
\begin{figure*}\noindent\includegraphics[width=39pc]{sub-figure1.eps}\caption{Caption text here}\end{figure*}\begin{figure*}\noindent\includegraphics[width=39pc]{sub-figure2.eps}\continuedcaption\end{figure*}
• If you have large (whole page) figures and are using the AGU template, the figure caption can go off the bottom of the page in manuscript mode. This can be reduced by removing the double spacing. Define the following command at the top of the .tex document, then put the \figsquash command at the start of the 'caption' of each whole-page figure:
\newcommand{\figsquash}{\ifjdraft\baselineskip=5pt\fi}
• Similarly, tables can flow over the page in draft (double-spaced) format. You can adjust the line spacing for the table contents by adding \usepackage{setspace} before \begin{document}, and then:
\ifjdraft\setstretch{0.75}\fi
immediately after \begin{table}. Here, 0.75 is the fraction by which the spacing is stretched (relative to the double spacing) so you can tweak this to get the spacing you'd like.
• The AGU template struggles to format whole-page figures in two-column format. This seems to be fixed if you use \begin{figure}[p] rather than \begin{figure*}[p] (but still use the same width as a double-column figure in \includegraphics).
• Tip from Jonny: if you want to force LaTeX to put the figure where you say (and the position indicators [h] and [h!] don't work), then \usepackage{float} and the position indicator [H] instead.
• Latexdiff is a Perl script which will compare two versions of a TeX document and mark up additions and deletions. However, it struggles with \citet and \citep commands, which are ignored (so additions and deletions of citations are not noted). The \citeauthor and \citeyear commands seem to work, though, so you can achieve the same effect by using the following command:
latexdiff-so.pl -t UNDERLINE --append-safecmd="citet,citep,citeauthor,PERCENTAGE" old.tex new.tex > diff.tex

Then add the following two lines to the start of your diff.tex file (underneath the \providecommand calls added by latexdiff):
These commands will correctly format any \citet or \citep commands which have only one citation per command, but you will still need to search and replace manually any citations which take the form \citet{citea, citeb, citec} or \citep{citea, citeb, citec}.
UPDATED: 14th July 2010
Robert Fear
The views expressed in this document are those of the document owner.