-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.tex
120 lines (89 loc) · 2.99 KB
/
main.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
\documentclass[a4paper]{article}
\usepackage{xeCJK,fontspec}
\usepackage{fancyhdr,indentfirst}
\usepackage[left=31.8mm,right=31.8mm,top=25.4mm,bottom=25.4mm]{geometry}
\usepackage{graphicx,color,xcolor,xecolor}
\setmainfont[ItalicFont={LXGW WenKai}]{Source Han Serif SC}
\setCJKmainfont[ItalicFont={LXGW WenKai}]{Source Han Serif SC}
\setsansfont[ItalicFont={LXGW WenKai}]{Source Han Sans SC}
\setCJKsansfont[ItalicFont={LXGW WenKai}]{Source Han Sans SC}
\xeCJKDeclareCharClass{CJK}{`①,`②,`③,`④,`⑤,`⑥,`⑦,`⑧,`⑨,`⑩,`⑪,`⑫,`⑬,`⑭,`⑮,`⑯,`⑰,`⑱,`⑲,`⑳,`☆,`★,`○,`●,`□,`■,`♂,`♀,`◇,`⋯}
\usepackage{pdfpages,hyperref}
\usepackage{tabularray,booktabs}
\usepackage[normalem]{ulem}
\usepackage{amsmath,amsfonts}
\hypersetup{
colorlinks,
linkcolor=black,
pdftitle={北邮沙河生存手册R},
pdfauthor={北邮软件工程根据地\ 群}
}
\DefTblrTemplate{caption-tag}{normal}{表}
\DefTblrTemplate{contfoot-text}{normal}{续下页}
\DefTblrTemplate{conthead-text}{normal}{续表}
\SetTblrTemplate{caption-tag}{normal}
\SetTblrTemplate{contfoot-text}{normal}
\SetTblrTemplate{conthead-text}{normal}
\newcommand{\faq}[1]{\subsubsection*{#1}}
\renewcommand{\contentsname}{\centering 目\ 录}
\renewcommand{\baselinestretch}{1.25}
\begin{document}
\pagenumbering{gobble}
\includepdf{cover.pdf}
\begin{titlepage}
\centering
\vspace*{\stretch{1}}
{\Huge\rmfamily\bfseries 北邮沙河生存手册R} \\[6.5ex]
{\Large\sffamily 北邮软件工程根据地\ 群} \\
\vspace{\stretch{3}}
{\large\ttfamily v3.0.1, July 2023}\\[1.5ex]
\vspace{\stretch{0.5}}
\end{titlepage}
\begin{titlepage}
\begin{center}
\section*{声\ 明}
本作品由“北邮软件工程根据地\ 群”的群友集体创作。\\
可以在\href{https://github.com/BUPTSE/welcome}{此}获取源代码。
\medskip
本内容以“CC BY-SA 4.0”许可证共享。要查看该许可证,可访问\\
\href{https://creativecommons.org/licenses/by-sa/4.0/}{https://creativecommons.org/licenses/by-sa/4.0/}
\medskip
受相关政策变化影响,部分内容可能有失准确,请以学校方面要求为准。
\bigskip
\end{center}
% \end{titlepage}
% \begin{titlepage}
% \raggedright
\tableofcontents
\end{titlepage}
\pagenumbering{arabic}
\pagestyle{fancy}
\lhead{\small \leftmark}
\chead{}
\rhead{\small 北邮沙河生存手册R}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\headrulewidth}{0.4pt}
% \renewcommand{\footrulewidth}{0.4pt}
% 新生报到
\include{tex/registration.tex}
% 校区环境
\include{tex/campus.tex}
% 住宿条件
\include{tex/dormitory.tex}
% 生活相关
\include{tex/life.tex}
% 学业相关
\include{tex/academic.tex}
% 军训相关
\include{tex/military-training.tex}
% 内网资源
\include{tex/intranet.tex}
% 学生组织
\include{tex/organization.tex}
% 其他事项
\include{tex/misc.tex}
\pagenumbering{gobble}
\includepdf{back.pdf}
\end{document}