我要将一篇有多位作者(超过 4 位)的论文放在两行中,他们的名字必须分开。他们也有多个隶属关系,这就是我想使用 authblk 包的原因。但是,我不知道如何将作者姓名放在多行中。这可能吗?谢谢
答案1
单程正如这里所定义的——https://tex.stackexchange.com/a/487457/197451
\documentclass[10pt,twocolumn]{article}
\usepackage[margin=0.5in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amstext}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage{amsmath,amssymb}
\usepackage{verbatim}
\usepackage{authblk}
\usepackage{setspace}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{helvet}
\makeatletter
\def\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \@title \par}%
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
\baselineskip=12pt
\@author
\end{tabular}\par}%
\vskip 1em%
{\large \@date}%
\end{center}%
\par
\vskip 1.5em}
\makeatother
\begin{document}
\large
\title{Title}
\vspace{8 pt}
\setstretch{0.1}
\author[1]{Author 1}
\author[2]{Author 2}
\author[3]{Author 3}
\author[4]{Author 4}
\author[5]{Author 5}
\author[1]{Author 6}
\author[1]{Author 7}
\author[1]{Author 8}
\author[1]{Author 9}
\author[1]{Author 10}
\author[1]{Author 11}
\author[1]{Author 12}
\author[1]{Author 13}
\author[1]{Author 14}
\author[1]{Author 15}
\author[1]{Author 16}
\author[1]{Author 17}
\author[1]{Author 18}
\author[1]{Author 19}
\author[1]{Author 20}
\author[1]{Author 30}
\author[1]{Author 31}
\author[1]{Author 32}
\author[1]{Author 33}
\author[1]{Author 34}
\author[1]{Author 35}
\author[1]{Author 36}
\author[1]{Author 37}
\author[1]{Author 38}
\author[1]{Author 39}
\author[1]{Author 40}
\affil[1]{Affiliation 1}
\affil[2]{Affiliation 2}
\affil[3]{Affiliation 3}
\affil[4]{Affiliation 4}
\affil[5]{Affiliation 5}
\date{}
{\let\clearpage\relax%
\maketitle }
\end{document}
另一种选择如@AlanMunn 所定义——https://tex.stackexchange.com/a/381562/197451
%%%% Proceedings format for most of ACM conferences (with the exceptions listed below) and all ICPS volumes.
\documentclass[sigconf]{acmart}
\makeatletter
% Use this command to add an existing supplemental affiliation to an author
% \addauthornote{1} adds n-th additional affiliation mark.
\newcommand\addauthornote[1]{%
\if@ACM@anonymous\else
\g@addto@macro\addresses{\@addauthornotemark{#1}}%
\fi}
\newcommand\@addauthornotemark[1]{\let\@tmpcnta\c@footnote
\setcounter{footnote}{#1}\addtocounter{footnote}{-1}
\g@addto@macro\@currentauthors{\footnotemark\relax\let\c@footnote\@tmpcnta}}
\makeatother
\usepackage{booktabs} % For formal tables
\setcopyright{rightsretained}
% DOI
\acmDOI{10.475/123_4}
% ISBN
\acmISBN{123-4567-24-567/08/06}
%Conference
\acmConference[THIS '17]{Some ACM Conference}{July 2017}{Anywhere, USA}
\acmYear{2017}
\copyrightyear{2017}
\acmPrice{15.00}
\begin{document}
\title{My Title}
\author{Author One}
\additionalaffiliation{%
\institution{Author 1 Secondary Organization}
\city{Commonville}
\state{State}
}
\affiliation{%
\institution{My Company}
\streetaddress{1234 Here Ave}
\city{Location}
\state{State}
\postcode{12345}
}
\email{[email protected]}
\author{Author Two}
\additionalaffiliation{%
\institution{Author 2 Secondary Organization}
\city{Commonville}
\state{State}
}
\affiliation{%
\institution{My Company}
\streetaddress{1234 Here Ave}
\city{Location}
\state{State}
\postcode{12345}
}
\email{[email protected]}
\author{Author Three}
\addauthornote{2}
\affiliation{%
\institution{Other Company}
\streetaddress{5678 There St}
\city{Place}
\state{State}
\postcode{67890}
}
\email{[email protected]}
\author{Author Four}
\addauthornote{1}
\affiliation{%
\institution{Other Company}
\streetaddress{5678 There St}
\city{Place}
\state{State}
\postcode{67890}
}
\email{[email protected]}
\begin{abstract}
Here is my abstract
\end{abstract}
\keywords{this, that, another}
\maketitle
\end{document}