I am trying to create a custom title page in an scrbook class of document. The code is as follows:
\documentclass[openany]{scrbook}
\title{Sample LaTeX Book With Custome Title Page}
\author{Eva}
\date{\today}
\usepackage{blindtext}
\begin{document}
\begin{titlepage}
\begin{tabular}{|l|c|l|}
\hline
Name & : & \textbf{\author} \\
\hline
Submission Date & : & \textbf{\date} \\
\hline
\end{tabular}
\end{titlepage}
\blinddocument
\end{document}
The problem is that the third column, where my name, and the date should appear, remains blank. I tried to keep @author instead of \author in the third column. But when I did it, the third column had the word "author" instead of taking my name. What am I missing in this?


\authorand\dateare commands with arguments to set the author and date not to print it. You could use the internal macros\@authorand\@date(→ https://tex.stackexchange.com/questions/8351/what-do-makeatletter-and-makeatother-do ), that store the author and date, set by\authorand\date. However, why not just typing the author and date directly at the tabular? – cabohah May 09 '23 at 09:22