I would like to have my tcolorboxes with breakable inside my multicols environment. But they do not break. Also:
\documentclass[a4paper, twocolumn]{article}
Would not work for me, because for some sections I need the whole page and for some sections, I would like multiple columns.
My header is:
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage[svgnames]{xcolor} % colour extension
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes} % Todo notes
\usepackage[sfdefault,thin]{roboto} % Roboto font
\usepackage{fullpage}
\usepackage{longtable}
\usepackage{tcolorbox} % Colored boxes
\usepackage{xparse} % For squeezing of section titles
\tcbuselibrary{skins,breakable} % breakable for tcolorboxes
My tcolorbox is:
\newenvironment{tada}
{\begin{tcolorbox}[colback=Green!14!white,
colframe=Green!10!blue!29!white,
sharp corners, breakable]}{\end{tcolorbox}}
And I call it like:
\begin{multicols}{2}
\begin{tada}
** Here should be written the lipsum text **
\end{tada}
\end{multicols}
Now, if that is at the end of a page, the long lipsum text would not be broken by splitting of the tcolorbox as it should be by the command breakable above.
Someone have a clue how to solve this?
multicol
for that.\onecolumn
or\twocolumn
? This is just standard LaTeX, mind - the default stuff.