如何自定义\begin{itemize}
和内两个项目之间的间距\end{itemize}
,而不用每次都放置例如 \vspace{3mm}
?谢谢。
答案1
如果您正在考虑单个列表(否则全局更改 itemsep),则一种方法如下:
\documentclass[11pt]{article}
\begin{document}
% default
\begin{itemize}
\item first item
\item second item
\item third item
\end{itemize}
\textbf{Customize}
{
\newlength\savlength
\setlength{\savlength}{\itemsep}
\begin{itemize}
\setlength{\itemsep}{10mm}
\item first item
\item second item
\item third item
\item fourth item
\setlength{\itemsep}{0.mm}
\item fifth item
\item sixth item
\end{itemize}
\setlength{\itemsep}{\savlength}
}
\textbf{Default}
% default
\begin{itemize}
\item first item
\item second item
\item third item
\end{itemize}
\end{document}