作者缺少上标

作者缺少上标

问题

我用模板来自 IOS Press 撰写我的论文。它为我们提供了一个示例 pdf 及其 tex 文件 ( jiase2e.tex),其中每个作者都有上标:

模板由 Press 提供 但是,如果我使用 在计算机上编译它pdflatex,上标将被替换为问号(?):

模板在我的电脑上编译

代码

我只是使用jiase2e.tex它提供的文件,从未更改过它。这是 tex 文件的一部分:

\documentclass{jaise2e}


\usepackage[T1]{fontenc}
\usepackage{times}%

\usepackage{natbib}
%\usepackage[dvips]{hyperref}
\usepackage{amsmath}
\usepackage{dcolumn}
\usepackage{endnotes}
\usepackage{graphics}


\newcolumntype{d}[1]{D{.}{.}{#1}}


\firstpage{1} \lastpage{5} \volume{1} \pubyear{2009}


\begin{document}
\begin{frontmatter}                           % The preamble begins here.

%
%\pretitle{Pretitle}
\title{Instructions for the preparation of a camera-ready paper in \LaTeX\thanks{Footnote in title.}}

\runningtitle{Instructions for the preparation of a camera-ready paper in \LaTeX}
%\subtitle{Subtitle}


\author[A]{\fnms{First} \snm{Author}\thanks{Corresponding author. E-mail: [email protected].}\thanks{Do not use capitals for the author's surname.}},
\author[B]{\fnms{Second} \snm{Author}}
and
\author[B]{\fnms{Third} \snm{Author}}
\runningauthor{F. Author et al.}
\address[A]{Journal Production Department, IOS Press, Nieuwe Hemweg 6b, 1013 BG, Amsterdam,\\ The Netherlands\\
E-mail: [email protected]}
\address[B]{Department first, then University or Company name, Insert a complete correspondence (mailing) address,
Abbreviate US states, Include country\\
E-mail: \{second,third\}@somewhere.com}
...
\end{frontmatter}
...
\end{document}

我尝试过

作为 LaTex 的新手,我只想出了一个丑陋的解决方法来手动为作者添加上标:

\author{First Author\textsuperscript{a}\thanks{Corresponding author. E-mail: [email protected].}\thanks{Do not use capitals for the author's surname.}},
\author{Second Author\textsuperscript{b}}
and
\author{Third Author\textsuperscript{b}}

运行良好,但不够好。

另一方面,我按照建议\usepackage{authblk}在文件中添加一行jiase2e.tex但没有运气:

\documentclass{jaise2e}


\usepackage[T1]{fontenc}
\usepackage{times}%

\usepackage{natbib}
%\usepackage[dvips]{hyperref}
\usepackage{amsmath}
\usepackage{dcolumn}
\usepackage{endnotes}
\usepackage{graphics}
\usepackage{authblk}   % I add this package

\newcolumntype{d}[1]{D{.}{.}{#1}}


\firstpage{1} \lastpage{5} \volume{1} \pubyear{2009}


\begin{document}
\begin{frontmatter}                           % The preamble begins here.

%
%\pretitle{Pretitle}
\title{Instructions for the preparation of a camera-ready paper in \LaTeX\thanks{Footnote in title.}}

\runningtitle{Instructions for the preparation of a camera-ready paper in \LaTeX}
%\subtitle{Subtitle}


\author[A]{First Author\thanks{Corresponding author. E-mail: [email protected].}\thanks{Do not use capitals for the author's surname.}},
\author[B]{Second Author}
and
\author[B]{Third Author}
\runningauthor{F. Author et al.}
\address[A]{Journal Production Department, IOS Press, Nieuwe Hemweg 6b, 1013 BG, Amsterdam,\\ The Netherlands\\
E-mail: [email protected]}
\address[B]{Department first, then University or Company name, Insert a complete correspondence (mailing) address,
Abbreviate US states, Include country\\
E-mail: \{second,third\}@somewhere.com}

这次根本没有作者:

根本没有作者

可以修复吗?谢谢。

PS:我在我的 x86-64 计算机上使用 FreeBSD 10,并print/texlive-full从安装了最新版本(20140525_1) ports system

答案1

正如 @IanThompson 指出的那样,运行pdflatex jiase2e.tex 两次解决了这个问题。

相关内容