diff options
Diffstat (limited to 'document.sty')
-rw-r--r-- | document.sty | 25 |
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} |