-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv-commands.tex
65 lines (50 loc) · 1.4 KB
/
cv-commands.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
\usepackage[dvipsnames,usenames]{color}
\usepackage{simplemargins}
% mchapman notes that I could use this to change it up a bit and look less like a TeX document
%\usepackage{palatino}
\usepackage{graphicx}
\setleftmargin{2.0cm}
\setrightmargin{2.0cm}
\settopmargin{2.5cm}
\setbottommargin{0cm}
%\renewcommand\familydefault{\sfdefault}
% starting commands
\newfont{\myfonta}{cmr10 at 9pt}
\newfont{\myfontb}{cmr10 at 10pt}
\newfont{\myfontc}{cmr10 at 15pt}
\newfont{\myfontd}{cmr10 at 12pt}
\newcommand{\largeskip}[0]{\vspace{2.5mm}\\}
\newcommand{\shortskip}[0]{\vspace{0.4mm}\\}
% small caps
\newcommand{\smcp}[1]{\sc{\myfonta{#1}}}
\renewcommand{\textsc}[1]{\smcp{#1}}
\newcommand{\header}[2]{
\hspace{0cm}
\begin{tabular}{p{11cm}p{6cm}}
{\raggedright {\headline {#1}}
}
&
\raggedleft{#2}
\end{tabular}}
\newcommand{\blocktitle}[1]{
\parbox{\textwidth}{
\vspace{2mm}
\noindent
\textcolor{MidnightBlue}{
{\myfontd {#1}
\vspace*{1mm}
\hrule}
\vspace*{3mm}
\noindent
} } }
\newcommand{\headline}[1]{{\myfontc{#1}}}
\newcommand{\setmainfont}[0]{\myfontb}
%%%%%%
\newenvironment{resumeblock}[1]{\blocktitle{#1}\begin{tabular}{p{4cm}p{13cm}}}{\end{tabular}}
\newcommand{\resumeitem}[2]{\noindent\raggedright{\textsc{#1}} & #2}
%%%%%%
\newenvironment{interestsblock}[1]{\blocktitle{#1}\begin{tabular}{p{8cm}p{10cm}}}{\end{tabular}}
\newcommand{\interest}[1]{#1}
%%%%%%
\setlength{\parindent}{0mm}
\pagestyle{empty}