Note to self: Latex and Labels

2009-05-19 10:33:04

In a Latex figure environment, the label command has to follow the caption command. Otherwise referencing the figure will result in the section number (where the figure appeared) to be printed. Sometimes Latex is not very user friendly...

\begin{figure}[!th]
\centering
\includegraphics[width=2.5in]{some_filename}
\caption{some caption}
\label{fig:some_image}
\end{figure}


blog

Comments:


Created with: Django, Python, Emacs, Xubuntu, blueprintcss, Inkscape, Apache2