子图的标题溢出到对面的列(溢出的水平盒子)

子图的标题溢出到对面的列(溢出的水平盒子)

使用 subfig 包时,\subfloat标题会进入对面的列。我附上了一个工作示例。

\documentclass[10pt, twocolumn]{revtex4}    % Font size (10,11 or 12pt) and column number (one or two).

\usepackage[a4paper, left=1.85cm, right=1.85cm,
 top=1.85cm, bottom=1.85cm]{geometry}       % Defines paper size and margin length

\usepackage[font=small,
labelfont=bf]{caption}                      % Defines caption font size as 9pt and caption title bolded
\usepackage[font=small]{subfig}
\usepackage{pgfplots}
\usepackage{tikz}
\usepackage[font=small]{subfig}
\usepgfplotslibrary{external} 
\tikzexternalize


\begin{document}

\begin{figure}
    \centering
    \subfloat[Long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption.]{
    \label{fig:sub:derivs}
    \input{derivsboth.pgf}
}

    \centering
    \subfloat[Caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption caption  ]{       
    \label{fig:sub:initialderiv}
    \input{initialderiv.pgf}
}
    \caption{Main caption main caption main caption main caption main caption main caption main caption main caption main caption main caption main caption main caption main caption main caption }
    \label{fig:full:derivs}
\end{figure}

我的理解是,方括号subfloat可以用作标题。这是故意的吗?我应该做些不同的事情吗?提前谢谢!

乳胶

相关内容