我正在尝试弄清楚如何在一个框内插入一个包含两列的枚举列表,同时尽量减少空间浪费。代码输出的每列的第一项彼此不对齐,并产生大量空白空间。
\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}
答案1
拥有双重minipage
环境
\documentclass[12pt,a4paper]{article}
\begin{document}
\begin{itemize}
\begin{minipage}{0.2\linewidth}
\item item 1
\item item 2
\item item 3
\end{minipage}
\begin{minipage}{0.2\linewidth}
\item item 4
\item item 5
\item item 6
\end{minipage}
\end{itemize}
\end{document}
具有单个 minipage 环境--
\documentclass{article}
\usepackage{multicol}
\begin{document}
\begin{minipage}{0.8\textwidth}
\begin{enumerate}
\setlength{\itemsep}{0pt}
\setlength{\parskip}{0pt}
\begin{multicols}{2}
\item Time Limit Waved
\item Exam/Sep Location
\item Questions Read Aloud
\item Answers Any Way
\item Calc/Abacus Permitted
\item On-Task Focusing Prompts
\item Waive Spelling Reqs
\item Revise Test Format
\item Revise Test Directions
\item Breaks
\end{multicols}
\end{enumerate}
\end{minipage}
\end{document}