Missing y-offset for body?

Issue #36 new
Torbjørn Taskjelle created an issue

Hi,

lines 1508 to 1517 in tikzposter.cls reads as such:

% Set coordinates
\node[minimum width=\TP@blocktitlewidth, minimum height=\TP@blocktitleheight, anchor=center] (blocktitle)%
    at (\TP@blockcenter+\TP@blocktitleoffsetx, {\TP@blocktop-0.5\TP@blocktitleheight+\TP@blocktitleoffsety}){};
\ifBlockHasTitle
    \node[minimum width=\TP@blockbodywidth, minimum height=\TP@blockbodyheight, anchor=center] (blockbody)%
        at (\TP@blockcenter+\TP@blockbodyoffsetx, {\TP@blocktop-\TP@blocktitleheight-0.5\TP@blockbodyheight+\TP@blockbodyoffsety}){};
\else
    \node[minimum width=\TP@blockbodywidth, minimum height=\TP@blockbodyheight, anchor=center] (blockbody)%
        at (\TP@blockcenter+\TP@blockbodyoffsetx, {\TP@blocktop-\TP@blocktitleheight-0.5\TP@blockbodyheight}){};
\fi

Is it intentional that +\TP@blockbodyoffsety is missing from the \else clause of \ifBlockHasTitle? Seems to me like it should be there, as the bodyoffsety key wont work in blocks without title.

Comments (1)

  1. Log in to comment