您好,我有以下 MWE,想知道是否使用\\
BP,或者是否有更清晰/更好的方法来实现每个标题之间的间距。也欢迎对此外观的一般意见。
梅威瑟:
\documentclass[12pt]{scrreprt}
\usepackage[a4paper, includehead, left=3.5cm, right=1.7cm, top=2.5cm, bottom=2.0cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{multicol}
\usepackage[onehalfspacing]{setspace}
\usepackage{enumitem}
\begin{document}
\begin{multicols}{2}
\setlist[itemize]{wide =0pt, leftmargin=*, nosep,before=\KOMAoptions{parskip=false}}
\begin{enumerate}[topsep=0pt,itemsep=-1ex,partopsep=1ex,parsep=1ex,leftmargin=*]
\item Heading
\begin{itemize}
\item Item 1
\item Item 2
\\
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\\
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\item Item 1
\vfill\null
\columnbreak
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\item Item 1
\\
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\item Item 1
\\
\end{itemize}
\end{enumerate}
\end{multicols}
\end{document}
答案1
更改parsep
为3.5ex
似乎可以实现您想要的,而无需添加空行\\
。
\documentclass[12pt]{scrreprt}
\usepackage[a4paper, includehead, left=3.5cm, right=1.7cm, top=2.5cm, bottom=2.0cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{multicol}
\usepackage[onehalfspacing]{setspace}
\usepackage{enumitem}
\begin{document}
\begin{multicols}{2}
\setlist[itemize]{wide =0pt, leftmargin=*, nosep,before=\KOMAoptions{parskip=false}}
\begin{enumerate}[topsep=0pt,itemsep=-1ex,partopsep=1ex,parsep=3.5ex,leftmargin=*]
\item Heading
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\item Item 1
\vfill\null
\columnbreak
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\item Item 1
\end{itemize}
\item Heading
\begin{itemize}
\item Item 1
\item Item 1
\item Item 1
\item Item 1
\end{itemize}
\end{enumerate}
\end{multicols}
\end{document}