答案1
扩展@JohnKormylo 的回答\newlist
,我可能会使用和的组合来创建一个自定义列表\setlist
(来自枚举项)。如果您只希望文档的一部分为两列,则可以将列表插入环境内multicols
(来自多色包裹)。
这是 MWE 的一些虚拟文本和部分列表
\documentclass{article}
\usepackage{enumitem}
\usepackage{multicol}
\usepackage{kantlipsum} % only for dummy text
\newlength\customlen \setlength\customlen{2cm}
\newlist{problemanswer}{enumerate}{2}
\setlist[problemanswer]{
itemindent=\customlen,
labelwidth=\customlen,
leftmargin=0pt,
labelsep=0pt,
parsep=3pt,
itemsep=0pt,
topsep=0pt,
align=left,
}
\setlist[problemanswer,1]{label=\arabic*}
\setlist[problemanswer,2]{label*=\space\alph*, before=\stepcounter{problemansweri}}
\begin{document}
\kant[1]
\begin{multicols}{2}
\setlength{\parindent}{0pt}
{\Large Defining New Symbols}
\vspace{\baselineskip}%
\makebox[\customlen][l]{\textbf{Problem}}\textbf{Answer}
\begin{problemanswer}
\item 32
\item 77
\item 5
\item 140
\item \(10y + Y^2\)
\item \(16x + 64\)
\item \(2xy + y^2\)
\begin{problemanswer}
\item Answers may vary:
\item No
\end{problemanswer}
\begin{problemanswer}
\item 32
\item 35
\item \(x \& y = x + xy\)
\item Yes
\item and so one ...
\end{problemanswer}
\item etc. ...
\item 32
\item 77
\item 5
\item 140
\item \(10y + Y^2\)
\item \(16x + 64\)
\item \(2xy + y^2\)
\begin{problemanswer}
\item Answers may vary:
\item No
\end{problemanswer}
\begin{problemanswer}
\item 32
\item 35
\item \(x \& y = x + xy\)
\item Yes
\item and so one ...
\end{problemanswer}
\item etc. ...
\end{problemanswer}
\raggedcolumns
\end{multicols}
\kant[2]
\end{document}
答案2
这使用enumerate
了enumitem
。我只显示了几个\item
s,但是itemize
将要拆分成多列。
\documentclass[twocolumn]{article}
\usepackage{enumitem}
\begin{document}
\section*{Defining New Symbols}
\begin{enumerate}[labelwidth=1in, itemindent=!, align=left]
\item[\textbf{Problem}]\textbf{Answer}
\item 32
\item \ref{unknown}
\end{enumerate}
\end{document}