-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate-lettre.tex
executable file
·65 lines (50 loc) · 1.33 KB
/
template-lettre.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
\documentclass[11pt]{lettre}
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\PassOptionsToPackage{hyphens}{url}
\input{colors.tex}
\usepackage[urlbordercolor={1 1 1}, linkbordercolor={1 1 1}, linkcolor=vert1, urlcolor=bleu, colorlinks=true]{hyperref}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage{eurosym}
\usepackage{lipsum}
\makeatletter
\newcommand*{\NoRule}{\renewcommand*{\rule@length}{0}}
% Make links footnotes instead of hotlinks:
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
\makeatother
\address{$for(return-address)$$return-address$$sep$\\$endfor$}
\urlstyle{same} % don't use monospace font for urls
$if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
$if(links-as-notes)$
% Make links footnotes instead of hotlinks:
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
$endif$
\begin{document}
%
\begin{letter}{
$for(address)$$address$$sep$\\$endfor$}
\date{$date$}
\NoRule
\vspace{-100px}
%
\conc{$conc$}
$if(refs)$
\vref{$ref$}
$endif$
\opening{$opening$}
$body$
\closing{$closing$}
$if(encl)$
\encl{$for(encl)$$encl$$sep$\\$endfor$}
$endif$
\begin{flushright}
$if(signature)$
\includegraphics[width=4cm]{$signature$}
$endif$
\end{flushright}
\end{letter}
\end{document}