新建目录,让每一章标题下面插入一个本章所有知识点的目录

发布于 2022-10-24 00:06:56
\usepackage{tocloft}
\newcommand\listexamplename{\large{知识点清单}}
\newlistof[chapter]{knowledgepoint}{kp}{\listexamplename}
\newcommand{\points}[1]{%
    \par\noindent\textbf{知识点\refstepcounter{knowledgepoint} \theknowledgepoint~#1}
    \addcontentsline{kp}{knowledgepoint}{\protect\numberline{\theknowledgepoint}#1}\par
}
\usepackage[hidelinks]{hyperref}
\usepackage{multicol}
\renewcommand\cftkpprehook{\begin{multicols}{2}}
\renewcommand\cftkpposthook{\end{multicols}}

我新建了一个知识点目录,想让每一章的标题下面插入一个知识点目录,只显示本章的所有知识点

查看更多

关注者
0
被浏览
621
1 个回答
LaTeXStudio
LaTeXStudio 2022-10-24
这家伙很懒,什么也没写!

提问的时候要用md基本语法来提交代码,方便别人进行代码复用。

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览