\documentclass[12pt]{amsart}
\usepackage{amsmath,amssymb}
\usepackage[pdftex]{graphicx}

\headheight=6.15pt
\textheight=9.22in
\textwidth=6.5in
\oddsidemargin=0in
\evensidemargin=0in
\topmargin= -.372in

\font\fivrm=cmr5 \relax

\begin{document}
\title[]
{How to incorporate figures that are pdf files}

\maketitle

The following should work for files of the following types: pdf, png,
jpeg and gif.

Here are figures of different sizes:
\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.1\textwidth]{sample.pdf}
	\end{center}
	\caption{\label{one} This is a caption}
\end{figure}
\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\caption{\label{two} This is a caption}
\end{figure}
\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.2\textwidth]{sample.pdf}
	\end{center}
	\caption{\label{three} }
\end{figure}

Figure \ref{one} is smaller than Figure \ref{two} which is smaller
than Figure \ref{three}.  Note that Figure \ref{three} has a wordless
caption.



\pagebreak

How to rotate figures:
\begin{figure}[h]
	\begin{center}
	  \includegraphics[width=.2\textwidth,origin=c,angle=0]{sample.pdf}
	\end{center}
\end{figure}
\begin{figure}[h]
	\begin{center}
	  \includegraphics[width=.2\textwidth,origin=c,angle=90]{sample.pdf}
	\end{center}
\end{figure}
\begin{figure}[h]
	\begin{center}
	  \includegraphics[width=.2\textwidth,origin=c,angle=180]{sample.pdf}
	\end{center}
\end{figure}
\begin{figure}[h]
	\begin{center}
	  \includegraphics[width=.2\textwidth,origin=c,angle=270]{sample.pdf}
	\end{center}
\end{figure}

If you don't want to number your figures, then you can leave
out the caption commands from the LaTeX.

\pagebreak

How to put figures side-by-side:

\begin{figure}[h] 
  \begin{minipage}{.6\linewidth}
	\begin{center}
		\includegraphics[width=.5\textwidth]{sample.pdf}
	\end{center}
  \end{minipage}
\hspace*{-1.4in}
  \begin{minipage}{.6\linewidth} 
	\begin{center}
		\includegraphics[width=.5\textwidth]{sample.pdf}
	\end{center}
  \end{minipage}
\end{figure}

\begin{figure}[h] 
  \begin{minipage}{.6\linewidth}
	\begin{center}
		\includegraphics[width=.5\textwidth]{sample.pdf}
	\end{center}
  \end{minipage}
\hspace*{-1.4in}
  \begin{minipage}{.6\linewidth} 
	\begin{center}
		\includegraphics[width=.2\textwidth]{sample.pdf}
	\end{center}
  \end{minipage}
\end{figure}


\begin{figure}[h] 
  \begin{minipage}{.5\linewidth}
	\begin{center}
		\includegraphics[width=.4\textwidth]{sample.pdf}
	\end{center}
	\caption{Short caption}
  \end{minipage}
\hspace*{-1.4in}
  \begin{minipage}{.5\linewidth} 
	\begin{center}
		\includegraphics[width=.4\textwidth]{sample.pdf}
	\end{center}
	\caption{This is a much longer caption than you were expecting
  to see for such a mundane picture.}
  \end{minipage}
\end{figure}

\pagebreak

How about the spacing within figures?

\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.1\textwidth]{sample.pdf}
	\end{center}
	\caption{ This is a caption}
\end{figure}
\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\vspace{-.2in}
	\caption{ This caption is higher}
\end{figure}
\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\vspace{.2in}
	\caption{ This caption is lower}
\end{figure}

\pagebreak

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
\begin{figure}[h] 
	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\caption{}
\end{figure}

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
\begin{figure}[h] 
	\vspace{-.2in}
	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\caption{ This figure is closer to the text above
	it.}
\end{figure}

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
\begin{figure}[h] 
	\vspace{.2in}
	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\caption{ This figure is further from the text
	above it.}
\end{figure}

\pagebreak

Similarly, you can make the figure closer to or further from the
text below it by adding or subtracting space after the caption:\\

\begin{figure}[h] 

	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\caption{}
\end{figure}

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 

\begin{figure}[h] 

	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}
	\caption{ The caption is closer to the text
	below it.}
	\vspace{-.2in}
\end{figure}

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 

\begin{figure}[h] 

	\begin{center}
		\includegraphics[width=.15\textwidth]{sample.pdf}
	\end{center}

	\caption{ The caption is further to the text
	below it.}
	\vspace{.2in}
\end{figure}

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 

\end{document}
