描述列表是否适合项目标签作为句子一部分的定义?
\begin{description}
\item[Apples] are members of the Rosaceae family.
\item[Pineapples] are the only economically important Bromeliad fruit.
\item[Bananas] are delicious.
\item[Blending] of the above fruits into smoothies is possible.
\end{description}
项目标签和句子其余部分之间留有字间空格是否更合适?
答案1
我相信这取决于个人喜好。因此,这里有一种方法可以获取:
\documentclass{article}
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\begin{document}
\begin{description}
\item[Apples] are members of the Rosaceae family.
\item[Pineapples] are the only economically important Bromeliad fruit.
\item[Bananas] are delicious.
\item[Blending] of the above fruits into smoothies is possible.
\end{description}
\begin{description}[labelsep=.3333em]
\item[Apples] are members of the Rosaceae family.
\item[Pineapples] are the only economically important Bromeliad fruit.
\item[Bananas] are delicious.
\item[Blending] of the above fruits into smoothies is possible.
\end{description}
\end{document}
在普通字体中,一个空格的宽度为.3333em
,而标签与后续描述之间的默认间隙为.5em
。
答案2
您还可以使用tabular
环境:
\documentclass[12pt,a4paper]{article}
\usepackage{array}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{l|l}
\textbf{Fruit} & \textbf{Description}\\
\hline
Apples &Are members of the Rosaceae family\\
Pineapples& Are the only economically important Bromeliad fruit\\
Bananas& Are delicious\\
Blending& Of the above fruits into smoothies is possible\\
\end{tabular}
\vspace*{50mm}
\begin{tabular}{l|l}
\textbf{Fruit} & \textbf{Description}\\
Apples &Are members of the Rosaceae family\\
Pineapples& Are the only economically important Bromeliad fruit\\
Bananas& Are delicious\\
Blending& Of the above fruits into smoothies is possible\\
\end{tabular}
\vspace*{50mm}
\begin{tabular}{ll}
\textbf{Fruit} & \textbf{Description}\\
Apples &Are members of the Rosaceae family\\
Pineapples& Are the only economically important Bromeliad fruit\\
Bananas& Are delicious\\
Blending& Of the above fruits into smoothies is possible\\
\end{tabular}
\end{document}
结果如下:
当然,你总是可以两全其美,比如说,使用\textbf
第一列的项目,而不使用第二列的其他项目(看起来有点像 Werner 提供的答案,只是我的答案是合理的):
\begin{tabular}{ll}
\textbf{Apples} & Are members of the Rosaceae family\\
\textbf{Pineapples} & Are the only economically important Bromeliad fruit\\
\textbf{Bananas} & Are delicious\\
\textbf{Blending} & Of the above fruits into smoothies is possible\\
\end{tabular}