forked from yinyanghu/CLRS-Solutions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.tex
34 lines (26 loc) · 999 Bytes
/
config.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
\setCJKmainfont[BoldFont={Adobe Heiti Std}, ItalicFont={Adobe Kaiti Std}]{Adobe Song Std}
\setCJKmonofont{Adobe Fangsong Std}
\setmainfont[Mapping=tex-text]{Liberation Serif}
\setsansfont{Liberation Sans}
\setmonofont{Bitstream Vera Sans Mono}
\punctstyle{kaiming}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{} % clear all fields
\fancyfoot[LF]{Copyright by Yinyanghu}
\fancyfoot[RF]{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0.0pt}
%\setCJKfamilyfont{kai}{KaiTi}
%\setCJKfamilyfont{hei}{SimHei}
%\setCJKmainfont{SimSun}
%\newcommand{\kai}{\CJKfamily{kai}}
%\newcommand{\hei}{\CJKfamily{hei}}
%\newcommand\TT{\rule{0pt}{2.6ex}}
%\newcommand\BB{\rule[-1.2ex]{0pt}{0pt}}
\newcommand\abs[1]{\left\lvert #1 \right\rvert}
\newcommand\floor[1]{\left\lfloor #1 \right\rfloor}
\newcommand\ceil[1]{\left\lceil #1 \right\rceil}
\setlength{\parindent}{2.5em}
\renewcommand{\labelenumi}{\bfseries{\alph{enumi}.}}
\renewcommand{\labelenumii}{\bfseries{\arabic{enumii}.}}