# Multi-page tcolorbox with complete box on each page

In my document preamble, I have:

\usepackage[many]{tcolorbox}


In the body, I have a tcolorbox called thus:

\begin{tcolorbox}[breakable, enhanced jigsaw,opacityback=0,rounded corners, parbox=false]


This is a very large box running into multiple pages. With the current settings, the box continues on the next page but does not close on each page.

How do I get the box to close on each page?

• Have you checked the tcolorbox manual about partial boxes? It is very helpful in explaining those concepts. – TeXnician Nov 8 '17 at 16:25
• As far as I know, neither enhanced nor enhanced jigsaw allow for bottom or or top rules for the middle boxes and for bottomrule on the first, or top rule on the first box. – user31729 Nov 8 '17 at 17:15

You can hide the original frame (frame hidden) and draw an overlay-ed frame according your taste:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[most]{tcolorbox}
\usepackage{lmodern}
\usepackage{lipsum}
\begin{document}
\begin{tcolorbox}[%
enhanced,
breakable,
frame hidden,
overlay broken = {
\draw[line width=1mm, red, rounded corners]
(frame.north west) rectangle (frame.south east);},
]{}
\lipsum[1-15]
\end{tcolorbox}
\end{document}


• Oh damn, you beat me by some minutes :-( ... (+1)... I wonder, why this is not incorporated already as possible option for broken boxes in tcolorbox – user31729 Nov 8 '17 at 17:49
• @ChristianHupfer Did you think the same solution? About including as a possible option, we can always fill a suggestion in tcolorbox development site. – Ignasi Nov 8 '17 at 18:03
• It was basically the same solution, apart from the red color of the frame ;-) Thanks for suggesting the link to the github site – user31729 Nov 8 '17 at 18:53