以下示例取自添加具有不同隶属关系的多名作者并保存为example.tex
,可以很好地编译pdflatex example.tex
。
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\title{More than one Author with different Affiliations}
\author[1]{Author A\thanks{[email protected]}}
\author[1]{Author B\thanks{[email protected]}}
\author[1]{Author C\thanks{[email protected]}}
\author[2]{Author D\thanks{[email protected]}}
\author[2]{Author E\thanks{[email protected]}}
\affil[1]{Department of Computer Science, \LaTeX\ University}
\affil[2]{Department of Mechanical Engineering, \LaTeX\ University}
\renewcommand\Authands{ and }
\begin{document}
\maketitle
\end{document}
但mk4ht oolatex example.tex
我收到三次错误消息“! \@author 定义中的参数数量非法。“而不是所需的输出文件。