请问如何实现latex 星号标注通讯作者(不要脚注)?
期望达到的效果如下,latex 星号标注通讯作者(不要脚注):
之前看了一篇关于latex 角标的文章,单独运行后可以实现以上功能,但是下面这段代码可以实现latex 星号标注通讯作者(不要脚注),但是APL的官方模板已经有一个documentclass,把对应的latex 宏包和代码粘贴到官方模板上后,作者信息直接消失,或者出现在标题以上
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\title{More than one Author with different Affiliations}
\author[a]{Author A}
\author[a]{Author B}
\author[a]{Author C}
\author[a,${*}$]{Author D}
\author[c]{Author E}
\affil[a]{Department of Computer Science, \LaTeX\ University}
\affil[b]{Department of Mechanical Engineering, \LaTeX\ University}
% 使用 \thanks 定义通讯作者
\begin{document}
\maketitle
\end{document}
代码原文链接:https://blog.csdn.net/robert_chen1988/article/details/79187224
以下是将代码插入官方模板后的代码和效果:
\documentclass[%
aip,
% jmp,
% bmf,
% sd,
% rsi,
amsmath,amssymb,
%preprint,%
reprint,%
%author-year,%
%author-numerical,%
% Conference Proceedings
]{revtex4-1}
\setlength{\belowcaptionskip}{-0.4cm} %调整图片标题与下文距离
\usepackage{hyperref} % 超链接
\hypersetup{hidelinks} % 超链接方框消失
\usepackage{upgreek} % 公式里面的正体
\usepackage[numbers,sort&compress]{natbib} % 参考文献合并成2-4
\usepackage{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}% bold math
%\usepackage[mathlines]{lineno}% Enable numbering of text and display math
%\linenumbers\relax % Commence numbering lines
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{etoolbox}
%% Apr 2021: AIP requests that the corresponding
%% email to be moved after the affiliations
\makeatletter
\def\@email#1#2{%
\endgroup
\patchcmd{\titleblock@produce}
{\frontmatter@RRAPformat}
{\frontmatter@RRAPformat{\produce@RRAP{*#1\href{mailto:#2}{#2}}}\frontmatter@RRAPformat}
{}{}
}%
\makeatother
\begin{document}
\preprint{AIP/123-QED}
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\title{More than one Author with different Affiliations}
\author[a]{Author A}
\author[a]{Author B}
\author[a]{Author C}
\author[${a})$]{Author D}
\author[c]{Author E}
\affil[a]{Department of Computer Science, \LaTeX\ University}
\affil[b]{Department of Mechanical Engineering, \LaTeX\ University}
% 使用 \thanks 定义通讯作者
\maketitle
\end{document}