2023-03-23 09:55:32 +01:00
|
|
|
\documentclass[12pt]{lettre}
|
|
|
|
|
|
|
|
% Encodage
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage{lmodern}
|
|
|
|
|
|
|
|
% Langue
|
|
|
|
\usepackage[french]{babel}
|
|
|
|
|
2023-03-25 02:56:15 +01:00
|
|
|
% Police
|
|
|
|
\usepackage{fontspec}
|
2023-03-25 03:03:22 +01:00
|
|
|
\setmainfont[Numbers={Monospaced}]{Fira Sans}
|
|
|
|
\setmonofont{Fira Code}
|
2023-03-25 02:56:15 +01:00
|
|
|
|
2023-03-25 03:05:16 +01:00
|
|
|
% Fix hauteur
|
|
|
|
\renewcommand{\paperheight}{11in}
|
|
|
|
|
2023-03-23 09:55:32 +01:00
|
|
|
% Retire le trait
|
|
|
|
\makeatletter
|
|
|
|
\newcommand*{\NoRule}{\renewcommand*{\rule@length}{0}}
|
|
|
|
\makeatother
|
|
|
|
\NoRule
|
|
|
|
|
2023-03-23 10:43:21 +01:00
|
|
|
% Désactive les césures des mots
|
|
|
|
\usepackage[none]{hyphenat}
|
|
|
|
|
2023-03-23 09:55:32 +01:00
|
|
|
% Titre du document
|
|
|
|
\newcommand{\documentTitle}{Lettre}
|
|
|
|
|
2023-03-24 01:34:25 +01:00
|
|
|
% Auteur
|
|
|
|
\newcommand{\documentAuthor}{Prénom Nom}
|
|
|
|
|
2023-03-23 09:55:32 +01:00
|
|
|
% Liens cliquable + metadata
|
2023-03-24 01:34:25 +01:00
|
|
|
\usepackage[pdfauthor={\documentAuthor},
|
2023-03-23 09:55:32 +01:00
|
|
|
pdftitle={\documentTitle},
|
|
|
|
pdfsubject={Lettre},
|
2023-03-24 01:34:25 +01:00
|
|
|
pdfkeywords={\documentAuthor, lettre},
|
2023-03-25 02:48:28 +01:00
|
|
|
pdfcreator={LaTeX with 'easyLetter' preset},
|
|
|
|
% Cache les liens
|
|
|
|
hidelinks
|
2023-03-24 01:34:25 +01:00
|
|
|
]{hyperref}
|
2023-03-23 09:55:32 +01:00
|
|
|
|
|
|
|
% Import de lettre-expediteur.cfg (Expéditeur)
|
|
|
|
\institut{../expediteur}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
\begin{letter}{
|
|
|
|
% Destinataire
|
|
|
|
NomDestinataire \\
|
|
|
|
AdresseDestinataire \\
|
|
|
|
\textsc{VilleDestinataire}
|
|
|
|
}
|
|
|
|
\conc{\documentTitle}
|
|
|
|
\opening{Madame, Monsieur}
|
|
|
|
|
|
|
|
|
|
|
|
Blabla\dots
|
|
|
|
|
|
|
|
|
|
|
|
\closing{Je vous prie de croire, Madame, Monsieur, en l'expression de
|
|
|
|
mes salutations distinguées.}
|
|
|
|
\end{letter}
|
|
|
|
\end{document}
|