删除LaTeX文章中的默认日期

y2p*_*y2p 44 latex

如何删除文档类{article}在LaTeX中添加的默认日期?谢谢

Ben*_*rel 84

尝试使用\date{}.

  • 为了使这项工作(如果有人遇到麻烦)我必须在\ begin {document}之前的序言中包含它,而不是在\ maketitle本身附近. (19认同)

小智 14

\date{}以前用过"\begin{document}"


sre*_*j t 5

命令

\documentclass{article}
\begin{document}
    \title{text}
    \author{names}
    \maketitle
    \date{}
\end{document}
Run Code Online (Sandbox Code Playgroud)

将给出如下所示的输出: 有日期

但是代码:

\documentclass{article}
\begin{document}
    \title{text}
    \author{names}
    \date{}
    \maketitle
\end{document}
Run Code Online (Sandbox Code Playgroud)

会给出所需的输出,我相信,你想要: 无日期

该命令\date{}应该放在 之前\author{names}和之后\maketitle