我正在写一篇论文,论文的作者有两个,他们的主要隶属关系不同。但是,他们都有一个共同的附属隶属关系。目前,我的做法如下:
%%%% Proceedings format for most of ACM conferences (with the exceptions listed below) and all ICPS volumes.
\documentclass[sigconf]{acmart}
\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{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{Secondary Organization}
\city{Commonville}
\state{State}
}
\affiliation{%
\institution{Other Company}
\streetaddress{5678 There St}
\city{Place}
\state{State}
\postcode{67890}
}
\email{[email protected]}
%\author{Author Two\footnotemark[1]} % Next attempt: use this line instead of \author{Author Two} and \additionalaffiliation
\begin{abstract}
Here is my abstract
\end{abstract}
\keywords{this, that, another}
\maketitle
\end{document}
不幸的是,这会创建两个单独的脚注,它们说的是完全相同的事情:“还有二级组织。” 有没有办法只在两个名称旁边使用一个符号,以便它们引用相同的脚注?
我也尝试过:
\author{Author Two\footnotemark[1]}
而不是再次使用 \additionalaffiliation 作为第二位作者的姓名。这确实产生了预期的效果,但也有一个副作用。在文档的其他地方,当引用作者时,它会输出:
作者一,作者二[1].
答案1
这是一个解决方案。我创建了一个新命令\addauthornote
,它接受一个参数,即一个对应于n-th 附加从属关系。这将添加与该附加从属关系相对应的脚注标记,并将其添加到当前作者。
这是一个完整的示例,其中有 4 位作者和 2 位附加附属机构。
%%%% 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}