[Tex/LaTex] Formatting figures in APS journal

graphics

I am facing a weird problem where I cannot put figures in the APS journal format. I am using the template. What happens is that the figures do not appear in the pdf in double column format if I put the size \includegraphics[height=65mm,width=0.65\textwidth]

They appear one below the other as shown in the image
img
The third image goes in the next page. As a result, a page can contain only 3 images and one side of the column remains blank.

I have tried using [ht], *, [!htb] but nothing seems to be working. The files are in eps format.

Here is the code

\documentclass[aps,prl,reprint]{revtex4-1}
\usepackage{blindtext}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{bm}        % for math
\usepackage{verbatim}   % for math
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{bm}
\usepackage{amssymb}
\usepackage{adjustbox}
\newcommand{\revtex}{REV\TeX\ }
\newcommand{\classoption}[1]{\texttt{#1}}
\newcommand{\macro}[1]{\texttt{\textbackslash#1}}
\newcommand{\m}[1]{\macro{#1}}
\newcommand{\env}[1]{\texttt{#1}}
\setlength{\textheight}{9.5in}
\usepackage{adjustbox}
\DeclareMathOperator{\RE}{Re}
\DeclareMathOperator{\IM}{Im}
\usepackage{stfloats}
\newenvironment{psmallmatrix}
  {\left[\begin{smallmatrix}}
  {\end{smallmatrix}\right]}
\usepackage{amsmath,amscd}
\usepackage {extarrows}
\usepackage{algorithm,algpseudocode}
\begin{document}
    \begin{figure}[ht]
\centering
 \begin{adjustbox}{center}
\includegraphics[height=65mm,width=.75\textwidth]{Profile}
 \end{adjustbox}
 \caption{Comparison}
\label{fig5}
\end{figure}

\begin{figure}
\centering
 \begin{adjustbox}{center}
\includegraphics[height=60mm,width=0.70\textwidth]{MSE_Theor_Sim}
 \end{adjustbox}
 \caption{Comparison}
\label{fig6}
\end{figure}

\end{document}

This is the output including all the figures using the solution. On page 8 there is a blank left on right hand side column. Fixing that by adjusting the width for this figure affects another page and then another page would have a blank space. This is the code used for all the images.

\begin{figure}[htb]
\centering
 \begin{adjustbox}{center}
\includegraphics[width=.75\columnwidth]{Fig}
 \end{adjustbox}
 \caption{Fig13}
\label{fig13}
\end{figure}

img3

Best Answer

Use \columnwidth not \textwidth in your width= ... parameters.

(I've simplified your example to remove unnecessary stuff.)

\documentclass[aps,prl,reprint]{revtex4-1}
\usepackage{blindtext}
\usepackage[demo]{graphicx}
\usepackage{adjustbox}
\setlength{\textheight}{9.5in}
\begin{document}
\blindtext   
\begin{figure}[htb]
 \centering
 \begin{adjustbox}{center}
   \includegraphics[height=65mm,width=.75\columnwidth]{Profile}
 \end{adjustbox}
 \caption{Comparison}
 \label{fig5}
\end{figure}
\bigskip

\blindtext
\begin{figure}[htb]
 \centering
 \begin{adjustbox}{center}
   \includegraphics[height=60mm,width=0.75\columnwidth]{MSE_Theor_Sim}
 \end{adjustbox}
 \caption{Comparison}
 \label{fig6}
\end{figure}
\end{document}

output of code