\documentclass[zihao = -4,openany]{easybook} \ctexset { style = { color = forest, % cite = authoryear, thmbox = true, % capdash = true, % multoc = true, % withpart = true, % perpart = true, perpage = true }, link = { hyperlink = various, linkcolor = skyblue, linktopage = false }, spread = { linespread = 1.355, tabspread = 1.05, mathspread = 1, capspread = 1, fnspread = 1 }, elfont = { tabfont = \sffamily\small, figfont = \sffamily\small, lstfont = \sffamily\small, fnfont = \rmfamily, marfont = \sffamily\footnotesize }, % secnumdepth = 2, % tocdepth = 2 } \AfterPreamble { \title{\sffamily easybook书籍文档类} \author { 瞿毅\thanks{texeasybook@foxmail.com.} \\ \textcolor[HTML]{c71d23}{\faGit}~\url{https://gitee.com/TeX-doc/easybook}\thanks{Gitee为项目的主要发布地址。} \\ \faGithub~\url{https://github.com/TeX-doc/easybook} \\ \textcolor[HTML]{00c2ff}{\faEdge}~\url{https://latexstudio.net} \\ \url{https://ctan.org/pkg/easybook} } \date{2021/01/08\hskip\ccwd\relax v1.1} } \begin{document} \frontmatter \maketitle \subfile{pages/preface} \tableofcontents \mainmatter \part{使用示例} \subfile{pages/chapter1} \subfile{pages/chapter2} \subfile{pages/chapter3} \subfile{pages/appendix} \backmatter \bibliography{ref/refs} \listoffigures \listoftables \listoflistings \printindex \end{document}