3

I want to skip the \maketitle command in tikzposter, since I already have a title box in a separate file (which I include as suggested here).

However, omitting \maketitle results in some y-offset for my content (\block{...}) at about half of poster height. So I have some huge white space, I want to get rid of.

I also tried to use an empty title by setting \settitle{} in the preamble, and then using \maketitle[linewidth=0], but this still gives me an empty title box with a (thin) frame (default theme), which overlaps my actual background image title.

So how do I use tikzposter if I don't need the \maketitle command?

minimal working example:

\documentclass[]{tikzposter}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{lipsum}
\settitle{}     % empty title

\begin{document}

% background image with actual title
\node[above right,inner sep=0pt,outer sep=0pt] at (bottomleft) {\includegraphics[width=\paperwidth,height=\paperheight]{example-image}};

% insert empty title box
% \maketitle[linewidth=0]

% content
\block{Test}{\lipsum}

\end{document}

enter image description here

  • Can you make a minimal working example (MWE) that demonstrates your problem? – user36296 Feb 6 '18 at 14:45
  • Does adding \maketitle give you what you want? You made it empty by \settitle{}. – user121799 Feb 6 '18 at 15:18
  • 1
    @marmot as explained above: no – Feodoran Feb 6 '18 at 15:19
3

The tikzposter redefines \maketitle which includes (amongst others) setting \TP@blocktop}, a length which seems to determine the vertical position of the first block.

\documentclass[]{tikzposter}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{lipsum}
\settitle{}     % empty title

\begin{document}

% background image with actual title
\node[above right,inner sep=0pt,outer sep=0pt] at (bottomleft) {\includegraphics[width=\paperwidth,height=\paperheight]{example-image}};

\makeatletter
    \setlength{\TP@blocktop}{.47\textheight}
\makeatother

% content
\block{Test}{\lipsum}

\block{Test}{\lipsum}

\end{document}

enter image description here

  • Thank you, this does work as a quick hack. But I would not consider it a real solution, since you have to come up with the height yourself. – Feodoran Feb 6 '18 at 15:22
  • 1
    @Feodoran But how should tex know where you want to have your block? In the original definition it was more or less .5\textheight-"height of the title block". As you don't have a title I put .03\textheight to have a bit of margin at the top. – user36296 Feb 6 '18 at 15:24
  • Oh, right, the image spans the whole page. Is there maybe a way to pass an image with is inserted instead of the title? Then the image would not need span the whole page. – Feodoran Feb 6 '18 at 15:26
  • @Feodoran Yes, you can find the original definition in tikzposter.cls and redefine it accordingly. However I wonder why? – user36296 Feb 6 '18 at 15:29
  • So the first block will be placed automatically after the title, no matter its height. How do I find the path for tikzposter.cls (texlive)? – Feodoran Feb 6 '18 at 15:38

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.