forked from DengWangBao/Leetcode-Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathleetcode-graph.tex
More file actions
44 lines (30 loc) · 835 Bytes
/
leetcode-graph.tex
File metadata and controls
44 lines (30 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\documentclass[10pt,adobefonts,fancyhdr,hyperref,UTF8]{ctexbook}
\usepackage{multirow}
% for \soul 删除线
\usepackage{ulem}
% 表头斜线
\usepackage{diagbox}
\makeatletter
\input{format.cls}
\makeatother
\begin{document}
\sloppy
\newcommand\BookTitle{LeetCode题解}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RE]{\normalfont\small\rmfamily\nouppercase{\leftmark}}
\fancyhead[LO]{\normalfont\small\rmfamily\nouppercase{\rightmark}}
\fancyhead[LE,RO]{\thepage}
%\fancyfoot[LE,LO]{\small\normalfont\youyuan\BookTitle}
\makeatletter
\@openrightfalse
\makeatother
\frontmatter % 开始前言目录,页码用罗马数字
\include{title}
\tableofcontents
\mainmatter % 开始正文,页码用阿拉伯数字
\graphicspath{{images/}}
\include{Graph}
\appendix % 开始附录,章用字母编号
\printindex
\end{document}