删除LaTeX文章中的默认日期

时间:2010-11-24 00:00:39

标签: latex

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

6 个答案:

答案 0 :(得分:79)

尝试使用\date{}

答案 1 :(得分:11)

\date{}

之前使用"\begin{document}"

答案 2 :(得分:4)

同时确保您的代码中没有任何此类变体。 {\large \today}

答案 3 :(得分:2)

空白\date{}仍会使用一些垂直间距。请查看this post on TeX Exchange以获取完整的备选列表,例如titling包。

答案 4 :(得分:0)

命令

\documentclass{article}
\begin{document}
    \title{text}
    \author{names}
    \maketitle
    \date{}
\end{document}

将给出如下所示的输出: With date

但是代码:

\documentclass{article}
\begin{document}
    \title{text}
    \author{names}
    \date{}
    \maketitle
\end{document}
我相信

将提供所需的输出: Without date

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

答案 5 :(得分:-1)

“复制并粘贴”的确切代码段如下:

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
    fragmentManager.beginTransaction().detach(this).commitNow();
    fragmentManager.beginTransaction().attach(this).commitNow();
} else {
    fragmentManager.beginTransaction().detach(this).attach(this).commit();
}