-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
47 lines (38 loc) · 1.56 KB
/
preamble.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
\usepackage{marvosym} % Allows the use of symbols
\usepackage{parskip} % Spacing adjustments
% Main font
\usepackage{fontspec}
% \setmainfont{Raleway}[
% Path = ./fonts/, % Adjust the path to match where you've placed the fonts
% Extension = .ttf, % or .otf, depending on the font files you have
% UprightFont = *-Regular,
% BoldFont = *-Bold,
% ItalicFont = *-Italic,
% BoldItalicFont = *-BoldItalic
% ]
% \setsansfont{Raleway}[
% Path = ./fonts/, % Adjust the path to match where you've placed the fonts
% Extension = .ttf, % or .otf, depending on the font files you have
% UprightFont = *-Regular,
% BoldFont = *-Bold,
% ItalicFont = *-Italic,
% BoldItalicFont = *-BoldItalic
% ]
% % Chinese font
% \usepackage{xeCJK} % For Chinese text
% \setCJKmainfont[Path = ./fonts/]{kaiti.ttf}
% Header and footer
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[L]{\textcolor{gray}{\footnotesize\emph{Updated \today}}}
% \fancyfoot[R]{\textcolor{gray}{\footnotesize\emph{Available at \href{https://github.com/jhelvy/cv}{https://github.com/jhelvy/cv}}}}
\fancyfoot[R]{\textcolor{gray}{\footnotesize\emph{Page \thepage\ of \pageref{LastPage}}}}
\renewcommand{\headrulewidth}{0pt} % Removes the header line
\renewcommand{\footrulewidth}{0pt} % Removes the footer line
\usepackage{lastpage} % Required for \pageref{LastPage}
% Links
\usepackage{hyperref}
\usepackage{color}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}