-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathresume.sty
67 lines (58 loc) · 1.8 KB
/
resume.sty
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
% This work is licensed under the Creative Commons
% Attribution-NonCommercial-ShareAlike License. To view a copy of this license,
% visit http://creativecommons.org/licenses/by-nc-sa/1.0/ or send a letter to
% Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
% This file is adapted from Jesse Luehrs resume at
% https://github.com/doy/resume/blob/master/resume.tex
% <<< packages
\RequirePackage{latexsym,amsmath,amssymb,charter,color,calc,hyperref,titlesec}
\RequirePackage[empty]{fullpage}
% >>>
% <<< dimensions/margins
\raggedbottom
\raggedright
\addtolength{\oddsidemargin}{-0.25in}
\addtolength{\evensidemargin}{-0.25in}
\addtolength{\textwidth}{0.5in}
\addtolength{\topmargin}{-1.2in}
\addtolength{\textheight}{10in}
% >>>
% <<< other definitions
\definecolor{my-gray}{gray}{0.90}
\definecolor{url-blue}{rgb}{0,0.2,0.6}
% >>>
%% Document Title
\let\LaTeXtitle\title
\renewcommand{\title}[1]{
\LaTeXtitle{#1\vspace{-0.6in}}
}
%% Section Headings, etc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\section}[1]{
\@startsection{section}{1}{0pt}{0pt}{0pt}{\normalfont}*{}
{
\large \colorbox{my-gray}{
\begin{minipage}
{\textwidth-0.175in}
{\textbf{#1 \vphantom{p\^{E}}}}
\end{minipage}
}
}
}
\titleformat{\subsection} %command
[block] %shape
{\bfseries} %format
{} %label
{0pt} %sep
{} %before-code
[] %after-code
\titlespacing{\subsection}{0pt}{5pt}{0pt}[{0pt}]
\titleformat{\subsubsection} %command
[block] %shape
{\vspace{-2.4ex}\small\it\raggedleft} %format
{} %label
{0pt} %sep
{} %before-code
[] %after-code
\titlespacing{\subsubsection}{0pt}{0pt}{0pt}[{0pt}]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%