我正在处理一个两列类型的文档{revtex4-1}
。对于附录,我有几个长表 (longtable*),每个长表都跨越多页。我想让每个表都从新页面的顶部开始。但两者都不能\clearpage
满足\newpage
我的要求。
一个例子:
%%%%%%%%%%%%%%%%%
% Configuration %
%%%%%%%%%%%%%%%%%
\documentclass[aps,prl,twocolumn,
preprintnumbers,
amsmath,amssymb,showkeys,floatfix,nofootinbib,reprint]{revtex4-1}
\usepackage[toc,page]{appendix}
\usepackage{xurl}
\usepackage{graphicx}
\usepackage[outdir=./]{epstopdf}
\usepackage{siunitx}
\usepackage{booktabs}
\usepackage{verbatim}
\usepackage{longtable}
\setlength{\parindent}{0pt}
\usepackage[version=4]{mhchem}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{color}
\usepackage{bm}
\usepackage{hyperref}
\usepackage{dblfloatfix}
\usepackage{diagbox}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
% Any configuration that should be done before the end of the preamble:
\hypersetup{colorlinks=true, urlcolor=blue, linkcolor=blue, citecolor=blue}
\begin{document}
Hola, aquí encuentra el abstract. abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract
abstract abstract abstract abstract abstract abstract abstract abstract
\begin{appendices}
\LTcapwidth=\textwidth
\begin{longtable*}[t!]{|P{1.1cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|}
\hline
$^{6}_{3}\text{ZU}$ & 1.7e-11 & 1.9e+02 & 4.7e+10 & 3.3e-1 & 3.8e+01 & 1.5e+10 & 2.0e-13 & 8.3e+05 & 9.4se+01 & 1.8e-1 & 3.1e+01 & 8.3e-09 \\
\hline \end{longtable*}
\clearpage
\LTcapwidth=\textwidth
\begin{longtable*}[p]{|P{1.1cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|}
\hline
$^{7}_{3}\text{ZI}$ & 1.0e-01 & 1.4e+03 & 4.9e-11 & 3.3e-12 & 3.8e+02 & 1.5e+11 & 2.0e-12 & 2.8e+05 & 1.4e+10 & 1.8e-16 & 3.8e+02 & 8.3e+19 \\
\hline\end{longtable*}
\end{appendices}
\end{document}
答案1
revtex 似乎已禁用标准\onecolumn
命令,但提供了\onecolumngrid
\documentclass[aps,prl,twocolumn,
preprintnumbers,
amsmath,amssymb,showkeys,floatfix,nofootinbib,reprint]{revtex4-1}
\usepackage[toc,page]{appendix}
\usepackage{xurl}
\usepackage{graphicx}
\usepackage[outdir=./]{epstopdf}
\usepackage{siunitx}
\usepackage{booktabs}
\usepackage{verbatim}
\usepackage{longtable}
\setlength{\parindent}{0pt}
\usepackage[version=4]{mhchem}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{color}
\usepackage{bm}
\usepackage{hyperref}
\usepackage{dblfloatfix}
\usepackage{diagbox}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
% Any configuration that should be done before the end of the preamble:
\hypersetup{colorlinks=true, urlcolor=blue, linkcolor=blue, citecolor=blue}
\begin{document}
Hola, aquí encuentra el abstract. abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract
abstract abstract abstract abstract abstract abstract abstract abstract
\onecolumngrid
\begin{appendices}
\LTcapwidth=\textwidth
\begin{longtable*}[t!]{|P{1.1cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|}
\hline
$^{6}_{3}\text{ZU}$ & 1.7e-11 & 1.9e+02 & 4.7e+10 & 3.3e-1 & 3.8e+01 & 1.5e+10 & 2.0e-13 & 8.3e+05 & 9.4se+01 & 1.8e-1 & 3.1e+01 & 8.3e-09 \\
\hline \end{longtable*}
\clearpage
\LTcapwidth=\textwidth
\begin{longtable*}[p]{|P{1.1cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|P{1.24cm}|}
\hline
$^{7}_{3}\text{ZI}$ & 1.0e-01 & 1.4e+03 & 4.9e-11 & 3.3e-12 & 3.8e+02 & 1.5e+11 & 2.0e-12 & 2.8e+05 & 1.4e+10 & 1.8e-16 & 3.8e+02 & 8.3e+19 \\
\hline\end{longtable*}
\end{appendices}
\end{document}