两个并排的枚举列表

两个并排的枚举列表

我正在尝试复制下面的图片,但目前的图片在两个列表上留下了尴尬的间距。有人能告诉我如何模仿这张图片吗?

在此处输入图片描述

\documentclass[12pt,letterpaper]{article}

\usepackage{enumerate,multicol}
\usepackage{amsmath, amssymb, amsthm}

\begin{document}

\begin{multicols}{2}
\textbf{\emph{Possible Structural Properties}}
\begin{enumerate}[1.]
\item The set has 4 elements.
\item The operation is commutative.
\item $x \ast x = x$ for all $x \in S$
\item The equation $a \ast x = b$ has a solution $x$ in $S$ for all $a,b \in S$.
\end{enumerate}
\textbf{\emph{Possible Nonstructural Properties}}
\begin{enumerate}[a.]
\item The number 4 is an element.
\item The operation is called ``addition.''
\item The elements of $S$ are matrices.
\item $S$ is a subset of $\mathbb{C}$.
\end{enumerate}
\end{multicols}

\end{document}

答案1

我选择使用两个\parboxes 和enumitem包来完成它。

\documentclass{article}
\usepackage{amssymb}
\usepackage{enumitem}
\begin{document}
\noindent\parbox[t]{2.4in}{\raggedright%
\textbf{\textit{Possible Structural Properties}}
\begin{enumerate}[topsep=0pt,itemsep=-2pt,leftmargin=13pt]
\item The set has 4 elements.
\item The operation is commutative.
\item $x \ast x = x$ for all $x \in S$
\item The equation $a \ast x = b$ has a solution $x$ in $S$ for all $a,b \in S$.
\end{enumerate}
}%
\parbox[t]{2.4in}{\raggedright%
\textbf{\textit{Possible Nonstructural Properties}}
\begin{enumerate}[topsep=0pt,itemsep=-2pt,leftmargin=13pt]
\item[a.] The number 4 is an element.
\item[b.] The operation is called ``addition.''
\item[c.] The elements of $S$ are matrices.
\item[d.] $S$ is a subset of $\mathbb{C}$.
\end{enumerate}
}
\end{document}

在此处输入图片描述

答案2

您可以使用两个tabulars:

\documentclass{article}
\usepackage{amssymb,array}
\usepackage{enumitem}
\begin{document}
\noindent
\begin{tabular}[t]{@{}>{\raggedright\arraybackslash}p{0.45\textwidth}}
\textbf{\textit{Possible Structural Properties}}
\begin{enumerate}[topsep=0pt,itemsep=-2pt,leftmargin=13pt]
\item The set has 4 elements.
\item The operation is commutative.
\item $x \ast x = x$ for all $x \in S$
\item The equation $a \ast x = b$ has a solution $x$ in $S$ for all $a,b \in S$.
\end{enumerate}
\end{tabular}
\begin{tabular}[t]{@{}>{\raggedright\arraybackslash}p{0.52\textwidth}@{}}
\textbf{\textit{Possible Nonstructural Properties}}
\begin{enumerate}[topsep=0pt,itemsep=-2pt,leftmargin=13pt]
\item[a.] The number 4 is an element.
\item[b.] The operation is called ``addition.''
\item[c.] The elements of $S$ are matrices.
\item[d.] $S$ is a subset of $\mathbb{C}$.
\end{enumerate}
\end{tabular}
\end{document}

在此处输入图片描述

相关内容