-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemplate_note.tex
102 lines (76 loc) · 2.45 KB
/
template_note.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
% !Mode:: "TeX:UTF-8"
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
%basic cover letter template
\documentclass[10pt]{article}
\usepackage[a4paper]{geometry}
\usepackage{fancyhdr}
\usepackage{amssymb, amsmath, graphicx}
\usepackage{lipsum} % for Lorem ipsum text
\usepackage[french]{babel}
\frenchsetup{FrenchFootnotes=false}
\usepackage{fontspec}
\usepackage{parskip}
\usepackage{titlesec}
\titleformat{\section}{\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\bfseries\footnotesize}{\thesection}{1em}{}
\titleformat{\subsubsection}{\footnotesize}{\thesection}{1em}{}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\def\tightlist{}
\usepackage[absolute,overlay]{textpos}
\setmainfont{Arial}
\usepackage[usenames, dvipsnames]{xcolor}
\definecolor{betterblue}{RGB}{0,105,175}
\usepackage[xetex, bookmarks, colorlinks, breaklinks, $if(object)$ pdftitle={$object$} $endif$, $if(author)$ pdfauthor=$author$ $endif$]{hyperref}
\hypersetup{linkcolor=blue, citecolor=blue, filecolor=black, urlcolor=betterblue}
%Margins
\geometry{a4paper,
top=17mm,
bottom=17mm,
left=17mm,
right=17mm,
}
\usepackage[norule, hang,flushmargin]{footmisc}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\setlength\parindent{0pt}
\begin{document}
\let\thefootnote\relax\footnote{\scriptsize\color{Gray} $if(phone)$ Tél : $phone$ $endif$ \\
$if(mail)$ Mél : $mail$ $endif$ \\
$if(address)$ $address$ $endif$}
\begin{textblock*}{6cm}(17mm, 17mm)
\includegraphics[height=20.5mm, trim = 27mm 25mm 30mm 29mm, clip]{Gouvernement_RVB}
\end{textblock*}
\begin{textblock*}{5cm}[1,0](193mm, 23.5mm)
$if(institution)$ \large \raggedleft \textbf{$institution$} $endif$
\end{textblock*}
\begin{textblock*}{5cm}(17mm, 59mm)
$if(sender)$ $sender$ \\ $endif$
$if(ref)$ \footnotesize Réf : $ref$ $endif$
\end{textblock*}
\begin{textblock*}{5cm}[1,0](193mm, 59mm)
\footnotesize \raggedleft $if(city)$ $city$, $endif$ $if(date)$ le $date$ $endif$
\end{textblock*}
\vspace*{50mm}
\begin{center}
$if(doctype)$ \large\textbf{$doctype$} $endif$
\end{center}
\begin{center}
\large à $if(recipient)$ $recipient$ $endif$
\end{center}
\vspace{30mm}
\textbf{Objet : $if(object)$ $object$ $endif$}
$if(attachment)$\textbf{PJ : $attachment$}$endif$
\vspace{5mm}
$body$
\bigskip
$if(author)$
\begin{flushright}
% \includegraphics[width=6cm]{signature}\\[.25cm]
\textbf{$author$}
\end{flushright}
$endif$
\end{document}