From 9bb767562bc46a7cd0e742f68406b248ad7e8475 Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Tue, 16 Apr 2024 21:04:08 +0200 Subject: [PATCH] Add changes package --- main.tex | 8 +++++++- thesis.cls | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/main.tex b/main.tex index f87ddd3..5f8aad5 100644 --- a/main.tex +++ b/main.tex @@ -16,6 +16,8 @@ \let\bibcloseparen=\bibclosebracket% } +\usepackage[draft, defaultColor=BlueViolet, xcolor=dvipsnames]{changes} % Track changes + \usepackage{enumitem} % Customise lists \usepackage{etoc} % Local table of contents @@ -36,6 +38,8 @@ uncertainty-mode=separate % Separate uncertainty with +- instead of () } +\usepackage[dvipsnames]{xcolor} % More colors + %% Typography % babel, csquotes, fontenc, microtype, lmodern, textcomp are already loaded by the class \usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative quote [varqu] and l [varl]) @@ -47,7 +51,9 @@ %% Custom commands \input{utils/commands} -\newcommand{\CP}[1]{{\footnote{\textcolor{red}{CP: #1}}}} + +\definechangesauthor[color=RawSienna]{CP} +\newcommand{\CP}[1]{\comment[id=CP]{#1}} \newcommand{\inputchapter}[1]{\clearemptydoublepage\input{#1}} diff --git a/thesis.cls b/thesis.cls index 523f3a9..9a2b6b8 100644 --- a/thesis.cls +++ b/thesis.cls @@ -45,7 +45,6 @@ \RequirePackage{fancyhdr} % Afin de réaliser soi-même les en-têtes et pieds de page, voir chaque début de chapitre. \RequirePackage{pifont} % Pour utiliser des symboles divers. \RequirePackage{color} -\RequirePackage{comment} \RequirePackage{wallpaper} \RequirePackage[inner=30mm,outer=20mm,top=30mm,bottom=20mm]{geometry} %Ou bien : \RequirePackage[top=4 cm, bottom=4 cm, left=3 cm, right=3 cm]{geometry} % On peut modifier ces valeurs pour augmenter ou réduire les marges. Attention aux en-têtes de chapitres.