我写了一篇论文
\documentclass[a4paper,12pt]{article}
\begin{document}
\title{This is a Test Paper}
\newcommand*{\affaddr}[1]{#1}
\newcommand*{\affmark}[1][*]{\textsuperscript{#1}}
\newcommand*{\email}[1]{\texttt{#1}}
\author{
Author A\affmark[1] \affmark[2], Author B\affmark[2], Author C\affmark[2], Author D\affmark[2]\\
\affaddr{\affmark[1]Department of A}\\
\affaddr{\affmark[2]Department of B}\\
\email{\{a, b, c, d\}@tju.edu.cn}
}
\maketitle
\end{document}
问题是如何在1
和2
之间放置逗号Author A
?
答案1
逗号可以插入在\affmark[1,]
...内