I am using tikzposter and I would like to connect blocks with lines/arrows to indicate the sequence in which the boxes should be read. I was wondering whether tikzposter defines names for the blocks and if these can be used in a path... (Or any other solution to my problem)

I guess one could draw on the page by trial and error, but I am hoping there is a better way.

Here is a MWE:


\title{How do I draw lines connecting blocks 1--2--3--4?}
\author{Stefano Ghirlanda}





\block{Block 1}{ Block 1 text }

\block{Block 4}{ Block 4 text }


\block{Block 2}{ Block 2 text }

\block{Block 3}{ Block 3 text }


  • Welcome to TeX.SX!! You are more likely to get help if you give a minimal working example. Currently we have to guess what packages etc you are using and this makes it really hard to help you. A MWE should start with a \documentclass command, have a minimal preamble and then \begin{document}...\end{document}. The code should compile and be as small as possible to demonstrate your problem. Cutting your code down to a MWE may well reveal what your problem actually is. In any case, it is really difficult to help you without more information.
    – user30471
    Commented Sep 19, 2017 at 16:19

1 Answer 1


Look in tikzposter.cls, the definition of \block is in lines 355-444.

The title and body of a block are given separate names, blocktitle and blockbody. But the same name is always used, they're not unique.

You can however use the fit library to make new nodes. For example, if you do

\node [fit=(blockbody),inner sep=0pt,draw,line width=2mm,yellow,dashed] (a) {};
\node [fit=(blocktitle),inner sep=0pt,draw,line width=2mm,red,loosely dashed] (b) {};

the output looks like this:

enter image description here

So you can see where the outlines of those nodes are.

For convenience you can make a new command for making and naming a node that fits title and body of a block. It has to be used immediately after a block, of course.

output of code below

\newcommand\NameBlock[1]{\node[fit=(blockbody)(blocktitle),inner sep=5pt] (#1) {};}

\draw [-stealth, line width=2mm] (a.south) to[bend right=40] (b.south);
  • Works great! I tweaked a bit removing the blockbody and having inner sep=-5pt so that I can draw arrows connecting the rounded title boxes that are used in my theme.
    – Stefano
    Commented Sep 19, 2017 at 17:08

You must log in to answer this question.

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