Subcolumns are not properly spaced
Issue #37
new
Hello,
I have been experimenting with tikzposter for an upcoming conference. I noticed that subcolumns are not properly aligned with respect to the parameter subcolspace.
I used the example, and set the subcolumns' widths to .4
and .6
as in the text, instead of the default .45
and .5
.
You can see that the spacing between subcolumns is not 8mm as given in the document options.
To fix this problem, I removed all references to \blockinnersep
in the subcolumn/subcolumns section:
I am not sure that removing altogether innersep is a good idea, but if it is, I'll be happy to submit a PR with those changes.
This is the patch:
% --------------------------------------- %
% Subcolumns environment
\newenvironment{subcolumns}{
\ifTP@columnEnvironment
\TP@subcolumnEnvironmenttrue
\setlength{\TP@subcolcenter}{\TP@colcenter-0.5\colwidth-\TP@subcolspace}
\global\TP@subcolcenter=\TP@subcolcenter
\global\TP@subcoltop=\TP@blocktop
\global\TP@subcolbottom=\TP@blocktop
\subcolwidth=0pt
\fi
}{
\TP@subcolumnEnvironmentfalse
\global\TP@blocktop=\TP@subcolbottom
}
% Subcolumn
\gdef\subcolumn#1{ % #1: relative width
\ifTP@subcolumnEnvironment
\normalsize
\setlength{\TP@blocktop}{\TP@subcoltop}
\setlength{\TP@subcolcenter}{\TP@subcolcenter+0.5\subcolwidth+\TP@subcolspace}
\setlength{\subcolwidth}{#1\colwidth+#1\TP@subcolspace-\TP@subcolspace}
\setlength{\TP@subcolcenter}{\TP@subcolcenter+0.5\subcolwidth}
\fi
}
% --------------------------------------- %
% Affection