-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypographyLetter.tex
65 lines (51 loc) · 1.45 KB
/
typographyLetter.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
%%%%%%%%%%%%%%% LETTERS %%%%%%%%%%%%%%%%%
% <div class="lettre destinataire">
% **Destinataire**
% Adresse
% XXX Ville
% Par LRAR et par email
% </div>
% <div class="lettre date">
% Paris, le XX xxxxx 2021
% </div>
% <div class="lettre objet">
% </div>
%
% ---
% header-includes:
% \usepackage{varioref}
% \include{typography}
% \include{typographyLetter}
% \newenvironment{CSLReferences}{}{}
% \newfontfamily\signfont[Scale=0.9]{Input Sans Narrow}
% \newfontfamily\quotefont[Scale=1]{Inter Light}
% pandoc-latex-environment:
% lettredest: [lettre, destinataire]
% lettreobj: [lettre, objet]
% lettreannexe: [lettre, annexe]
% signature: [signature]
% bordereau: [bordereau]
% ...
\usepackage{wallpaper}
\newenvironment{lettredest}{
\ThisCenterWallPaper{1}{/home/hugo/Modèles/entetes-cartes/lettre.pdf}
\begin{flushright}\begin{minipage}{6cm}
\vskip 2.5cm
\setlength{\parskip}{1.2em}
\renewcommand\para{}
}
{\vskip 1cm ~\end{minipage}\end{flushright}}
\newenvironment{lettreobj}{\renewcommand\para{}\vskip 1.5cm \bfseries Objet :}{\vskip 1cm}
\newenvironment{signature}{\begin{center}
\renewcommand\para{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\else % if luatex or xetex
% define a signfont in your preamble with
% \newfontfamily\signfont[Options]{Font}
\ifx\signfont\undefined \else \signfont \fi
\fi
}
{\end{center}}
\newenvironment{lettreannexe}{\cleardoublepage
\renewcommand\para{}
}{\cleardoublepage }