LaTeX‎ > ‎

Adding Figures with Captions in Latex

posted Sep 24, 2010, 6:24 AM by David Eagle   [ updated Sep 24, 2010, 6:25 AM ]
Here's the snippet to add reasonable nice figures in a paper with centered captions that are the same width as the figure:

\begin{figure}[htp]
  \centering
  \includegraphics[width=.8\textwidth]{NAME.pdf}
\parbox[t]{0.8\linewidth}{%
\caption{NAME}%
\label{fig:fig1}}
\end{figure}
Comments