我正在尝试为一篇文章设置作者信息。其中一位作者有多个隶属关系,我很难为此编写正确的代码。提前感谢您的帮助。
我收到错误消息!未定义的控制序列。\fnms {John} \snm {Marc}
这是代码:
\documentclass{IOS-Book-Article}
\usepackage{authblk}
\usepackage{cuted}
\usepackage{flushend}
\usepackage{mathptmx}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{url}
\usepackage{colortbl}
\usepackage{caption}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage[linesnumbered,ruled,vlined,algo2e]{algorithm2e}
\usepackage{multicol}
%\usepackage{times}
%\normalfont
%\usepackage[T1]{fontenc}
%\usepackage[mtplusscr,mtbold]{mathtime}
%
\newtheorem{definition}{Definition}
\begin{document}
\pagestyle{headings}
\def\thepage{}
\begin{frontmatter} % The preamble begins here.
%\pretitle{Pretitle}
\title{Some definitions}
%\subtitle{Subtitle}
\author[1,2,a]{\fnms{John} \snm{Marc}}%
%\thanks{Corresponding Author: Book Production Manager, IOS Press, Nieuwe Hemweg 6B,
%1013 BG Amsterdam, The Netherlands; E-mail:
%[email protected].}},
and
\author[1,b]{\fnms{Peter} \snm{Wolf}}
and
\author[1,c]{\fnms{Dean} \snm{Boy}}
%\runningauthor{B.P. Manager et al.}
\affiliation[A]{University of LATEX, Higher Institute lab}
\affiliation[B]{niversity of LATEX, Math lab}
\end{document}
\tt{(一)[电子邮件保护],(二)[电子邮件保护],(C)[电子邮件保护]}
底部是一张显示我想要复制的内容的图像。这是 IOS-Book-Article 类文件用于文章代码。
答案1
据我所知,该类不提供单个作者的双重隶属关系。如果您必须使用该类,请不要尝试调整其内部结构,因为这只会惹恼文字编辑并可能导致您的论文被拒绝。
然而,双重隶属关系相当容易实现。
\documentclass{IOS-Book-Article}
\begin{document}
\begin{frontmatter} % The preamble begins here.
\title{Some definitions}
\author[A]{\fnms{John} \snm{Marc}}%
\thanks{Corresponding Author: Book Production Manager, IOS Press, Nieuwe Hemweg 6B,
1013 BG Amsterdam, The Netherlands; E-mail:
[email protected].},
and
\author[C]{\fnms{Peter} \snm{Wolf}}
and
\author[C]{\fnms{Dean} \snm{Boy}}
\address[A]{University of \LaTeX, Higher Institute lab\\
and University of \LaTeX, Math lab}
\address[C]{Some University}
\end{frontmatter}
\end{document}
答案2
给需要帮助的人。我稍微修改了 Egreg 解决方案以在标题中添加电子邮件。
\documentclass{IOS-Book-Article}
\begin{document}
\begin{frontmatter} % The preamble begins here.
\title{Some definitions}
\author[A,B,C]{\fnms{John} \snm{Marc}}%
,
\author[B,D]{\fnms{Peter} \snm{Wolf}}
,
\author[B,E]{\fnms{Dean} \snm{Boy}}
\address[A]{University of \LaTeX, Higher Institute lab}
\address[B]{Some University}
\address[C]{\tt{[email protected]}}
\address[D]{\tt{[email protected]}}
\address[E]{\tt{[email protected]}}
\end{frontmatter}
\end{document}