我想知道是否有一种简单的方法可以用 RevTeX-4.1 将所有从属关系放在一行上。
答案1
没有简单的方法。您必须修改内部宏。而且它看起来会很丑陋。不要这样做。
\documentclass[superscriptaddress]{revtex4-1}
\makeatletter
\def\@affil@script#1#2#3#4{%
\@ifnum{#1=\z@}{}{%
%\par % <--- comment out
\begingroup
\frontmatter@affiliationfont
\@ifnum{\c@affil<\affil@cutoff}{}{%
\def\@thefnmark{#1}\@makefnmark
}%
\ignorespaces#3%
\@if@empty{#4}{}{\frontmatter@footnote{#4}}%
%\par % <--- comment out
\endgroup
}%
}%
\makeatother
\begin{document}
\author{John Doe}
\affiliation{University of Neverland, Road to Nowhere 123, 12345 Nevercounty}
\author{Jane Smith}
\affiliation{Bogus Institute of Something, Madeup Place 654, 65432 Anywhere}
\maketitle
\end{document}
答案2
我自己解决了这个问题,方法是将我的所属机构列表添加为单个作者,\textit
并添加换行符,然后\sciptsize
\documentclass[superscriptaddress]{revtex4-1}
\usepackage{lipsum}
\begin{document}
\title{A Potential Solution}
\author{A. Whoever\textsuperscript{1} and B. Wohever\textsuperscript{2}\endgraf
\scriptsize\itshape \textsuperscript{1}The University of Instant
Gratification, More address \quad \textsuperscript{2}The University of Instant
Gratification, More address\\ }
\maketitle\lipsum[1-20]
\end{document}