logo

How to Prevent the Date from Appearing when Creating a Title with maketitle in LaTeX 📂Writing

How to Prevent the Date from Appearing when Creating a Title with maketitle in LaTeX

Explanation

When creating a title with \maketitle in $\LaTeX$, how can one prevent the date from being displayed? Many would intuitively try to comment out \date{2023.12.21}. However, commenting out will not stop the date from being printed, and in fact, you just have to not enter a date at all (the frustrating part is that you can stop the display by commenting out \author{}).

Code

        \title{Using maketitle in LaTeX...}
\author{Jeon Ki-hyeon}
\date{2023 12 21}

\begin{document} \maketitle \end{document}

        \title{Using maketitle in LaTeX...}
% \author{Jeon Ki-hyeon}
\date{}

\begin{document} \maketitle \end{document}