![关于通讯作者](https://linux22.com/image/352894/%E5%85%B3%E4%BA%8E%E9%80%9A%E8%AE%AF%E4%BD%9C%E8%80%85.png)
我有三个问题,我把它们用红色写在图像上。
首先:我想将 Author 3^(a^*) 更改为 Author 3^(a, *)
第二:如何添加通讯作者的电子邮件地址?
(第三:摘要下面留一行可以吗?)
代码 :
\documentclass[review]{elsarticle}
\usepackage{lineno,hyperref}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{gensymb}
\usepackage{mathtools}
\modulolinenumbers[5]
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage{indentfirst}\setlength\parindent{2em}
\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
\hskip -\arraycolsep
\let\@ifnextchar\new@ifnextchar
\array{#1}}
\makeatother
\journal{Journal of CCCCCC}
%% `Elsevier LaTeX' style
\bibliographystyle{elsarticle-num}
\newcommand*{\affaddr}[1]{#1} % No op here. Customize it for different styles.
\newcommand*{\affmark}[1][*]{\textsuperscript{#1}}
\newcommand*{\email}[1]{\texttt{#1}}
\begin{document}
\begin{frontmatter}
\title{TITLETITLE}
\tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on \href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}
\author{%
Author1\affmark[a], Author2\affmark[b], Author3\affmark[a*]\\
\affaddr{\affmark[a]Blah1}\\
\affaddr{\affmark[b]Blah2}\\
\address[mymainaddress]{Address1}
\address[mysecondaryaddress]{Address2}
}
\cortext[mycorrespondingauthor]{Corresponding author to: Blahblah about corres autho}
\begin{abstract}
Abstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah
\end{abstract}
\begin{keyword}
keyword1, keyword2
\end{keyword}
\end{frontmatter}
\linenumbers
\section*{References}
\bibliography{mybibfile}
\end{document}
答案1
我认为您不能删除摘要后的行。我可以获得您要求的行为,但这不是标准的。
\newcommand*{\affmark}[1][]{\textsuperscript{#1}}
Author3\affmark[a,$_{\null\textsuperscript{*}}$]\\
但是,因为这是为期刊撰写的,所以编辑最终会删除你所做的所有修改以满足期刊的要求。在我看来,不要浪费时间尝试修改编辑器模板。
这里有完整的代码:
\documentclass[review]{elsarticle}
\usepackage{lineno,hyperref}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{gensymb}
\usepackage{mathtools}
\modulolinenumbers[5]
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage{indentfirst}\setlength\parindent{2em}
\makeatletter
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
\hskip -\arraycolsep
\let\@ifnextchar\new@ifnextchar
\array{#1}}
\makeatother
\journal{Journal of CCCCCC}
%% `Elsevier LaTeX' style
\bibliographystyle{elsarticle-num}
\newcommand*{\affaddr}[1]{#1} % No op here. Customize it for different styles.
\newcommand*{\affmark}[1][]{\textsuperscript{#1}}
\newcommand*{\email}[1]{\texttt{#1}}
\begin{document}
\begin{frontmatter}
\title{TITLETITLE}
\tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on \href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}
\author{%
Author1\affmark[a], Author2\affmark[b],
Author3\affmark[a,$_{\null\textsuperscript{*}}$]\\
\affaddr{\affmark[a]Blah1}\\
\affaddr{\affmark[b]Blah2}\\
\address[mymainaddress]{Address1}
\address[mysecondaryaddress]{Address2}
}
\cortext[mycorrespondingauthor]{[email protected]}
\begin{abstract}
Abstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah blahAbstract blah
\end{abstract}
\begin{keyword}
keyword1, keyword2
\end{keyword}
\end{frontmatter}
\linenumbers
\section*{References}
\bibliography{mybibfile}
\end{document}