Creé mi propio formato de título usando titling
. Preferiría que la fecha esté en la misma línea que el autor, separada por una coma. ¿Es eso posible?
\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}
Respuesta1
Moví \end{tabular}
de al \postauthor
a \postdate
e hice que la tabla tuviera dos columnas.
\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}