Criei meu próprio formato de título usando titling
. Prefiro que a data esteja na mesma linha do autor, separada por vírgula. Isso é possível?
\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}
Responder1
Mudei \end{tabular}
de para \postauthor
para \postdate
e fiz o tabular ter duas colunas.
\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}