(This is, in a sense, a follow-up to Insert text between title and author).
When using \raggedright in the preamble, LaTeX throws an error when I use a linebreak command \\ in \maketitle. How can I circumvent this?
\documentclass{article}
\raggedright % turn off right-edge text justification and hyphenation
\usepackage{titling}
\pretitle{\begin{flushleft}\LARGE\textbf} % left aligned title with LARGE bold type
\posttitle{\vskip .25ex\hrule\par\end{flushleft}} % add hrule under title
\preauthor{\begin{flushleft}\large} % left align author
\postauthor{\par\end{flushleft}}
\predate{\begin{flushleft}} % left align date
\postdate{\par\end{flushleft}\vspace{-3ex}} % reduce space after \maketitle
\begin{document}
\title{Review}
\author{\textbf{Paul McCartney}\\ University of Liverpool}
\date{\today}
\maketitle
\noindent Here my review begins
\end{document}
! Argument of \reserved@a has an extra }.
\par
l.14 ...Paul McCartney}\ University of Liverpool}
\\by\hfil\break. This will probably break other parts of the document (running heads, maybe). – Koji Oct 03 '13 at 18:46\raggedrightin the preamble (see this thread: http://tex.stackexchange.com/q/132062/27635). Can't you anyway issue\raggedrightafter\maketitle? – karlkoeller Oct 03 '13 at 19:49