1

I have a coloured box that i use, and it always takes up the whole line no matter the texts length. I would like it to stop with the text. enter image description here

\usepackage[table,xcdraw]{xcolor}
\usepackage{tcolorbox}
\newtcolorbox{redbox}   {colback=red!   5!white,  colframe=red!     75!black}
2

0

Browse other questions tagged .