一位作者如何拥有两个单位?

一位作者如何拥有两个单位?

第三位作者有问题。您能否检查一下并告诉我如何修复这个小错误?

\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

现在看看剩下的内容:

  1. 您加载了caption三次相互矛盾的选项;删除这些调用并离开subcaption;同时删除\captionsetup设置;

  2. epsfig并且latexsym只存在因为 30 年前的文档可能需要它们;删除它们;

  3. 加载graphics,只需使用graphicx

  4. rotating加载两次

  5. color并且xcolor总共加载了 4 次;无论如何,两次加载都是无稽之谈;

  6. lineno并且hyperref被加载多次,而且几乎总是一起加载,没有明显的原因;请注意,hyperref除少数情况外,应该最后加载;

  7. \linespread{1}是无用的;

  8. 使用\mycaption\myfootnote覆盖类对标题和脚注的操作是拒绝该论文的一大进步;

  9. \degrees为什么不使用,而不是手动定义\qty{32}{\celsius}

  10. 你真的用吗\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}

在此处输入图片描述

相关内容