第三位作者有问题。您能否检查一下并告诉我如何修复这个小错误?
\documentclass[review]{elsarticle}
%\documentclass[1p]{elsarticle}
\usepackage{geometry}
\usepackage{epsfig}
\usepackage{latexsym}
\usepackage[font={normalsize}]{caption}
\usepackage[para,flushleft]{threeparttable}
\renewcommand{\TPTtagStyle}{\textit}
\usepackage{booktabs}
%\usepackage{nicematrix}
\usepackage{amsmath}
\usepackage{fullpage}
\usepackage{setspace}
\usepackage{mathtools}
\usepackage{fancyhdr}
\usepackage{sectsty}
\usepackage{siunitx}
\usepackage{tabularx}
\usepackage{float}
\usepackage{indentfirst}
\usepackage{changepage}
\usepackage{adjustbox}
\usepackage{tabularx}
\usepackage{rotating}
\usepackage{makecell}
\usepackage{subcaption}
\usepackage{rotating}
%\usepackage{subfigure}
\linespread{1}
\usepackage[hidelinks]{hyperref}
% packages for tables
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{caption}
\usepackage{color,soul}
\usepackage{fullpage}
\usepackage[skip=1ex,
font=small, labelfont=bf]{caption}
% packages for tables
\usepackage[table,xcdraw]{xcolor}
\usepackage{multirow, tabularx}
\usepackage{tabularray}
\UseTblrLibrary{booktabs, siunitx, varwidth}
\usepackage{enumitem}
\usepackage{lineno,hyperref}
\modulolinenumbers[5]
%\usepackage[normalem]{ulem}
%\usepackage[usenames, dvipsnames]{color}
%\usepackage{nomencl}
%\usepackage{cite}
\usepackage{natbib}
%\usepackage[numbers,super]{natbib}
%\setcitestyle{numbers,super}
\usepackage{enumitem}
\usepackage{lineno,hyperref}
\modulolinenumbers[5]
%\renewcommand{\thefootnote}
\newcommand\degrees[1]{\ensuremath{#1^\circ}}
\newcommand\mycaption[1]{\caption{\footnotesize{#1}}}
\newcommand\myfootnote[1]{\footnote{\small{#1}}}
\newcommand\scalemath[2]{\scalebox{#1}{\mbox{\ensuremath{\displaystyle #2}}}}
\renewcommand{\TPTtagStyle}{\textit}
\newcommand{\splitcell}[1]{\begin{tabular}{@{}c@{}}#1\end{tabular}}
\captionsetup{skip=0.333\baselineskip}
\usepackage{calc,ragged2e}
\hyphenation{gauss-ian}
\setlist[enumerate]{label*=\arabic*.}
\journal{MSSP}
\bibliographystyle{elsarticle-num}
\begin{document}
\begin{frontmatter}
\title{Prediction ofthrative Study}
%\tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on %\href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}
%% Group authors per affiliation:
% \author{Elsevier\fnref{myfootnote}}
% \address{Radarweg 29, Amsterdam}
% \fntext[myfootnote]{Since 1880.}
%% or include affiliations in footnotes:
\author[mymainaddress]{Toddrkfffffhd}
\author[mysecondaryaddress]{Farderzd\corref{mycorrespondingauthor}}
\cortext[mycorrespondingauthor]{Corresponding author}\ead{s1d32@studendedud}
\author[mythirdaddress]{Rdais Kd}
\author[myfourthaddress]{}
\author[mysecondaryaddress]{Pidzuko}
\author[mymainaddress]{Mgdafoszyk}
\address[mymainaddress]{InstidFluid Fdhinery, Poh nces, dsk, Podd}
\address[mysecondaryaddress]{Gddity of Tecogy, Faculty dtronics, Telecons and datics, Gk, Pddd}
\address[mythirdaddress]{Compotelogies dence, Sabanci da, Pendd06, Inbul, dy}
\address[myfourthaddress]{College of Aedl Enring, Natdvedy ofences ology, dd, Padn}
\begin{abstract}
\noindent Plain weavefgsdgsdfsdf
\end{abstract}
\end{document}
答案1
首先让我评论一下你的序言。你使用的是elsarticle
,所以你的论文将提交给一些期刊。
他们肯定不想看到任何布局自定义。因此,首先删除
geometry fullpage setspace fancyhdr sectsty float indentfirst changepage
现在看看剩下的内容:
您加载了
caption
三次相互矛盾的选项;删除这些调用并离开subcaption
;同时删除\captionsetup
设置;epsfig
并且latexsym
只存在因为 30 年前的文档可能需要它们;删除它们;加载
graphics
,只需使用graphicx
;rotating
加载两次color
并且xcolor
总共加载了 4 次;无论如何,两次加载都是无稽之谈;lineno
并且hyperref
被加载多次,而且几乎总是一起加载,没有明显的原因;请注意,hyperref
除少数情况外,应该最后加载;\linespread{1}
是无用的;使用
\mycaption
和\myfootnote
覆盖类对标题和脚注的操作是拒绝该论文的一大进步;\degrees
为什么不使用,而不是手动定义\qty{32}{\celsius}
?你真的用吗
\scalemath
?
现在看看提议的版本,但是为了你自己的理智,删除您在文档中未使用的内容。
如何为一个作者指定两个地址?在可选参数中指定两个键:
\author[mythirdaddress,myfourthaddress]{Rdais Kd}
完整代码。
\documentclass[review]{elsarticle}
%\documentclass[1p]{elsarticle}
% general packages
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage[table,xcdraw]{xcolor}
\usepackage{graphicx}
\usepackage{siunitx}
\usepackage{subcaption}
\usepackage{enumitem}
\usepackage{calc}
\usepackage{ragged2e}
%\usepackage{natbib} % elsarticle uses it anyway
% tables and friends
\usepackage{booktabs}
%\usepackage{nicematrix}
\usepackage[para,flushleft]{threeparttable}
\usepackage{tabularx}
\usepackage{makecell}
\usepackage{multirow}
\usepackage{tabularray}
\UseTblrLibrary{booktabs, siunitx, varwidth}
% special packages
\usepackage{lineno}
% hyperref
\usepackage[hidelinks]{hyperref}
% settings
\setlist[enumerate]{label*=\arabic*.}
\modulolinenumbers[5]
\renewcommand{\TPTtagStyle}{\textit}
\hyphenation{gauss-ian}
% personal commands
\newcommand{\splitcell}[1]{\begin{tabular}{@{}c@{}}#1\end{tabular}}
% special for elsarticle
\journal{MSSP}
\bibliographystyle{elsarticle-num}
\begin{document}
\begin{frontmatter}
\title{Prediction ofthrative Study}
\author[mymainaddress]{Toddrkfffffhd}
\author[mysecondaryaddress]{Farderzd\corref{mycorrespondingauthor}}
\cortext[mycorrespondingauthor]{Corresponding author}\ead{s1d32@studendedud}
\author[mythirdaddress,myfourthaddress]{Rdais Kd}
\author[mysecondaryaddress]{Pidzuko}
\author[mymainaddress]{Mgdafoszyk}
\address[mymainaddress]{InstidFluid Fdhinery, Poh nces, dsk, Podd}
\address[mysecondaryaddress]{Gddity of Tecogy, Faculty dtronics, Telecons and datics, Gk, Pddd}
\address[mythirdaddress]{Compotelogies dence, Sabanci da, Pendd06, Inbul, dy}
\address[myfourthaddress]{College of Aedl Enring, Natdvedy ofences ology, dd, Padn}
\begin{abstract}
Plain weavefgsdgsdfsdf
\end{abstract}
\end{frontmatter}
\end{document}