-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.tex
44 lines (33 loc) · 1.15 KB
/
common.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
% Fonts
\usepackage{fontspec}
% https://tex.stackexchange.com/a/209247/16670
\defaultfontfeatures{Ligatures={Common,TeX}}
% Style
\moderncvcolor{burgundy}
\moderncvstyle{custom}
% Adjust the page margins
\usepackage[scale=0.75]{geometry}
% https://tex.stackexchange.com/a/114447/16670
\setlength{\hintscolumnwidth}{20ex} % width of left column
% For \xspace: checks for space after command
\usepackage{xspace}
% For \relsize
\usepackage{relsize}
% For ordinal numbers, use \nth{1} for 1st
\usepackage[super]{nth}
% For options to \begin{itemize} such as leftmargin and nosep
% - https://tex.stackexchange.com/a/91128/16670
\usepackage{enumitem}
% Commands
% C++:
% - https://tex.stackexchange.com/q/4302/16670
% - Adjust this for the main font used.
\newcommand\cpplang{C\nolinebreak[4]\hspace{-0.05em}\raisebox{0.3ex}{\relsize{-1}{\textbf{++}}}}
%-------------------------------------------------------------------------------
% Personal information
\firstname{Sean}
\familyname{Leather}
\email{[email protected]}
\photo[64pt][0.4pt]{photo} % height and frame thickness
% My current professional title
\title{Software Engineer, Specialist in Type-Safe Languages}