我已执行的 Latex 代码,将电子邮件作为脚注插入,我想将其插入在作者姓名下或与从属关系的同一行上。我也插入了所需格式的图像。
\documentclass[a4,12pt,twosided,reqno]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\title{More than one Author with different Affiliations}
\author[1]{Sadique Ahmad\thanks{ahmad01.shah@gmail.com}}
\author[1]{Awais Adnan\thanks{awaisadnan@gmail.com}}
\affil[1]{Department of Computer Science, IM|Sciences Peshawar}
\affil[2]{Department of Computer Science, IM|Sciences Peshawar}
\renewcommand\Authands{ and }
\begin{document}
\maketitle
\end{document}
Run Code Online (Sandbox Code Playgroud)
劫持\date宏很容易,或者\@date直接设置:

\documentclass{article}
\title{More than one Author with different Affiliations}
\makeatletter
\renewcommand\@date{{%
\vspace{-\baselineskip}%
\large\centering
\begin{tabular}{@{}c@{}}
First Author\textsuperscript{1} \\
\normalsize first.author@email.com
\end{tabular}%
\quad and\quad
\begin{tabular}{@{}c@{}}
Second Author\textsuperscript{2} \\
\normalsize second.author@email.com
\end{tabular}
\bigskip
\textsuperscript{1}Some Department, Some University\par
\textsuperscript{2}Some Department, Some University
\bigskip
\today
}}
\makeatother
\begin{document}
\maketitle
\end{document}
Run Code Online (Sandbox Code Playgroud)
由于我已将 设置\@date为包含段落(具有空行和/或显式\par),因此必须使用\long;\renewcommand默认情况下执行此操作。
使用\textsuperscript{<stuff>}.