I want to have an A4 size paper, split it to 8 equal parts and each part have features of tcolorbox package. Using the codes for the other question on TeX.SE, I have prepared this, but the height of the boxes are fixed to the height of the text not the size of the small parts.
It is important for me that the margins in all directions be equal and I do not want extra packages to be loaded.
%pdflatex
\documentclass[a4paper]{article}
\usepackage[margin=5mm,centering,landscape]{geometry}
\usepackage{tcolorbox}
\newcommand\Block[2]{%
\setlength\fboxsep{0pt}\setlength\fboxrule{0.1pt}% delete
\fbox{% delete
\begin{minipage}[c][\dimexpr.5\textheight\relax][c]{\dimexpr0.25\textwidth-3pt\relax}
\centering
\par \begin{tcolorbox}[colback=red!5!white,
colframe=red!75!black,
sharp corners=northwest ,title=#1]
#2
\end{tcolorbox}
\end{minipage}%
}% delete
}
\begin{document}
\thispagestyle{empty}% optional: suppress page numbering
\noindent
\Block{text}{caption}\hfill%
\Block{text}{caption}\hfill%
\Block{text}{caption}\hfill%
\Block{text}{caption}%
\vfill
\noindent
\Block{text}{caption}\hfill%
\Block{text}{caption}\hfill%
\Block{text}{caption}\hfill%
\Block{text}{caption}
\end{document}



height=\dimexpr.5\textheight\relaxto the options oftcolorbox? – leandriis Jan 10 '20 at 20:45