[翻译] [LaTeX] No \author given

142 篇文章 4 订阅
53 篇文章 2 订阅

原  文: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 包。

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值