I have two poster in tikzposter and would like to hang them next to each other. Each poster has three blocks. I would like similiar blocks to have the same position on both posters. How can this be achieved?

Thank you for your time.

EDIT: code extract:

\documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=15mm, blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter}
\block{Title A}{Content A}
\block{Title B}{Content B} 
\block{Title B}{Content C}

On both posters, the contents of the blocks have different lengths. The problem is to make them the same height (or the same position for that matter).

  • please see this question and/or this one – touhami May 14 '16 at 8:39
  • @touhami Are those really useful when considering \blocks defined in the tikzposter class? – Torbjørn T. May 14 '16 at 14:47
  • @touham I am not really sure, how I can apply the information from those questions to my problem. I do not have simple nodes but - as Torbjørn T. said - use the \block statement. – Spezi May 14 '16 at 15:27
  • @Spezi sorry I am not sure. can you make your question more clear and add a minimal example of your code? – touhami May 14 '16 at 15:40
  • @TorbjørnT. I am not sure. – touhami May 14 '16 at 15:47

Here is a solution.

New command \mtblock{Title 1}{Poster 1 content}{Title 2}{Poster 2 content} that save content and measure height of block

One .tex file, to be compiled with \firsttrue for poster 1. and without it or \firstfalse for poster 2.

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

\usepackage{lipsum}% just for the example


\block{\iffirst #1\else #3\fi}{%
\parbox[t][\htblockbox][c]{\linewidth}{\iffirst #2\else #4\fi}}}

\title{Block height}


%\firsttrue     %uncomment for poster 1: A,B,C
\mtblock{Title 1}{Poster 1 content}{Title 2}{Poster 2 content}
\mtblock{Title A}{\lipsum[1]}{Title AA}{\lipsum[1-2]}
\mtblock{Title B}{\lipsum[1]}{Title BB}{\lipsum[1-2]}
\mtblock{Title C}{\lipsum[1-2]}{Title CC}{\lipsum[1]}

  • I pasted your code into two documents but uncommented the \firsttrue in one of them. I then removed the lipsum command in one of the blocks, to see if it would work. After compiling both documents, the block without the lipsum command was empty. It was however not the same size or position as the corresponding block on the other poster. I am not sure, if I have made a mistake, but the code does not seem to work. – Spezi May 14 '16 at 20:19
  • my idea is to use only one .tex file to produce two pdfs one with \firsttrue and one without it – touhami May 14 '16 at 20:24
  • Ah, I see. That works. However, for some reason the top half of the poster remains empty. – Spezi May 14 '16 at 20:57
  • I will try to see what happen, but this not related to \mtblock there is something wrong in your example. – touhami May 14 '16 at 21:09
  • I tried your code in another editor. Still the same result. Even though I made no modification whatsoever. I just pasted the code. – Spezi May 14 '16 at 21:14

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.