如何在 itemize 环境中修复行距?

如何在 itemize 环境中修复行距?

当我使用 \begin{spacing}{3} ... \end{spacing} 或 \setlength{\baselineskip}{36pt} 时,项目之间出现了很大的空间。

\documentclass{book}
\usepackage{amsmath}
\usepackage{setspace}  
\begin{document}
    
\begin{spacing}{3}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lectus velit ultrices augue, a dignissim nibh lectus placerat pede. Vivamus nunc nunc, molestie ut, ultricies vel, semper in, velit. Ut porttitor. Praesent in sapien.


\begin{align}
    5x+2y = 2z+3 \\
    5x+2y = 2z+3 \\
    13x = y+z+2 
\end{align}

\begin{itemize}
    \item first
    \item second
\end{itemize}


\begin{align}
    5x+2y = 2z+3 \\
    5x+2y = 2z+3 \\
    13x = y+z+2 
\end{align}

\end{spacing}
\end{document}

在此处输入图片描述

答案1

这个怎么样?

\documentclass{book}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{enumitem} % <--
\setlist{noitemsep}   % <--
\begin{document}
    
\begin{spacing}{3}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam
lobortis facilisis sem. Nullam nec mi et neque pharetra
sollicitudin. Praesent imperdiet mi nec ante. Donec ullamcorper, felis
non sodales commodo, lectus velit ultrices augue, a dignissim nibh
lectus placerat pede. Vivamus nunc nunc, molestie ut, ultricies vel,
semper in, velit. Ut porttitor. Praesent in sapien.
\begin{align}
    5x+2y = 2z+3 \\
    5x+2y = 2z+3 \\
    13x = y+z+2 
\end{align}
\begin{itemize}
    \item first
    \item second
\end{itemize}
\begin{align}
    5x+2y = 2z+3 \\
    5x+2y = 2z+3 \\
    13x = y+z+2 
\end{align}
\end{spacing}
\end{document}

在此处输入图片描述

相关内容