0

Right now I try this:

\title{I am an interesting \newline headline \newline that \newline sticks out}
\maketitle
\newpage

But it looks like this:

enter image description here

Instead, it should look like this (where everything is centered relative to the page):

      I am an interesting
           headline
             that
          sticks out
  • 1
    Replace the \newlines by \endgraf. – Phelype Oleinik Dec 6 '18 at 22:27
  • 1
    \newline is a command that does not do what most people expect it to do. Best to forget about it. For the title field, you can use \\ , which you would almost be never needing in regular text. – Johannes_B Dec 8 '18 at 13:13
  • (disclaimer: don't actually do this) But, if you were really set on using \newline an option is to start and end each line with \hspace*{\fill}. In this case, it would be: \title{\hspace*{\fill}I am an interesting\hspace*{\fill}\newline\hspace*{\fill}headline\hspace*{\fill}\newline\hspace*{\fill}that\hspace*{\fill}\newline\hspace*{\fill}sticks out\hspace*{\fill}}. – whatisit Dec 28 '18 at 4:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.