summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/easybook-demo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/easybook/easybook-demo.tex')
-rw-r--r--macros/latex/contrib/easybook/easybook-demo.tex65
1 files changed, 65 insertions, 0 deletions
diff --git a/macros/latex/contrib/easybook/easybook-demo.tex b/macros/latex/contrib/easybook/easybook-demo.tex
new file mode 100644
index 0000000000..91a0848dd0
--- /dev/null
+++ b/macros/latex/contrib/easybook/easybook-demo.tex
@@ -0,0 +1,65 @@
+\documentclass[zihao = -4,openany]{easybook}
+\ctexset
+ {
+ style =
+ {
+ color = navygreen,
+ % cite = authoryear,
+ thmbox = true,
+ % capdash = true,
+ % multoc = true,
+ % withpart = true,
+ % perpart = true,
+ perpage = true
+ },
+ link =
+ {
+ hyperlink = various,
+ linkcolor = lightblue,
+ linktopage = false
+ },
+ spread =
+ {
+ linespread = 1.355,
+ tabspread = 1.05,
+ mathspread = 1,
+ capspread = 1,
+ fnspread = 1
+ },
+ % secnumdepth = 2,
+ % tocdepth = 2
+ }
+
+\AfterPreamble
+ {
+ \title{\sffamily easybook书籍文档类}
+ \author
+ {
+ Qu Yi\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}
+ }
+ \date{2021/01/03\hskip\ccwd\relax v1.0}
+ }
+
+\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} \ No newline at end of file