-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmisc.tex
More file actions
88 lines (71 loc) · 2.46 KB
/
misc.tex
File metadata and controls
88 lines (71 loc) · 2.46 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
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
% This file defines some set-up and generic functions for a resume.
% It expects some packages to have already been imported.
% Adapted from a template obtained from
% http://www.cv-templates.info/2009/03/professional-cv-latex/
%%%%% Setup %%%%%
% Set-up xetex font options.
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
% Format \section titles - reduce vertical spacing below, and underline.
\titlespacing{\section}{0pt}{-2pt}{0pt}
\titleformat{\section}{\Large\scshape\raggedright\sffamily}{}{0em}{}[\titlerule]
% Setup the hyperref package.
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks, breaklinks, urlcolor=linkcolour, linkcolor=linkcolour}
% Fonts
% \setromanfont [Ligatures={Common}, BoldFont={Linux Libertine O Bold}, ItalicFont={Linux Libertine O Italic}]{Linux Libertine O}
% \setsansfont [Ligatures={Common}, BoldFont={GeosansLight}, ItalicFont={GeosansLight}]{GeosansLight}
% \setmonofont{GeosansLight}
%%%%% Commands %%%%%
% University degree command.
\newcommand{\degree}[4]{\textsc{#1} & \textbf{#2} & \textsc{#3} & \textbf{#4}\\}
% Work experience command.
\newcommand{\experience}[5]{
\textsc{#1} & \textbf{#2} #3 \textsc{#4}\\
\nopagebreak &\multicolumn{2}{p{5.5in}}{\small{#5}}\\
\nopagebreak \multicolumn{3}{c}{} \\ [-1ex]
}
% Skill command, to highlight relevant keywords.
\newcommand{\skill}{\textbf}
% Skills/languages command - just a wrapper around \item.
\newcommand{\skills}[2]{
\item #2 #1
}
% Fancy fading bullet points to indicate skill level.
\definecolor{lightbullet}{HTML}{707070}
\definecolor{mediumbullet}{HTML}{353535}
\definecolor{darkbullet}{HTML}{000000}
\newcommand{\oneskill}{%
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{darkbullet}{\symbol{"2022}}
}
\newcommand{\twoskill}{%
\textcolor{white}{\symbol{"2022}}
\textcolor{mediumbullet}{\symbol{"2022}}
\textcolor{darkbullet}{\symbol{"2022}}
}
\newcommand{\threeskill}{%
\textcolor{lightbullet}{\symbol{"2022}}
\textcolor{mediumbullet}{\symbol{"2022}}
\textcolor{darkbullet}{\symbol{"2022}}
}
% Language macros.
\newcommand{\lang}[2]{\expandafter\def\csname #1\endcsname{\skill{#2}\xspace}}
\lang{asthree}{AS3}
\lang{bash}{Bash}
\lang{cpp}{C++}
\lang{ccpp}{C/C++}
\lang{git}{git}
\lang{html}{HTML/CSS}
\lang{java}{Java}
\lang{jni}{JNI}
\lang{js}{JavaScript}
\lang{jsp}{JSP}
\lang{linux}{Linux}
\lang{matlab}{MATLAB}
\lang{php}{PHP}
\lang{python}{Python}
\lang{ruby}{Ruby}
\lang{scala}{Scala}
\lang{svn}{SVN}
\lang{swing}{Swing}