I'm trying to figure out how to insert a enumerated list with two columns inside a box with minimal waste of space. The code outputs the first items of each column unaligned among themselves and produces a lot of empty space.
\documentclass{article}
\usepackage{multicol}
\usepackage{varwidth}
\begin{document}
\framebox{\begin{varwidth}{3in}
\begin{multicols}{2}
\begin{enumerate}
\item Banana
\item Apple
\item Orange
\item Strawberry
\item Grape
\item Tomato
\end{enumerate}
\end{multicols}
\end{varwidth}}
\end{document}



itemizeandminipage-- you can adapt the same forenumerateandminipage--the0.2\linewidthlays down the width of the column as a percentage of the linewidth – js bibra Oct 20 '20 at 04:53varwidthenvironment? Why not use aminipageenvironment? – Mico Oct 20 '20 at 05:16\frameboxwas getting a missing\itemand improper\prevdepthwithout it or with any other cases (such as when I tried putting the list inside a\frameboxwithminipage). It was the only "solution" that worked at the time haha. Thanks, Mico! – redgrapejuice Oct 21 '20 at 04:05