I don't know why but I can't manage to get equal width columns, with a correct column skip using tcolorbox if the columns does not fill the whole page. Here is a picture:
If the columns fill the whole page, I don't have any trouble, the columns have the same size and have the same spacing:
However, if I reduce the size, the boxes does not have the same width, and the spacing is clearly not equal to 3mm:
Do you know why?
Thank you!
MWE:
\documentclass{article}
\usepackage[most]{tcolorbox}
\usepackage{lipsum}
\begin{document}
\begin{tcbitemize}[nobeforeafter,
raster columns=2,
raster rows=2,
% Works when full width
% raster width=\textwidth,
% raster height=\textheight,
% Does not work when smaller width
raster width=.5\textwidth,
raster height=.5\textheight,
% ----
raster row skip=3mm,
raster column skip=3mm]%
\tcbitem[raster multirow=2,blankest]%
\begin{tcbitemize}[raster columns=1,raster rows=2]%
\tcbitem[colback=red]{A}
\tcbitem[colback=red]{B}
\end{tcbitemize}%
\tcbitem[raster multirow=2,raster multicolumn=1,colback=red]{C}%
\end{tcbitemize}%
\end{document}



Tcoloris misleading. You meantcolorbox– Nov 08 '17 at 06:27