使用 Revtex4-2 获取每行 4 个数字

使用 Revtex4-2 获取每行 4 个数字

我有 20 个图表,需要包含在双栏式论文中。图表应添加到相应页面的顶部,每行 4 个图表。我寻找类似这样的内容在此处输入图片描述

我尝试使用figure*,但数字没有出现我的使用包部分如下:

\documentclass[showpacs, pra,twocolumn,preprintnumbers ,amsmath, amssymb, superscriptaddress, aps]{revtex4-2}
\usepackage{color}
\usepackage{amsmath,amssymb}
\usepackage{pifont}% http://ctan.org/pkg/pifont
\usepackage{amssymb}  % More symbols
\usepackage{bbold}
\usepackage{float}
\usepackage{caption}
\usepackage{tikz}
\usepackage{makecell}
\usepackage{subfig}
\usepackage{pifont}   % Ding symbols
\usepackage{graphicx} % Include figure files
\graphicspath{{Figures/}}
\usepackage{dcolumn}  % Align table columns on decimal point
\usepackage{bm}       % bold math
\usepackage{multirow} % Table functions
\usepackage{placeins}% For making floats not move around everywhere
\usepackage[colorlinks]{hyperref}
\usepackage{mathtools}
\begin{document}
\newpage
\begin{figure*}[t]
    \centering
\includegraphics[width=1.7in]{Fig00}\includegraphics[width=1.7in]{Fig0}\includegraphics[width=1.7in]{Fig9}
\includegraphics[width=1.7in]{Fig10}\includegraphics[width=1.7in]{Fig11}
\includegraphics[width=1.7in]{Fig12}\includegraphics[width=1.7in]{Fig13}
\includegraphics[width=1.7in]{Fig14}\includegraphics[width=1.7in]{Fig15}
\includegraphics[width=1.7in]{Fig16}\includegraphics[width=1.7in]{Fig17}
\includegraphics[width=1.7in]{Fig18}\includegraphics[width=1.7in]{Fig19}
\includegraphics[width=1.7in]{Fig20}\includegraphics[width=1.7in]{Fig21}\includegraphics[width=1.7in]{Fig22}\includegraphics[width=1.7in]{Fig23}
\includegraphics[width=1.7in]{Fig24}\includegraphics[width=1.7in]{Fig25}\includegraphics[width=1.7in]{Fig26}\includegraphics[width=1.7in]{Fig27}
\includegraphics[width=1.7in]{Fig28}
\caption{}
\end{figure*}

\end{document}

答案1

您只需要包含图像,但如果您想调整垂直空间,您可以每 4 行留一个空行,并添加一些始终在源文件中出现后最早出现在页面上的\vspace{...}图像figure*,因此您可能需要在源中更早地移动它以使其出现在您想要的位置。

在此处输入图片描述

\documentclass[showpacs, pra,twocolumn,preprintnumbers ,amsmath, amssymb, superscriptaddress, aps]{revtex4-2}

\usepackage{graphicx} % Include figure files

\begin{document}

\begin{figure*}[!tp]
    \centering
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\includegraphics[width=1.7in]{example-image}
\caption{a caption}
\end{figure*}

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 
some text some text some text some text some text some text some text 

\end{document}

请注意,您的示例缺少图形名称}并且使用了通常不可用的图形名称,因此无法运行。

答案2

不建议使用caption(任何版本)。您可以加载revtex4

\usepackage[caption=false]{subfig}

如果您需要子浮点数,但您的情况并非如此。

我的建议是在本地定义一个辅助命令,以避免长时间重复数据,并可以轻松地在图像上方添加小描述。

您可以将整个\begin{figure*}...\end{figure*}构造放置在您希望图像出现的段落之前的页面上排版段落之间的某个位置。

注意。包kantlipsum\kant命令仅提供填充文本,用于在上下文中查看对象。请勿在文档中使用它们。

在此处输入图片描述

相关内容