-
Notifications
You must be signed in to change notification settings - Fork 0
/
cl.tex
79 lines (58 loc) · 2.01 KB
/
cl.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
\documentclass[11pt,a4paper, final]{moderncv}
\usepackage{color}
\usepackage{fontspec}
\moderncvtheme{classic}
% the (custom) color which will be used in the cv
\definecolor{color1}{RGB}{1, 52, 64}
% scale the page layout
\usepackage[scale=0.75]{geometry}
% change width of the column with the dates
\setlength{\hintscolumnwidth}{2.5cm}
% required when changing page layout lengths
\AtBeginDocument{\recomputelengths}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage[utf8]{inputenc}
% insert dummy text (used in the letter)
\usepackage{lipsum}
% used for \begin{comment}...\end{comment}
\usepackage{verbatim}
% Minion Pro is used as the main font, if you don't
% have it installed uncomment this line or choose another pretty font
%\setmainfont{Minion Pro}
% the moderncv package will populate a lot of the pdf meta-information.
% this can be used to change some of these infos.
\AfterPreamble{\hypersetup{
pdfcreator={XeLaTeX},
pdftitle={Cover Letter of Alexey Rodiontsev}
}}
% for the icons (telephone, globe). i found the icons provided by the
% fontawesome package prettier than the standard moderncv icons.
\usepackage{fontawesome}
% personal data
\firstname{Alexey}
\familyname{Rodiontsev}
\address{ADDRESS}{ZIP_CODE, CITY, The Netherlands}
% i use the extrainfo command for additional information, since i
% want to use custom icons and have finer control over spacing.
\extrainfo{
\faPhone\hspace{0.3em}PHONE_NUMBER\\
{\small\faEnvelope}\hspace{0.3em}[email protected]\\
\faGlobe\hspace{0.3em}http://mylifeecho.com
}
% picture, resized to a height of 84pt
\photo[84pt]{picture/photo}
% spacing before (sub)sections
\newcommand{\spacesection}{\vspace{0.4cm}}
\newcommand{\spacesubsection}{\vspace{0.2cm}}
%===========================
\begin{document}
\recipient{Human Resources}{Some Company Ltd.\\Some Street 123\\12345 Some City}
\date{\today}
\opening{Dear Sir or Madam,}
\closing{Sincerely yours,}
\enclosure[Attached]{curriculum vit\ae{}}
\makelettertitle
\lipsum[1-3]
\makeletterclosing
\end{document}