有什么方法可以将\begin{itemize}...\end{itemize}
以下 MWE 中的列分隔减少到与 相同\setlength{\columnsep}{1cm}
。此外,如何删除列表中的列分隔规则?
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage{enumitem}
\setlist{nolistsep}
\begin{document}
\setlength{\columnsep}{1cm}
\setlength{\columnseprule}{0.6pt}
\begin{multicols}{2}
\lipsum[1]
\begin{multicols}{2}
\begin{itemize}
\item Item 1
\item Item 2
\item Item 3
\item Item 4
\item Item 5
\item Item 6
\item Item 7
\item Item 8
\item Item 9
\end{itemize}
\end{multicols}
\end{multicols}
\end{document}
答案1
您可以通过设置内部环境的可选参数中的长度来使分隔规则消失multicol
;内部环境中的分隔保持为 1cm,如下例所示,其中项目符号与边缘齐平,分隔与主要分隔完全相同。
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage{enumitem}
\setlist{nolistsep}
\begin{document}
\setlength{\columnsep}{1cm}
\setlength{\columnseprule}{0.6pt}
\begin{multicols}{2}
\lipsum[1]
\begin{multicols}{2}[\setlength{\columnseprule}{0pt}]
\begin{itemize}[leftmargin=*]
\item Item 1
with some more text
\item Item 2
with some more text
\item Item 3
with some more text
\item Item 4
with some more text
\item Item 5
with some more text
\item Item 6
with some more text
\item Item 7
with some more text
\item Item 8
with some more text
\item Item 9
with some more text
\end{itemize}
\end{multicols}
\end{multicols}
\end{document}