From 5f5c38d5f574686aaa7a9789bc74e90370758656 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 26 Aug 2024 12:50:58 +0200 Subject: [PATCH] remove \ul command as its out of scope for this project --- README.md | 1 - modele/rapport.tex | 3 ++- rapstage.cls | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 077f46e..1cd3298 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ Classe [`rapstage`](./rapstage.cls) pour faire un rapport de stage à Paris Cit | `\reference` | Affiche la bibliographie | | `\reference*{préface}` | Affiche la bibliographie **avec une préface** | | `\annexe` | Commence l'annexe | -| `\ul{texte}` | Souligne un mot | > \* Commande possédant une valeur par défaut. diff --git a/modele/rapport.tex b/modele/rapport.tex index d4c38ec..ca121d2 100644 --- a/modele/rapport.tex +++ b/modele/rapport.tex @@ -17,7 +17,8 @@ \nocite{*} % Commande pour ajouter un lien -\newcommand\link[1]{\href{#1}{\texttt{\textcolor{blue}{\ul{#1}}}}} + +\newcommand\link[1]{\href{#1}{\texttt{\textcolor{blue}{\setlength{\ULdepth}{2pt}\uline{#1}}}}} \begin{document} \maketitle diff --git a/rapstage.cls b/rapstage.cls index ae38ddf..d276ceb 100644 --- a/rapstage.cls +++ b/rapstage.cls @@ -167,7 +167,6 @@ % Souligne mieux les mots \RequirePackage{ulem} -\newcommand\ul[1]{\uline{\smash{#1}}} \renewcommand\maketitle{ \begin{titlepage}