So, this is building on Omitting the date when using \maketitle
; but I'd still like to include the date in the page footer. This means \date{}
isn't an option. (Of course, I'd like to get rid of the superfluous spacing in \maketitle
as well.)
I'm using KOMA (specifically, scrartcl
); but I couldn't hunt down a built-in way to disable this; does that exist? If not, can I use the {titling}
package to do this?
\documentclass[paper=a4]{scrartcl}
\usepackage{scrlayer-scrpage}
\automark[subsection]{section}
\pagestyle{scrheadings}
\title{Something}
\author{Some Body}
\ofoot{\today}
\usepackage{blindtext}
\begin{document}
\maketitle
\blinddocument
\end{document}
Best Answer
If you only wish to remove the
\date
-related entry in the title, then you can patch\@maketitle
and remove the relevant content (usingetoolbox
):The above
searches for
<search>
in<cmd>
and replaces it with<replace>
(executing<success>
on success of the patch, or<failure>
otherwise). Since we're patching\@maketitle
, let's look at its definition (inscrkernel-title.dtx
):The occurrence of
is replaced with with nothing (removed), since
<replace>
is empty. As such, no\@date
is set, and neither is the usual\vskip
space following it.