-
Notifications
You must be signed in to change notification settings - Fork 5
How to
https://en.wikibooks.org/wiki/LaTeX is a great resource (but more than you will probably need)
http://tex.stackexchange.com/ for an excellent Q&A site for advanced questions.
Firstly, you need to prepare the image you want to include as your figure.
Once your image (which will almost always be a pdf) is prepared, put it in a directory, called atlas, as a subdirectory of the folder containing your LaTeX file. Let's assume your chart is called mychart.pdf
Then, immediately after the paragraph where you first refer to the figure in the body text, write
\begin{figure}
\caption{The caption in bold\label{fig:mychart}}
\units{If applicable, the units or y-axis of the chart}
\includegraphics{atlas/mychart.pdf}
\noteswithsource{The notes accompanying the chart}%
{Any source information, using \textcite if required}
\end{figure}
N.B. If your figure doesn't require notes, or doesn't require source, you should write \notes or \source, as required. But do not write \notes and \source in the same figure environment.
Note also you should put a blank line above and below the figure environment.
- Use
\labelwhere the cross-reference should point to - Use
\Vrefor\Crefat the point in the text where the cross-reference should be.
Use Vref if you want a page reference to appear if the cross-reference and the label appear on different pages. Use Cref for just the reference.
Vref
See Figure 1 on the following page for further illustration.
Cref
See Figure 1 for further illustration.
A cross-reference at A to a point B requires a command at the point B which defines its location and a command at A referring to B. Let's assume you're referring to a figure.
The command at B (the figure you are referring to) is \label. It has a single argument key which needs to be unique.
\label needs to appear after the command producing the relevant number
Wrong:
\begin{figure}
\label{fig:my-figure}
\caption{My figure}
\includegraphics{my-figure.pdf}
\end{figure}Correct:
\begin{figure}
\caption{My figure\label{fig:my-figure}}
\includegraphics{my-figure.pdf}
\end{figure}