cv/ada-core-cover-letter/main.tex

87 lines
1.6 KiB
TeX

\documentclass[12pt]{letter}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[empty]{fullpage}
\usepackage[hidelinks]{hyperref}
\usepackage{graphicx}
\usepackage{fontawesome}
\usepackage{eso-pic}
\usepackage[bitstream-charter]{mathdesign}
\usepackage{ifthen}
\usepackage{geometry}
\geometry{
paper=a4paper,
top=1cm,
bottom=1.25cm,
left=2cm,
right=2cm,
headheight=0.75cm, % Header height
footskip=1cm, % Space from the bottom margin to the baseline of the footer
headsep=0.5cm, % Space from the top margin to the baseline of the header
% showframe, % Uncomment to show how the type block is set on the page
}
\newcommand{\shadedheight}{3.5cm}
\definecolor{TopBackground}{RGB}{225,225,225}
\definecolor{Accent}{HTML}{367DA2}
\input{info.tex}
\begin{document}
\newcommand{\emailaddr}[1]{\href{mailto:#1}{#1}}
\newcommand{\tel}[1]{\href{tel:#1}{#1}}
% Command to vertically centre adjacent content
\newcommand{\vcenteredhbox}[1]{% The only parameter is for the content to centre
\begingroup%
\setbox0=\hbox{#1}\parbox{\wd0}{\box0}%
\endgroup%
}
\newcommand{\icon}[3]{%
\vcenteredhbox{\colorbox{Accent}{\makebox(#2, #2){\textcolor{white}{\large\csname fa#1\endcsname}}}}% Icon and box
\hspace{0.2cm}% Whitespace
\vcenteredhbox{#3}% Text
}
%%%
% Header
%%%
\input{header.tex}
%%%
% Opening block
%%%
% Date
\today \\
% Address
\vspace{-0.1in}\recipient\\\company\\
\ifthenelse{\boolean{include-company-address}}
{\companyaddress\\}
{}
% Greeting
\vspace{-0.1in}
\greeting\ \recipient, \\
%%%
% Body
%%%
\vspace{-0.1in}\setlength\parindent{24pt}
\noindent\input{body.tex}
%%%
% Closer
%%%
\input{closer.tex}
\end{document}