Skip to content

Commit ec3760f

Browse files
committed
docs: add an explaination about nosep in enumitem.
1 parent 5181d5a commit ec3760f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: bithesis.dtx

+25
Original file line numberDiff line numberDiff line change
@@ -1523,6 +1523,31 @@
15231523
% \item 在 Windows 系统下编译最终的 PDF 文件。
15241524
% \end{itemize}
15251525
%
1526+
% \subsection{列表项的间距过大该如何解决?}
1527+
%
1528+
% 相比 Word,$\LaTeX$ 的列表项间距会比行间距更大一些。
1529+
% 这样做在一个列表项中包含多行时,可以更好地区分不同的列表项。
1530+
% 但是,如果你只是想要一个简单的列表,这种间距可能会显得过大。
1531+
% 想要\textbf{临时}取消这种间距,可以在环境中添加选项 |nosep|:
1532+
%
1533+
% \begin{latex}
1534+
% \begin{itemize}[nosep]
1535+
% \item 选项一
1536+
% \item 选项二
1537+
% \end{itemize}
1538+
% \end{latex}
1539+
%
1540+
% 想要\textbf{永久}取消这种间距,可以在导言区添加如下代码:
1541+
%
1542+
% \begin{latex}
1543+
% \setlist{nosep}
1544+
% \end{latex}
1545+
%
1546+
% 详见:https://github.com/BITNP/BIThesis/issues/293
1547+
%
1548+
% \textit{以上功能由 \pkg{enumitem} 宏包支持。通过导入 \pkg{bithesis}
1549+
% ,该宏包已经被自动导入。}
1550+
%
15261551
% \section{\cls{bitreport.cls} 使用与配置}
15271552
% \label{sec:bitreport}
15281553
%

0 commit comments

Comments
 (0)