[Tex/LaTex] Figure caption runs off page

captionsfloats

How can I get latex to place my figure sufficiently at the top of my page to allow for my caption to nicely fit at the bottom?

enter image description here

\documentclass{amsart}
\usepackage{graphicx}
\begin{document}


\begin{figure}[htbp]
\makebox[\textwidth]{
  \centering
  \includegraphics{./Figures/chapter7/rel_risk_overall_ss.pdf}}
    \caption{Comparing average risk during care to 3 uninfected patients within single and multibed room relative to \emph{direct care}.  $\alpha=0.069$. }
  \label{fig:rel_risk}
\end{figure}

\end{document}

Best Answer

Most likely your figure is too large (in height) and you should get a warning when compiling. The geometry package can show you the actual available space with \usepackage[showframe]{geometry}. Usually figures are centred vertically on a page if there is no other content. You can align them at the top with

\makeatletter
\setlength{\@fptop}{0pt}
\makeatother