I'm preparing a document using tcolorbox
as basic cells, like this:
\documentclass{article}
\usepackage{tcolorbox}
\tcbuselibrary{skins, breakable}
\newtcolorbox[auto counter, number within=section]{mybox}[1]{title=\thetcbcounter: #1}
\begin{document}
\section{Monday}
\begin{mybox}{A long long story}
Explanation
\end{mybox}
\section{Tuesday}
\begin{mybox}{Another long long story}
Explanation
\end{mybox}
\end{document}
Each section has multiple cells. Both the title and the content tend to be somewhat long. In my case, it feels visually annoying to put the counter in the title, so I wish to move it outside as an individual tag, like this:
The main cell is still horizontally aligned in the page, and the tag cell refers to the main cell's counter. Is there a convenient or proper way to do this?