1

I created my own title format using titling. I would prefer that the date is in the same line than the author, seperated with a comma. Is that possible?

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{geometry}
\geometry{
  left=3cm,
  right=3cm,
  top=2cm,
  bottom=4cm
}
\usepackage{titling}
\pretitle{\begin{center}\LARGE\scshape\bfseries}
\posttitle{\par\end{center}\vskip 0.5em}
\preauthor{\begin{center}\large\scshape\lineskip 0.5em\begin{tabular}[t]{c}}
\postauthor{\end{tabular}\par\end{center}}
\predate{\begin{center}\large\scshape}
\postdate{\par\end{center}\vskip 0.5em}
\title{Some title}
\author{Some author}

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

I moved the \end{tabular} from the \postauthor to the \postdate and made the tabular have two columns.

enter image description here

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{geometry}
\geometry{
  left=3cm,
  right=3cm,
  top=2cm,
  bottom=4cm
}
\usepackage{titling}
\pretitle{\begin{center}\LARGE\scshape\bfseries}
\posttitle{\par\end{center}\vskip 0.5em}
\preauthor{\begin{center}\large\scshape\lineskip 0.5em\begin{tabular}[t]{l r}}
\postauthor{&}
\predate{\large\scshape}
\postdate{\end{tabular}\par\end{center}\vskip 0.5em}
\title{Some title}
\author{Some author}

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy