I want to span two columns of (mainly) text over mutliple pages (to create a CV). I found a solution in How to make minipage spanning multiple pages which is almost exactly what I want to do.
However, in the statet solution, the left column only spans over the first page, so that
+-----------------+
| Header |
+------+----------+
| | |
| | |
| side | Body |
| bar | |
| | |
| | |
| | |
+------+----------+
~pagebreak~
+----------+
| |
| |
| |
| |
+----------+
If the content of the side bar exceeds the space of one page, it will not be broken to the next page. How can I modify the code (the overlay part) of the statet solution
\documentclass{article}
\usepackage[skins,breakable]{tcolorbox}
\usepackage{lipsum}% example texts
\begin{document}
\textcolor{red}{Header} % <------------------------
\lipsum[1]
\begin{tcolorbox}[
blanker,
width=0.64\textwidth,enlarge left by=0.36\textwidth,
before skip=6pt,
breakable,
overlay unbroken and first={%
\node[inner sep=0pt,outer sep=0pt,text width=0.33\textwidth,
align=none,
below right]
at ([xshift=-0.36\textwidth]frame.north west)
{%
\textcolor{red}{Sidebar} % <------------------------
\lipsum[2]
};}]
\textcolor{red}{Body}: % <------------------------
\lipsum[3-7]
\textcolor{red}{End of body}
\end{tcolorbox}
\end{document}
to break the content of the side bar over two (or multiple) columns, so that it will look like
+-----------------+
| Header |
+------+----------+
| | |
| | |
| side | Body |
| bar | |
| | |
| | |
| | |
+------+----------+
~pagebreak~
+------+----------+
| | |
| | |
| | |
| | |
+------+----------+