-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructure.tex
120 lines (96 loc) · 4.94 KB
/
structure.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
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
% Copyright (c) 2012 Cies Breijs
%
% The MIT License
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
%
% The above copyright notice and this permission notice shall be included in
% all copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.
%%% LOAD AND SETUP PACKAGES
\usepackage[margin=0.75in]{geometry} % Adjusts the margins
\usepackage{emoji}
\usepackage{float}
\usepackage{graphicx}
\usepackage{multicol} % Required for multiple columns of text
\usepackage{mdwlist} % Required to fine tune lists with a inline headings and indented content
\usepackage{relsize} % Required for the \textscale command for custom small caps text
\usepackage{xcolor} % Required for specifying custom colors
\usepackage{tcolorbox} % Used for more customizable color boxes (e.g., round corners)
\usepackage[hidelinks]{hyperref} % Required for customizing links
\usepackage{tgpagella} % Use the TeX Gyre Pagella font throughout the document
\usepackage[T1]{fontenc}
\usepackage{microtype} % Slightly tweaks character and word spacings for better typography
\usepackage{pagenote}
\usepackage[skip,indent]{parskip}
\usepackage{xhfill} % For horizontal fills with lines
\usepackage{xargs}
%\pagestyle{} % Stop page numbering
\newenvironment{customitemize}
{
\begin{itemize}{}{
\setlength{\labelwidth}{3em}
\setlength{\labelsep}{0em}
\setlength{\parsep}{0.1em}
\setlength{\itemsep}{0.1em}
\setlength{\leftmargin}{1.5cm}
\setlength{\rightmargin}{2cm}
\setlength{\itemindent}{0em}
\let\makelabel=\makeboxlabel
}}
{\end{itemize}}
\newcommand{\breakvspace}[1]{\pagebreak[2]\vspace{#1}\pagebreak[2]} % A custom vspace command with custom before and after spacing lengths
\newcommand{\nobreakvspace}[1]{\nopagebreak[4]\vspace{#1}\nopagebreak[4]} % A custom vspace command with custom before and after spacing lengths that do not break the page
\newcommand{\spacedhrule}[2]{\breakvspace{#1}\hrule\nobreakvspace{#2}} % Defines a horizontal line with some vertical space before and after it
\newcommand*\maintitle[4]{\noindent{\LARGE\textbf{#1}}\\\emph{#2}\\{#3}\\{#4}\vspace{0.3em}}
\newcommand*\roottitle[1]{\section*{#1}\vspace{-0.3em}\nopagebreak[4]}
\newcommand*\sectionrule{\nopagebreak[4]\spacedhrule{0.5em}{-0.5em}\nopagebreak[4]}
\newlength{\newparindent} % It seems not to work when simply using \parindent...
\addtolength{\newparindent}{\parindent}
\newlength{\doubleparindent} % A double \parindent...
\addtolength{\doubleparindent}{\parindent}
\renewcommand\labelitemiv{$+$}
\newcommand{\companytitle}[2]{\textscale{1.1}{\textbf{#1}}\xrfill[.5ex]{.4pt}[lightgray]{#2}}
\newcommand{\jobtitle}[2]{\textbf{#1}\hfill\emph{#2}}
\newcommand{\stackoftech}[1]{\emph{#1}}
\newcommand{\timeinterval}[2]{\textit{#1} -- \textit{#2}}
% This box definition is taken from the `tcolorbox` docs at:
% https://eu.mirrors.cicku.me/ctan/macros/latex/contrib/tcolorbox/tcolorbox.pdf
\newtcbox{\repobox}[1][gray]{on line,
arc=3pt,colback=#1!10!white,colframe=#1!90!black, coltext=#1,
before upper={\rule[-3pt]{0pt}{10pt}},boxrule=0.5pt,
boxsep=0pt,left=3pt,right=3pt,top=0pt,bottom=0pt
}
\newcommand{\repo}[1]{\textscale{0.85}{\hspace{2pt}\repobox[gray]{\texttt{#1}}}}
\newcommand{\repowithlink}[2]{\href{#1}{\repo{#2}}}
\newcommand{\githubmark}{\raisebox{-0.15em}{\includegraphics[height=1em]{img/github-mark.eps}}}
\newcommand{\skypeicon}{\raisebox{-0.2em}{\includegraphics[height=1em]{img/skype-icon.eps}}}
\newcommand{\devbadge}{\raisebox{-0.2em}{\includegraphics[height=1em]{img/dev-badge.eps}}}
\newcommand{\linkedin}{\raisebox{-0.2em}{\includegraphics[height=1em]{img/LI-In-Bug.png}}}
\newcommand{\buildno}{
% Command implementation is taken from `mVersion` package documentation.
%
\def\versionfilename{version.dat}%
\IfFileExists{\versionfilename}{}{
\newwrite\outfile
\immediate\openout\outfile=\versionfilename
\immediate\write\outfile{0}
\immediate\closeout\outfile
}%
\newread\versionfile
\openin\versionfile=\versionfilename
\read\versionfile to \versionline
\closein\versionfile\versionline%
}