diff --git a/easyLetter.cls b/easyLetter.cls index 29a5ea5..37db09b 100644 --- a/easyLetter.cls +++ b/easyLetter.cls @@ -4,40 +4,40 @@ \LoadClass[12pt]{lettre} \AtEndPreamble{ - % Encodage + % Encoding \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage{lmodern} - % Langue + % Language \RequirePackage[french]{babel} - % Police + % Font \RequirePackage{fontspec} \setmainfont[Numbers={Monospaced}]{Fira Sans} \setmonofont{Fira Code} - % Retire le trait + % Remove the extra line \makeatletter \newcommand*{\NoRule}{\renewcommand*{\rule@length}{0}} \makeatother \NoRule - % Liens cliquable + metadata + % Clickable links + metadata \RequirePackage[pdfauthor={\@author}, pdftitle={\@title}, pdfsubject={\@subject}, pdfkeywords={\@author, lettre\@keywords}, pdfcreator={LaTeX with 'easyLetter' preset}, - % Cache les liens + % Hide links hidelinks ]{hyperref} } -% Titre du document +% Title \newcommand*{\titre}[1]{\def\@title{#1}} -% Auteur +% Author \newcommand*{\auteur}[1]{\def\@author{#1}} % Opening