From e3cc0120f17452a7f210b821ac22edd8282724c0 Mon Sep 17 00:00:00 2001 From: Sarah Gosselin Date: Wed, 4 Sep 2024 15:50:36 -0400 Subject: Work in progress --- document.sty | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'document.sty') diff --git a/document.sty b/document.sty index 29d5ac8..f4ea5c2 100644 --- a/document.sty +++ b/document.sty @@ -9,14 +9,34 @@ \RequirePackage[top=2.5cm,bottom=2.5cm,inner=3cm,outer=2.5cm]{geometry} \RequirePackage{fancyhdr} % Footer customisation \RequirePackage{booktabs} % Elegant tables -\RequirePackage{float} % Accurate positionning of figures +\RequirePackage{colortbl} % Allow the use of colors in tables +\RequirePackage{float} % Accurate positionning of figures and tables \usepackage{titlesec} % Font sizes for sections/subsection \RequirePackage{setspace} % Line spacing -\RequirePackage{pdfpages} % Allow to add pdf docs to your latex file +\RequirePackage{pdfpages} % Allow to add pdf documents to your latex file +\RequirePackage{hyperref} % Allow references and hyperlinks % Allows the creations of appendices \RequirePackage[title,toc,titletoc,page]{appendix} +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% +% Headers/Footers % +%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% + +%\let\oldhref\href +%\renewcommand{\href}[2]{\oldhref{#1}{\bfseries#2}} + + +\hypersetup{ + colorlinks=true, + linkcolor=cyan, + filecolor=magenta, + urlcolor=gray, + pdfpagemode=FullScreen, + } + + + %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% % Headers/Footers % %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% @@ -50,6 +70,7 @@ % Figures/Tables % %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% + % Count within sections (third table of section 5 would be Table 5.3) \counterwithin{figure}{section} \counterwithin{table}{section} -- cgit v1.2.3