2

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 Answer 1

4

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}
1
  • I did check the manual, but I was searching for the wrong term.
    – blackened
    May 4, 2019 at 12:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .