summaryrefslogtreecommitdiff
path: root/document.sty
diff options
context:
space:
mode:
authorSarah Gosselin <sarah@gosselin.xyz>2024-09-04 15:50:36 -0400
committerSarah Gosselin <sarah@gosselin.xyz>2024-09-04 15:50:36 -0400
commite3cc0120f17452a7f210b821ac22edd8282724c0 (patch)
treeac2a5e4361dac705baccc2a1f90de1ea95ce6d63 /document.sty
parenteb413ab8cce4af5f9928046eaee1d1a8c948186d (diff)
Work in progress
Diffstat (limited to 'document.sty')
-rw-r--r--document.sty25
1 files changed, 23 insertions, 2 deletions
diff --git a/document.sty b/document.sty
index 29d5ac8..f4ea5c2 100644
--- a/document.sty
+++ b/document.sty
@@ -9,10 +9,12 @@
\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}
@@ -21,6 +23,24 @@
% 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 %
+%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
+
\renewcommand{\footrulewidth}{.5pt} % Line at the bottom
\cfoot{\thepage} % Centered page number (footer)
@@ -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}