请教\affiliation如何使用?

发布于 2021-10-21 10:52:24

Elsevier的模板,根据它的提示使用affiliation出错。
最简代码如下:


 
\documentclass[final,5p,times]{elsarticle}

\journal{Test J}

\begin{document}
\begin{frontmatter}

\title{Test Title}

%% use optional labels to link authors explicitly to addresses:
\author[label1]{test}
\affiliation[label1]{
  organization={asdf},
  addressline={asdf},
  city={asdf},
  postcode={asdf},
  state={asdf},
  country={asdf}
}
 
\end{frontmatter}

\end{document}

查看更多

关注者
0
被浏览
9.3k
2 个回答
啸行
啸行 2021-10-21
这家伙很懒,什么也没写!
\documentclass[final,5p,times]{elsarticle}
\journal{Test J}
\begin{document}
\title{Test Title}
\author[label1]{test}
\affiliation[label1]{
  organization={asdf},
  addressline={asdf},
  city={asdf},
  postcode={asdf},
  state={asdf},
  country={asdf}
}
\maketitle
\end{document}

image.png

PPAP
PPAP 2021-10-21
一个正在学习latex的小小菜鸡

可能是你的发行版没升级到2021的缘故,我这边显示一切正常。

% !TeX TS-program = pdflatex
\documentclass[final,5p,times]{elsarticle}

\journal{Test J}

\begin{document}
    \begin{frontmatter}
        
        \title{Test Title}
        
        %% use optional labels to link authors explicitly to addresses:
        \author[label1]{test}
        \affiliation[label1]{
            organization={asdf},
            addressline={asdf},
            city={asdf},
            postcode={asdf},
            state={asdf},
            country={asdf}
        }
        
    \end{frontmatter}
    
\end{document}

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览