-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv.sty
65 lines (43 loc) · 1.46 KB
/
cv.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
\ProvidesPackage{cv}
% Font
\usepackage{fontspec} % Fontspec requires rendering with xelatex.
%\usepackage{xltxtra} % no help w en dash
%\usepackage{xunicode} % no help w en dash
\setmainfont{Times New Roman}
% Page and paragraph setup
\usepackage[top=1in, bottom=2in, left=1in, right=1in]{geometry}
% Margins VERY ad hoc. 1.25 was so we can outdent the SECTION heading.
% 2in is just because it looks good. I suspect fancyhdr is doing
% something weird to page geometry.
%\pagestyle{empty}
%\linespread{0.95}
\special{papersize=8.5in,11in}
\setlength{\pdfpageheight}{\paperheight}
\setlength{\pdfpagewidth}{\paperwidth}
%\raggedright
\setlength{\parskip}{11pt plus 1pt minus 1pt}
\setlength{\parindent}{0pt}
% Commands
\newcommand{\ndash}{–}
\newcommand{\mdash}{—}
% Section and subsection styles
\usepackage[compact]{titlesec}
\titlespacing{\section}{-0.25in}{0pt}{-10pt}
\titlespacing{\subsection}{-0.25in}{0pt}{-10pt}
% don't know why -10pt after \section [used to] look good, whereas
% it is/was -12 for subsection.
\titleformat*{\section}{\large\itshape\bfseries}
\titleformat*{\subsection}{\normalsize\itshape\bfseries}
% Headers
\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancy}
\lhead{}
\chead{\Large\bfseries\itshape Andrew J. Zimolzak\\ \large{}Curriculum Vitae, \today}
\rhead{}
\lfoot{}
\cfoot{\itshape\thepage/\pageref{LastPage}}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
%\renewcommand{\footrulewidth}{0.4pt}
\setlength{\headheight}{0.7in}