3

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}
3
  • I'd recommend beamerposter instead, but that's just preference. I anticipate this is linked to tex.stackexchange.com/q/31096/17423. Commented Apr 22, 2015 at 17:28
  • Why beamerposter?
    – Liam Baron
    Commented Apr 22, 2015 at 18:37
  • Always seemed more stable / consistent to me. Commented Apr 22, 2015 at 19:02

3 Answers 3

3

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

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.

1
  • \\ doesn't seem to do anything
    – Liam Baron
    Commented Apr 22, 2015 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.

1
  • Unfortunately \linebreak doesn't seem to work.
    – Liam Baron
    Commented Apr 22, 2015 at 20:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .