1

Which option controls the vertical spacing between upper and lower part inside the box?

\documentclass{article}
\usepackage{tcolorbox}

\begin{document}

\begin{tcolorbox}
    This is another \textbf{tcolorbox}.
    \tcblower
    This is the lower part of the box.
\end{tcolorbox}

\end{document}
1

Page 11 of the tcolorbox documentation has a useful overview of the lengths:

enter image description here

This means you want to change the middle key:

\documentclass{article}
\usepackage{tcolorbox}

\begin{document}

\begin{tcolorbox}[middle=10pt]
    This is another \textbf{tcolorbox}.
    \tcblower
    This is the lower part of the box.
\end{tcolorbox}

\end{document}
  • I did check the manual, but I was searching for the wrong term. – blackened May 4 at 12:15

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.