标题文字不合理

标题文字不合理

我使用的代码:

\documentclass[pra,12pt,reprint,superscriptaddress,showpacs]{revtex4-1}
\usepackage{graphicx}
\usepackage{float}
\usepackage[justification=justified]{caption}
\usepackage{subfigure}

\begin{document}

\begin{figure}
\begin{subfigure}
{\includegraphics[scale=0.3]{example-image}}
\end{subfigure}
\begin{subfigure}
{\includegraphics[scale=0.3]{example-image}}
\end{subfigure}
\caption{(Color online) (a) $\Gamma(\tau)$ versus $\tau$ for $J=1$. The blue      dashed curve shows the decay rate if the initial state is repeatedly measured; the red curve shows the decay rate if the optimal projective measurement is repeatedly made. We have used $G = 0.01, \omega_c = 50, \beta = 1$; }
\end{figure}

\twocolumngrid

\end{document} 

输出为:

在此处输入图片描述

文本未对齐。当我恢复到标准article文档类时,我得到了预期的输出:带有对齐标题的图形。

这个环境可能出现什么情况?

答案1

这很好用:

\documentclass[reprint]{revtex4-1}
\usepackage{graphicx}
%\usepackage[justification=justified]{caption}
\usepackage{subfigure}

\begin{document}

    \begin{figure}
        \begin{subfigure}
            {\includegraphics[scale=0.3]{example-image}}
        \end{subfigure}
        \begin{subfigure}
            {\includegraphics[scale=0.3]{example-image}}
        \end{subfigure}
        \caption{(Color online) (a) $\Gamma(\tau)$ versus $\tau$ for $J=1$. The blue      dashed curve shows the decay rate if the initial state is repeatedly measured; the red curve shows the decay rate if the optimal projective measurement is repeatedly made. We have used $G = 0.01, \omega_c = 50, \beta = 1$; }
    \end{figure}

    \twocolumngrid

\end{document}

不要使用caption;它特别警告不要使用它。

相关内容