I'm using the LaTeX class package to write my thesis according to University of Maine formatting guidelines. I'm running into an issue with line breaks in the title. I'm required to break my title manually in a certain spot, but the following:
\title{An AUV Simulator for Incorporating \\ Physical Feedback}
gives the following error after running pdflatex
:
! Use of \@icentercr doesn't match its definition.
<argument> \def
l.59 \titlepage
Instead of \\
, I've also tried \newline
and \par
, but nothing seems to work (no errors, but no spacing either). I've also done what was suggested here, but it gives the same error.
I'm not really sure how the class package does titles, and am generally have no experience with advanced formatting. Is there a way to accomplish a line break here?
(Note: \newline
works, but the first line will be off-center relative to the rest of the page.)
\\
should be possible (almost) everywhere, so this might be considered a bug in your university's LaTeX class. You should contact the maintainers of that class about it. Maybe they explicitly forbid manual line breaking in the title for some reason. For this site, your question is too localised I'm afraid. – Stephan Lehmke Jun 20 '12 at 2:33~
to ensure that certain words stay grouped together.\title{An~AUV~Simulator~for~Incorporating Physical~Feedback}
. – Mateen Ulhaq Jun 12 '20 at 9:02