-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmystyle.tex
More file actions
126 lines (117 loc) · 4.69 KB
/
Copy pathmystyle.tex
File metadata and controls
126 lines (117 loc) · 4.69 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
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
121
122
123
124
125
126
\usepackage{fullpage}
\usepackage[sfdefault,scaled=.95]{FiraSans}
\usepackage[expansion=alltext]{microtype}
\usepackage{fontawesome}
\usepackage{calc}
\usepackage[explicit]{titlesec}
\usepackage{ifthen}
\usepackage{fancyhdr}
\usepackage{color}
\definecolor{mylinkcolor}{rgb}{0,0,0.4}
\definecolor{heading}{rgb}{0.91,0.91,0.91}
\definecolor{brbg71}{rgb}{0.55,0.32,0.04}
\definecolor{brbg72}{rgb}{0.85,0.70,0.40}
\definecolor{brbg73}{rgb}{0.96,0.91,0.76}
\definecolor{brbg76}{rgb}{0.35,0.71,0.67}
\definecolor{brbg77}{rgb}{0.00,0.40,0.37}
\usepackage[pdfstartview={FitH},
colorlinks=true,
linkcolor=brbg77,
urlcolor=brbg77,
anchorcolor=brbg77]{hyperref}
\addtolength{\textheight}{\footskip}
\setlength{\footskip}{12pt}
\setlength{\voffset}{-10pt}
\setlength{\headheight}{25pt}
\setlength{\headsep}{5pt}
\setlength{\parindent}{0pt}
\newlength{\mylcolwidth}
\settowidth{\mylcolwidth}{\Large \sffamily \bfseries Experience}
\addtolength{\mylcolwidth}{9pt}
\newcommand{\latex}{{\fontfamily{lmss}\selectfont\LaTeX}}
\newcommand{\positiontitle}{}
\newcommand{\DUroledescription}[1]{\phantomsection%
\renewcommand{\positiontitle}{#1}{{\sffamily \bfseries #1}} \\ }
\newcommand{\DUroleorganization}[1]{%
\addcontentsline{toc}{subsection}{\positiontitle, #1}{\firasemibold \textsf{#1}}}
\newcommand{\DUrolelocation}[1]{~\hfill\textsf{#1} }
\newcommand{\DUroletech}[1]{%
~\hfill\textsf{\textcolor[rgb]{.55,.55,.55}{#1}} }
\makeatletter
% save important information for future use
\newcommand\infolinks[0]{}
\newcommand{\DUroleemail}[1]{\newcommand{\@infoemail}{\href{mailto:#1}{#1}}}%
\newcommand{\DUrolegithub}[1]{\g@addto@macro\infolinks{%
\hspace{.7em}\href{#1}{\faGithub}}}%
\newcommand{\DUrolestackoverflow}[1]{\g@addto@macro\infolinks{%
\hspace{.7em}\href{#1}{\faStackOverflow}}}%
\newcommand{\DUrolelinkedin}[1]{\g@addto@macro\infolinks{%
\hspace{.7em}\href{#1}{\faLinkedin}}}%
\newcommand{\DUrolephone}[1]{\newcommand{\@infophone}{#1}}%
\newcommand{\DUrolestreet}[1]{\newcommand{\@infostreet}{#1}}%
\newcommand{\DUrolecity}[1]{\newcommand{\@infocity}{#1}}%
\makeatother
\newcounter{descnesting}
\renewenvironment{description}
{\pagebreak[1]\begin{list}{}%
{ \stepcounter{descnesting}%
\ifthenelse{\value{descnesting} > 1}%
{\renewcommand{\makelabel}[1]{##1 }%
\settowidth{\labelwidth}{Technology: }
\setlength{\topsep}{-.2em}%
\setlength{\partopsep}{0pt}%
\setlength{\itemindent}{0pt}%
\setlength{\leftmargin}{\labelwidth + \labelsep - 2.2em}%
}%
{\renewcommand{\makelabel}[1]{\raisebox{0pt}[\baselineskip][0pt]%
{\parbox[t]{\mylcolwidth - 10pt}{\raggedleft\sffamily \bfseries ##1}\hfil}}%
\setlength{\labelwidth}{\mylcolwidth}%
\setlength{\leftmargin}{\labelwidth+\labelsep}%
}%
}%
}%
{\end{list}\addtocounter{descnesting}{-1}}
\newlength{\myblistmargin}
\newlength{\myblisttopsep}
\newlength{\myblistitemsepadd}
\renewenvironment{itemize}
{ \ifthenelse{\value{descnesting} < 1}%
{\setlength{\myblistitemsepadd}{-.4em}%
\setlength{\myblisttopsep}{.5em}}%
{\setlength{\myblistmargin}{0em}%
\setlength{\myblistitemsepadd}{0em}%
\setlength{\myblisttopsep}{0em}}%
\begin{list}{\labelitemi}%
{\setlength{\itemindent}{0pt}%
\setlength{\topsep}{\myblisttopsep}%
\setlength{\partopsep}{0pt}%
\addtolength{\itemsep}{\myblistitemsepadd}%
\settowidth{\labelwidth}{\labelitemi}%
\setlength{\leftmargin}{\myblistmargin + \labelwidth + \labelsep}%
}%
}%
{\end{list}}
\makeatletter
% we'll use fancyheadings to make title
% don't empty out \@title, just request alternate header
\def\maketitle{\thispagestyle{plain}}%
\titleformat{\section}[leftmargin]
{\fontsize{50}{50} \sffamily \firaheavy }
{}
{0pt}
{\raisebox{-0.365em}[0em][0em]{\color{heading} #1}}
\titlespacing{\section}{0pt}{-0.7em}{0pt}
\newcommand{\infosep}{\makebox[2em][c]{$\bullet$}}
\newcommand{\MYNAME}{{\Huge \sffamily \bfseries \color{brbg72}\@title}}
\newcommand{\MyName}{{\Large \sffamily \bfseries \color{brbg72}\@title}}
\newcommand{\MYINFO}{{\sffamily \@infoemail\Large \infolinks}}
\newcommand{\MyInfo}{}
\makeatother
\lhead[\fancyplain{\MYNAME}{\MyName}]{\fancyplain{\MYNAME}{\MyName}}
\rhead[\fancyplain{\MYINFO}{\MyInfo}]{\fancyplain{\MYINFO}{\MyInfo}}
\cfoot[]{}
\renewcommand{\plainheadrulewidth}{0.5pt}
\renewcommand{\headrule}{\vspace{-7pt}\vbox to 0pt{%
\hbox to\headwidth{%
\color{brbg72}\leaders\hrule height \plainheadrulewidth\hfill}}}
\pagestyle{fancyplain}