summaryrefslogtreecommitdiff
path: root/document.sty
diff options
context:
space:
mode:
Diffstat (limited to 'document.sty')
-rw-r--r--document.sty38
1 files changed, 20 insertions, 18 deletions
diff --git a/document.sty b/document.sty
index ffc8c7c..08ab8ed 100644
--- a/document.sty
+++ b/document.sty
@@ -13,13 +13,16 @@
\usepackage{titlesec} % Font sizes for sections/subsection
\RequirePackage{setspace} % Line spacing
\RequirePackage{pdfpages} % Allow to add pdf documents to your latex file
-\RequirePackage{hyperref} % Allow references and hyperlinks
+% \RequirePackage{hyperref} % Allow references and hyperlinks
% Useful packages for engineering students
\RequirePackage{amsmath} % Mathematics environments
\RequirePackage{amssymb} % Mathematical symbols
-\RequirePackage{siunitx} % SI Units
-\RequirePackage{cleveref} % To make eqation reference better
+% \RequirePackage{siunitx} % SI Units
+% \RequirePackage{cleveref} % To make eqation reference better
+\RequirePackage{inputenc}
+\RequirePackage{csquotes}
+
% Allows the creations of appendices
\RequirePackage[title,toc,titletoc,page]{appendix}
@@ -31,24 +34,24 @@
% Number equation with section number (ex: First equation in section 3 is 3.1)
\numberwithin{equation}{section}
% Use french commas when writing numbers
-\sisetup{locale=FR}
+% \sisetup{locale=FR}
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% Hyperlinks management %
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
-\let\oldhref\href
-\renewcommand{\href}[2]{\oldhref{#1}{\bfseries#2}}
+% \let\oldhref\href
+% \enewcommand{\href}[2]{\oldhref{#1}{\bfseries#2}}
-\hypersetup{
- colorlinks=true,
- linkcolor=black,
- filecolor=black,
- urlcolor=gray,
- pdfpagemode=FullScreen,
- }
+% \hypersetup{
+% colorlinks=true,
+% linkcolor=black,
+% filecolor=black,
+% urlcolor=gray,
+% pdfpagemode=FullScreen,
+% }
@@ -93,7 +96,6 @@
\renewcommand{\thefigure}{\thesection-\arabic{figure}}
\renewcommand{\thetable}{\thesection-\arabic{table}}
-\usepackage{csquotes}
\usepackage[style=numeric,backend=biber,sorting=nty]{biblatex}
\DeclareNameAlias{author}{family-given} % Display the Bibliography as: Surename, Name
\addbibresource{references.bib}
@@ -113,7 +115,7 @@
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
\RequirePackage[title,toc,titletoc,page]{appendix}
-\addto\captionsfrench{%
- \renewcommand\appendixname{Annexe}
- \renewcommand\appendixpagename{Annexe}
-}
+% \addto\captionsfrench{
+% \renewcommand\appendixname{Annexe}
+% \renewcommand\appendixpagename{Annexe}
+% }