\documentclass[ zihao = -4, font = noto, paper = a4paper, openany, ]{easybook} \ctexset { style = { color = seaside, % capdash = true, % multoc = true, % withpart = true, % perpart = true, perpage = true, % notomath = false, rulewidth = 0.75pt }, link = { hyperlink = various, linkcolor = skyblue, linktopage = false }, spread = { line = 1.355, table = 1.05, math = 1.05, caption = 1, footnote = 1 }, elfont = { table-cap = \sffamily\zihao{5}, figure-cap = \sffamily\zihao{5}, listing-cap = \sffamily\zihao{5}, footnote = \rmfamily, marginpar = \sffamily\zihao{-5} }, thmset = { thmbox = true, numberwith = {chapter}, bodyfont = \normalfont, headpunct = {.} }, geoset = { vmargin = {2.54cm,2.54cm}, hmargin = 3.17cm, headheight = 2.04cm, headsep = 0.5cm, ignorefoot }, hdrset = { \easyhead[EC]{\color{DarkViolet}\kaishu\leftmark} \easyhead[OC]{\color{DarkViolet}\kaishu\rightmark} \easyhead[EL,OR]{\color{DarkViolet}\thepage} }, tocset = { part = { format = \addvspace{1pc}\sffamily\large, indent = 0\ccwd, rule = \tocrule{}[\bfseries] }, chapter = { format = \addvspace{1pc}\sffamily\large, indent = 0\ccwd, rule = \tocrule[0.7pc][1.2]{$\cdot$}[\bfseries] } }, bibset = { backend = bibtex, bibstyle = number }, % secnumdepth = 2, % tocdepth = 2 } \AfterPreamble { \title{\sffamily easybook书籍文档类} \author { 瞿毅\thanks{texeasybook@foxmail.com.} \\ \git~\url{https://gitee.com/texl3/easybook}\thanks{Gitee为项目的主要发布地址。} \\ \github~\url{https://github.com/texl3/easybook} \\ \edge~\url{https://latexstudio.net} } \date{2021/02/21\hskip\ccwd\relax v1.23f} } \begin{document} \frontmatter[roman] \maketitle \tableofcontents \mainmatter* \part{使用示例} \include{pages/chapter1} \include{pages/chapter2} \include{pages/chapter3} \include{pages/appendix} \backmatter \printbibliography \listoffigures \listoftables \listoflistings \printindex \end{document}