Answer by Steven B. Segletes for Change margins for tcolorbox with varwidth...
Set the varwidth to \dimexpr\columnwidth-8mm to subtract off what you later add back to the width of the tcolorbox.\documentclass[preprint]{revtex4-2} \usepackage{lipsum} \usepackage{setspace}...
View ArticleChange margins for tcolorbox with varwidth environment
In the code posted below, I am using varwidth to shrink my tcolorbox to the text width for short text lines. However, I also have some wraparound text lines and the tcolorbox is too big in that case....
View Article
More Pages to Explore .....