I'm working on my thesis, and I need my chapter titles to be centered so it says "CHAPTER " and then immediately under it the actual chapter title. Right now I have
\titleformat{\chapter}{\normalfont \center}{CHAPTER \thechapter}{}{}
but I can't figure out how to get the new line to work, as
\titleformat{\chapter}{\normalfont \center}{CHAPTER \thechapter \\}{}{}
fails to compile.
\centering
, not\center
.