原 文:No \author given
譯 者:Xovee
翻譯時間:2020年6月13日
No \author given
當你使用了 \maketitle 命令,但是沒有指定任何 \author,就會發生這個錯誤,下面展示一個例子:
%In your preamble
\title{On the General Molecular Theory of Heat}
% In the body of your document
\maketitle
你可以添加一個作者來解決這個錯誤:
%In your preamble
\title{On the General Molecular Theory of Heat}
\author{A. Einstein}
% In the body of your document
\maketitle
如果你不想在標題頁添加任何作者,你可以定義一個空的 \author{…} 指令,例如:
%In your preamble
\title{On the General Molecular Theory of Heat}
\author{}
% In the body of your document
\maketitle
這樣的話,在標題頁仍然會留一些空白給作者。如果你想移除這些空白行,請參考 titling 包。