使用列表环境时enumerate
,我注意到列表最后一项的间距与其他项不同。它似乎有双倍行距。我尝试将其放在\singlespacing
后面\item
。它不起作用。有人可以帮忙吗?下面是我写下的内容。
\documentclass{article}
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt,hmargin=2.5cm]{geometry}
\usepackage[font=it]{caption}
\usepackage{paralist}
\usepackage{multicol}
\usepackage{setspace}
\documentclass{article}
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt,hmargin=2.5cm]{geometry}
\usepackage[font=it]{caption}
\usepackage{paralist}
\usepackage{multicol}
\usepackage{setspace}
\begin{document}
\begin{multicols}{2}
\begin{enumerate}
{\footnotesize
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text}
\end{enumerate}
\end{multicols}
\end{document}
答案1
我猜你做了这样的事情:
\documentclass[twocolumn]{article}
\usepackage{lipsum}
\usepackage{setspace}
\begin{document}
\lipsum[1-6]
\doublespacing
\begin{enumerate}{\singlespacing
\item First item which stretches over more than one line by a couple of words
\item Second item which stretches over more than one line by a couple of words
\item Third item which stretches over more than one line by a couple of words}
\end{enumerate}
\end{document}
问题在于{}
环境内部的虚假群体。
以下是如何解决这个问题的一个例子。
\documentclass{article}
\usepackage{multicol}
\begin{document}
Correct:
\begin{multicols}{2}
\footnotesize
\begin{enumerate}
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\end{enumerate}
\end{multicols}
\bigskip
Incorrect:
\begin{multicols}{2}
\begin{enumerate}
{\footnotesize
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\item text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text}
\end{enumerate}
\end{multicols}
\end{document}
该\footnotesize
声明受到multicols
环境的限制。
答案2
使用
\begin{enumerate}\footnotesize
\item text text
\item text text
\end{enumerate}
放在\footnotesize
不是放入括号中
答案3
答案似乎很简单:如果你用一个空白行或一个 来结束最后一列\par
,IE最后一个花括号之前:
\documentclass{article}
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt,hmargin=2.5cm]{geometry}
\usepackage[font=it]{caption}
\usepackage{paralist}
\usepackage{multicol}
\usepackage{setspace}
\begin{document}
\begin{multicols}{2}
\begin{enumerate} {\footnotesize \item text text text text text text text text text
text text text text text text text text text text text text text
text text text text text text text text
\item text text text text text text text text text text text text
text text text text text text text text text text text text text
text text text text text
\item text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text
\item texttext text text text text text text text text text text text
text text text text text text text text text text text text text
text text text text
\item text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text
\item text text text text text texttext text text text text text text
text text text text text text text text text text text text text text
text text text\par} % <-- NB!
\end{enumerate}
\end{multicols}
\end{document}