双栏revtex4-2文档中图片无法置于当前页底部的问题求助
双栏revtex4-2文档中图片固定在当前页底部的解决办法
问题说明
使用revtex4-2的reprint双栏模板时,尝试将图片放在当前页底部,但图片始终跑到文档末尾,且无法更换文档类。
解决步骤
- 调整图片位置:将
figure*跨栏图环境移到对应章节的文本内容之前,确保当前页有足够空间容纳底部图片。revtex的浮动排版机制会优先处理靠前的浮动元素,避免因当前页文本占满导致图片被推到后续页面。 - 使用revtex兼容的位置参数:保留
[b]参数,该参数在revtex4-2中可指定跨栏图放置在页面底部。无需添加!强制标记,revtex对浮动位置的处理有自身规则,强制标记可能起反作用。 - 清理重复宏包:移除代码中重复加载的
graphicx、amssymb、bm、xcolor等宏包,避免潜在冲突影响排版逻辑。
修改后的完整代码
\documentclass[reprint, letterpaper, amsmath, amssymb]{revtex4-2} \usepackage{xcolor} \usepackage{tabularray} \usepackage{graphicx}% Include figure files \usepackage{dcolumn}% Align table columns on decimal point \usepackage{bm}% bold math \usepackage[a4paper, total={6in, 9in}]{geometry} \usepackage{amsthm} \usepackage{bbm} \usepackage{amsmath} \usepackage{mathrsfs} \usepackage{exscale} \usepackage{easybmat} \usepackage{comment} \usepackage[normalem]{ulem} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \usepackage[figurename=Figure, labelsep=period, font=footnotesize, labelfont=bf, format=plain]{caption} \captionsetup{justification=Justified} \usepackage{titlesec} \usepackage{lipsum} \titleformat{\section} {\normalfont\bfseries\filcenter}{\thesection}{1em}{} \renewcommand\thesection{\Roman{section}} % To center table elements vertically \usepackage{array} \renewcommand*{\arraystretch}{1.1} \setlength{\extrarowheight}{2pt} \setlength{\parskip}{.1cm} \begin{document} \title{Test} \date{\today} \author{XXX$^{1}$} \author{YY$^{1,2}$}\altaffiliation[Corresponding author ]{} \affiliation{\vspace{2ex} \makebox[\linewidth][c]{{\normalfont $^1$}Dept. of BlaBla}\\ \makebox[\linewidth][c]{{\normalfont $^2$}Dept. of Blub}\vspace{1ex}\\ \makebox[\linewidth][c]{{\normalfont $^\dagger$}These authors contributed equally to this work}\vspace{1ex}} \begin{abstract} \lipsum \end{abstract} \maketitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newpage \section{Introduction} % 将figure*移到章节文本前,确保当前页有空间 \begin{figure*}[b] \centering \includegraphics[width=0.4\linewidth]{example-image-a} \caption{Blabla.} \end{figure*} \lipsum %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Conclusion}\label{Mechanical model} \subsection{General design} \lipsum \end{document}
补充说明
如果上述调整后图片仍未出现在目标页底部,可尝试在章节文本末尾添加\clearpage强制结束当前页,但这会将剩余文本推到下一页;或者减少当前页的文本内容,确保底部有足够空间容纳跨栏图。
内容的提问来源于stack exchange,提问作者BudSpencer
相关产品推荐
相关产品推荐

