From 1347ffff54e109acd0de06f6edbf0dbfb346ece7 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 31 Aug 2021 14:10:58 +0200 Subject: [PATCH] Add the myul command to underline something properly --- formationTitle.sty | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/formationTitle.sty b/formationTitle.sty index b062c04..b5323ab 100644 --- a/formationTitle.sty +++ b/formationTitle.sty @@ -152,6 +152,17 @@ not set, please fix this.} \item Objective 3 \end{enumerate}} +\usepackage{contour} +\usepackage{ulem} + +\renewcommand{\ULdepth}{1.8pt} +\contourlength{0.8pt} + +\newcommand{\myul}[1]{% + \uline{\phantom{#1}}% + \llap{\contour{white}{#1}}% +} + %%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE \renewcommand*{\maketitle}{% \begin{titlepage}