tcolorbox add tag
CarLaTeX
This is more of a request for advice than a question.

I'm writing the next DuckBoat about `tcolorbox`.

In its manual, about `varwidth upper` option,  is written:


> This option is only senseful for a `\tcbox`


because it does not allow page breaking neither a lower part of the tcolorbox.

But I tested that it works also with a usual `tcolorbox` environment, if it doesn't go on more pages and it does not have a lower part:

```
\documentclass{article}
\usepackage{tcolorbox}
\usepackage{varwidth}
\tcbset{
  commonoptions/.style={
    fonttitle=\bfseries\scriptsize,
    titlerule=0pt, boxrule=0pt, boxsep=0pt,
    toptitle=6pt,bottomtitle=4pt,
		opacityframe=0,
    varwidth upper=.9\linewidth}}
\newtcolorbox{receivedmsg}[2][]{
  commonoptions,    
  coltitle=red,colbacktitle=yellow!30, 
	colback=yellow!30,flush left, hbox,
  title={#2},#1}
 
\begin{document}
\begin{receivedmsg}{Title}
   This is a text
\end{receivedmsg}
\end{document}
```

![image.png](/image?hash=39c667766e4964448924e4e15c69017cc5dadc9073ca85f427d8da7c170038ec)

Do you think is it correct to use it with a `tcolorbox` citing its limits (no page break, no lower part)?

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.