我的目标是添加多个具有不同隶属关系的作者,它看起来像这样:
Author A, Author B, Author C, Author D and Author E
A,B,C Department of Computer Science
D,E Department of Mechanical Engineering
Email A,B,C,D,E @university.edu
Latex University
是否可以不使用任何包来做到这一点,如果不行,欢迎使用包。
谢谢
编辑:我想出了 Thorsten Donig 的解决方案,但我遇到了符号出现奇怪的问题。
答案1
一个简短的例子验证码包。它不完全是您要找的,但很接近。
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\title{More than one Author with different Affiliations}
\author[1]{Author A\thanks{[email protected]}}
\author[1]{Author B\thanks{[email protected]}}
\author[1]{Author C\thanks{[email protected]}}
\author[2]{Author D\thanks{[email protected]}}
\author[2]{Author E\thanks{[email protected]}}
\affil[1]{Department of Computer Science, \LaTeX\ University}
\affil[2]{Department of Mechanical Engineering, \LaTeX\ University}
\renewcommand\Authands{ and }
\begin{document}
\maketitle
\end{document}
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2008/03/30 v1.1d Input encoding file
utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
authblk.sty 2009/11/18 1.3 (PWD)
***********
答案2
@Canageek:这是你想要的吗?
如果是这样,那么功劳应该归功于 Thorsten Donig,因为我阅读了有关 authblk 包的“文档”,并对 Donig 的回答做了一些修改。
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\title{More than one Author with different Affiliations}
\author[*]{Author A}
\author[*]{Author B}
\author[*]{Author C}
\author[**]{Author D}
\author[**]{Author E}
\affil[*]{Department of Computer Science, \LaTeX\ University}
\affil[**]{Department of Mechanical Engineering, \LaTeX\ University}
\renewcommand\Authands{ and }
\begin{document}
\maketitle
\end{document}
编辑:如果您想使用匕首而不是 ** ,则将(每个) ** 替换为 $\dag$ 。
答案3
答案4
我想到了一个无需使用额外软件包的解决方案(authblk
)。它几乎完全满足了 OP 的要求。
基本上,它提供了一个\affmark
用于\textsuperscript
排版导航符号的命令。该命令带有一个可选参数,指定要使用的符号,默认为星号*
。您可以使用\dag
等\ddag
脚注或数字,如下例所示。
% Use your conference documentclass or package.
\documentclass[letterpaper,twocolumn,10pt]{article}
% If your conference documentclass or package defines these macros,
% change these macros to different names.
\newcommand*{\affaddr}[1]{#1} % No op here. Customize it for different styles.
\newcommand*{\affmark}[1][*]{\textsuperscript{#1}}
\newcommand*{\email}[1]{\texttt{#1}}
\begin{document}
% Don't want date printed
\date{}
% Make title large and bold
\title{\Large\bfseries Paper Name Here}
% Target typesetting:
%
% Author A, Author B, Author C, Author D and Author E
% A,B,C Department of Computer Science
% D,E Department of Mechanical Engineering
% Email A,B,C,D,E @university.edu
% Latex University
\author{%
Author A\affmark[1], Author B\affmark[1], Author C\affmark[1], Author D\affmark[2], and Author E\affmark[2]\\
\affaddr{\affmark[1]Department of Computer Science}\\
\affaddr{\affmark[2]Department of Mechanical Engineering}\\
\email{\{A,B,C,D,E\}@university.edu}\\
\affaddr{\LaTeX\ University}%
}
\maketitle
\end{document}