我使用的是revtex4-1
,prl
样式。我有 6 位作者。我希望作者列表第一行中有 4 位作者,第二行中有 2 位作者。但是,Latex 在第三位作者之后断行。我使用的是:
\documentclass[twocolumn,superscriptaddress,amsmath,amssymb,prl,aps,floatfix]{revtex4-1}
\usepackage{graphicx}
\usepackage{dcolumn}
\usepackage{bm}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{color}
%\usepackage[backref,pdffitwindow,colorlinks,linkcolor={blue}]{hyperref}
\usepackage{longtable}
\usepackage{etoolbox}
\usepackage{url}
\usepackage{breakurl}
\usepackage[breaklinks]{hyperref}
%\usepackage{authblk}
\apptocmd{\sloppy}{\hbadness 10000\relax}{}{}
\begin{document}
\title{my tittle}
\author{John 1}
\thanks{These two authors contributed equally.}
\affiliation{affil1}
\affiliation{affil2}
\author{John 2}
\thanks{These two authors contributed equally.}
\affiliation{affil2}
\affiliation{affil3}
\author{John 3}
\affiliation{affil4}
\author{John 4}
\affiliation{affil2}
\author{john 5}
\affiliation{affil2}
\author{John 6}
\affiliation{affil1}
\affiliation{affil2}
\affiliation{affil5}
\begin{abstract}
my abstract...
\end{abstract}
\maketitle
\end{document}
我尝试过\mbox
将前 4 位作者归为一类,但没成功。我尝试过\nolinebreak
在第 3 位作者之后也同样没成功。我还尝试过缩小字体看看是否有帮助,但结果看起来很奇怪。任何想法都将不胜感激。谢谢!
答案1
有点手动解决方案,但您可以在您的情况下通过在之前revtex4-1
添加来强制在作者列表中换行。\\
john5
请参阅下面的最小示例。
\documentclass[twocolumn,superscriptaddress,amsmath,amssymb,prl,floatfix]{revtex4-1}
\begin{document}
\title{my tittle}
\author{John 1}
\thanks{These two authors contributed equally.}
\affiliation{affil1}
\affiliation{affil2}
\author{John 2}
\thanks{These two authors contributed equally.}
\affiliation{affil2}
\affiliation{affil3}
\author{John 3}
\affiliation{affil4}
\author{John 4}
\affiliation{affil2}
\author{\\john 5} % <--------------
\affiliation{affil2}
\author{John 6}
\affiliation{affil1}
\affiliation{affil2}
\affiliation{affil5}
\begin{abstract}
my abstract...
\end{abstract}
\maketitle
\end{document}