Quantcast
Channel: Change margins for tcolorbox with varwidth environment - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Change 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
Browsing all 2 articles
Browse latest View live




Latest Images