2

How do I make the title of this document break up and center-justify? \ doesn't work.

\documentclass[25pt, a0paper, portrait, margin=10mm, innermargin=15mm,
blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter}
\usetheme{Simple}

\title{This is a very long title that I would like to break up and center-justify} 

\begin{document} 
\maketitle
\end{document}
2

Use a \parbox

\documentclass[25pt, a0paper, portrait, margin=10mm, innermargin=15mm,
blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter}
\usetheme{Simple}

\title{\parbox{\linewidth}{\centering This is a very long title that I would like to break up and center-justify}}

\begin{document}
\maketitle
\end{document}

enter image description here

| improve this answer | |
1

To break the line, \\ would be enough. To break it nicely, you may need to specify some vertical space, \\[1ex]. To get it center-justified, I would recommend not to hack the \title command, but either find a theme that better suits your needs, or just abandon \maketitle to create a layout of your own with a center environment.

| improve this answer | |
  • \\ doesn't seem to do anything – Liam Baron Apr 22 '15 at 18:38
0

You can use the \linebreak command. You can optionally add a number (0-4) to this, i.e.~\linebreak[3]. The higher the number, the more insistent the command.

| improve this answer | |
  • Unfortunately \linebreak doesn't seem to work. – Liam Baron Apr 22 '15 at 20:36

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.