-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.tex
117 lines (93 loc) · 2.78 KB
/
setup.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
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
% possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
\documentclass[10pt,letterpaper,sans]{moderncv}
\ifx\mystyle\undefined
\def\mystyle{banking}
\fi
\ifx\mycolor\undefined
\def\mycolor{blue}
\fi
% modern themes
% style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvstyle{\mystyle}
% color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\moderncvcolor{\mycolor}
\nopagenumbers{}
% character encoding
\usepackage[utf8]{inputenc} % if you are not using xelatex or lualatex, replace by the encoding you are using
% adjust the page margins
\usepackage[margin=0.3in]{geometry}
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
%\setlength{\makecvtitlenamewidth}{10cm} % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...
\ifdefined\bibliocommand
\usepackage[
backend=biber,
url=false,
doi=false,
isbn=false,
safeinputenc=true
]{biblatex}
\AtEveryBibitem{\clearfield{issn}}
\renewcommand{\bibliography}[1]{\addbibresource{#1.bib}}
\bibliocommand
\renewcommand*{\bibfont}{\footnotesize}
\newcommand{\citep}[1]{\fullcite{#1}}
\fi
\newlength\mylen
\addtolength\mylen{\linewidth}
\addtolength\mylen{-\hintscolumnwidth}
\addtolength\mylen{-\separatorcolumnwidth}
\addtolength\mylen{-2mm}
\newcommand\mybitem[1]{
\textbullet \,#1\\}
\ifdefined\mypackages
\input{\mypackages}
\fi
\newcommand{\splitstring}[1]{\expandafter\mysplit#1\@nil}
\def\mysplit#1 #2\@nil{\name{#1}{#2}}
\splitstring{\myauthor}
\ifdefined\mytitle
\title{\mytitle}
\else
\mytitle{R\'{e}sum\'{e}}
\fi
\ifdefined\myaddress
\address{\myaddress}
\fi
\ifdefined\mymobile
\phone[mobile]{\mymobile}
\fi
\ifdefined\myfixed
\phone[fixed]{\myfixed}
\fi
\ifdefined\myfax
\phone[fax]{\myfax}
\fi
\ifdefined\myemail
\email{\myemail}
\fi
\ifdefined\mylinkedin
\social[linkedin]{\mylinkedin}
\fi
\ifdefined\mytwitter
\social[twitter]{\mytwitter}
\fi
\ifdefined\mygithub
\social[github]{\mygithub}
\fi
\ifdefined\myextrainfo
\extrainfo{\myextrainfo}
\fi
\ifdefined\myphoto
\photo[64pt][0.4pt]{\myphoto}
\fi
\begin{document}
\makecvtitle
\ifdefined\myabstract
\small{\input{\myabstract}}
\fi