Questions tagged [varwidth]

A package that defines a {varwidth} environment (based on {minipage}) which is an analogue of {minipage}, but whose resulting width is the natural width of its contents.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
116 views

Centering list issue with Enumerate+Hyperref+Varwidth

I want to center an enumerated list so i've tried to use the answer of this question given by the Great David Carlisle. But using hyperref, varwidth and enumerate (in any order in the preamble) cause ...
1
vote
0answers
42 views

Autowidth Box for Itemize Environment

A newenvironment is defined using varwidth and tikz to get a block of width equal to that of the content within it. It works fine, unless itemization is involved. A MWE is given here. \documentclass[]...
1
vote
0answers
57 views

Determine value of overfull amount

If I set content into a box that is not wide enough (0pt in the MWE below), I get an overfull mesage displayed in the console. Can I obtain the maximum value reported in the messages Overfull \hbox (...
1
vote
0answers
161 views

Detect width of minipage environment

I am using the following setup to add comments to the right of aligned equations. \documentclass{amsart} \usepackage{lipsum} \newcommand{\comment}[1]{\text{\footnotesize{#1}}} \newcommand{\blurb}[2]{...
0
votes
0answers
24 views

Make it so that output is single “sheet” with unbounded width

The first line of my TeX document is \documentclass[varwidth=true, border=10pt]{standalone} The output generated is cropped to the width of the content, but it has a maximum width after which it ...