-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicpc_template.tex
61 lines (41 loc) · 1.03 KB
/
icpc_template.tex
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\documentclass[twoside,openright]{book}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xeCJK}
\usepackage{fontspec}
% \usepackage{color}
\usepackage{comp}
%%%%%%%%%%%%%%%%
% set sans font
%%%%%%%%%%%%%%%%
\setCJKsansfont[BoldFont={Source Han Sans}]{Source Han Sans Light}
\setsansfont[BoldFont={Noto Sans}]{Noto Sans Light}
%%%%%%%%%%%%%%%%
% set sans font as the main font
%%%%%%%%%%%%%%%%
\renewcommand{\familydefault}{\sfdefault}
%%%%%%%%%%%%%%%%
% set code font
%%%%%%%%%%%%%%%%
\setCJKmonofont{Noto Sans Mono CJK SC}
\setmonofont{Noto Sans Mono}
\title{fshp971 \\ ICPC常用算法模板}
\headtitle{ICPC Algorithm Template}
\author{fshp971}
\affiliation{}
\date{2018-10}
%%%%%%%%%%%%%%%%
% set cover figures
%%%%%%%%%%%%%%%%
\compuppercoverfig{figures/icpc_logo.png}
\complowercoverfig{figures/pigeon.jpg}
\begin{document}
\makecomptitle
\maketoc
\include{chapters/math}
\include{chapters/string}
\include{chapters/graph}
\include{chapters/data_structure}
\include{chapters/geometry}
\include{chapters/utils}
\end{document}