如何列出列表项,以便数字与第一项相邻?例如:
1. a. Eggs
b. Feathers
2 a. Mention two...
b. How can we...
c. List three...
间距要适当,如果是多项选择题,也可以用大写字母,比如
1. What is the name given....
A. Hen
B. cock
D. None of the above
答案1
使用包很容易enumitem
。
平均能量损失
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[itemsep=\baselineskip]
\item
\begin{enumerate}[leftmargin=*,label=\alph*.]
\item Eggs.
\item Feathers.
\end{enumerate}
\item
\begin{enumerate}[leftmargin=*,itemsep=\baselineskip,label=\alph*.]
\item Mention two\dots
\item How can we\dots
\item List three\dots
\end{enumerate}
\end{enumerate}
\bigskip
\begin{enumerate}
\item What is the name given\dots
\begin{enumerate}[topsep=0pt,leftmargin=*,label=\Alph*.]
\item Hen
\item Cock
\item[]\refstepcounter{enumii}
\item None of the above
\end{enumerate}
\end{enumerate}
\end{document}