在第二行添加作者电子邮件和从属关系而不是作为脚注
adding author emails and affiliation on 2nd second line not as a footnote
我执行的 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}
很容易劫持\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}
由于我已将 \@date
设置为包含段落(有空行 and/or 显式 \par
),因此必须使用 \long
进行定义; \renewcommand
默认执行此操作。
使用 \textsuperscript{<stuff>}
.
实现与从属关系的虚假关联
我执行的 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}
很容易劫持\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}
由于我已将 \@date
设置为包含段落(有空行 and/or 显式 \par
),因此必须使用 \long
进行定义; \renewcommand
默认执行此操作。
使用 \textsuperscript{<stuff>}
.