为什么生成标题页\maketitle得放到\begin命令下方 没有\maketitle就生成不了标题页 为啥不能紧跟着前几个

发布于 2025-02-23 16:10:00
关注者
0
被浏览
274
2 个回答
远方不远
远方不远 2025-02-23
Hello, LuaLaTeX!

可以紧跟着啊

你把他们全部放到正文区就可以了

Swit
Swit 认证专家 2025-02-23
LaTeX nubility!

See latex.ltx lines 15587-15589:

\DeclareRobustCommand\title[1]{\gdef\@title{#1}}
\DeclareRobustCommand*\author[1]{\gdef\@author{#1}}
\DeclareRobustCommand*\date[1]{\gdef\@date{#1}}

\title, \author and \date 的作用都是全局性地定义内部宏,然后这些内部宏被 \maketitle 使用进行封面的输出(\maketitle 的定义在各个 cls 中)

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览