20

Right now the only allowed paper sizes in tikzposter are a0paper, a1paper, or a2paper. Is there a way to manually set the size of the poster in inches or other units?

ChrisS
  • 13,529
msakya
  • 368

2 Answers2

22

The tikzposter class loads geometry, so you can use its syntax to specify different paper sizes:

\documentclass{tikzposter}
\geometry{paperwidth=4in,paperheight=3in}

\usepackage{lipsum}

\begin{document}
\lipsum[1]
\end{document}

enter image description here

10.2cm is 4in and 7.6cm is 3in

egreg
  • 1,121,712
14

This is not enough. tikzposter uses \TP@visibletextwidth and \TP@visibletextheight to compute things like column widths etc., and it's computed from the default page size by the class. So, after you set the paper height and width you also have to say

\makeatletter
\setlength{\TP@visibletextwidth}{\textwidth-2\TP@innermargin}
\setlength{\TP@visibletextheight}{\textheight-2\TP@innermargin}
\makeatother
rzach
  • 426
  • Finally! I could not figure out how to stop the columns from running outside the page until finding your answer. – Joe Feb 05 '22 at 21:51
  • Where do I need to put this in the document? I get tons of errors when trying to add it after the geometry command. – stefanbschneider Apr 02 '22 at 10:42
  • It works for me right after the \geometry command. Can you post a MWE and the errors you get? – rzach Apr 03 '22 at 12:17