forked from DataCorrupted/curriculum-vitae
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.tex
More file actions
54 lines (42 loc) · 1.94 KB
/
header.tex
File metadata and controls
54 lines (42 loc) · 1.94 KB
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
\def\eng{eng}
\def\chn{chn}
\documentclass{resume} % Use the custom resume.cls style
\usepackage[left=0.5in,top=0.3in,right=0.5in,bottom=0.3in]{geometry} % Document margins
\usepackage{comment}
\usepackage{xcolor}
\definecolor{blue}{rgb}{0.22,0.45,0.70}% light blue
\definecolor{linkblue}{rgb}{0,0,1}% link blue
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
pdfborderstyle={/S/U/W 1}
}
\newcommand{\slink}[2]{\href{#1}{\color{linkblue}{\underline{\smash{#2}}}}}
\usepackage{siunitx}
\newcommand{\timeInterval}{}
\ifx\lang\eng
\newcommand{\present}{Present}
\else
\newcommand{\present}{至今}
\fi
\ifx\lang\eng
\usepackage[en-US]{datetime2}
\DTMlangsetup[en-US]{abbr, showdayofmonth=false}
\name{Yuyang (Peter) RONG} % Your name
% \address{425 La Rue Rd, 2110 Watershed Science \\ Davis, CA 95616} % Your address
% \address{123 Pleasant Lane \\ City, State 12345} % Your secondary addess (optional)
\address{+1 530 601 3646 \\ PeterRong96@gmail.com \\ \slink{https://peterrong.netlify.app}{Website} \\ \slink{https://github.com/DataCorrupted}{GitHub}} % Your phone number and email
%\address{Last update: \today}
% If you want to use left/right format.
% \address{(+1)530~$\cdot$~601~$\cdot$~3646, PeterRong96@gmail.com}
% \address{425 La Rue Rd, 2110 Watershed Science Davis, CA 95616} % Your address
% \address{\slink{https://peterrong.netlify.app}{Webpage}, \slink{https://github.com/DataCorrupted}{Github}} % Your phone number and email
\else
\usepackage{datetime2}
\name{荣宇阳} % Your name
\address{La Rue路425号,水文科学楼2110室 \\ 加利福尼亚,戴维斯 95616} % Your address
% \address{123 Pleasant Lane \\ City, State 12345} % Your secondary addess (optional)
\address{(+1)530~$\cdot$~601~$\cdot$~3646 \\ PeterRong96@gmail.com \\ \slink{https://peterrong.netlify.app}{Webpage} \\ \slink{https://github.com/DataCorrupted}{Github}} % Your phone number and email
%\address{最后更新于: \today}
\fi