2013-12-07 02:38:37 +00:00
% ******************************************************************************
% ****************************** Custom Margin *********************************
2013-12-06 15:41:38 +00:00
2013-12-09 22:04:17 +00:00
% Add `custommargin' in the document class options to use this section
2013-12-07 02:38:37 +00:00
% Set {innerside margin / outerside margin / topmargin / bottom margin} and
2013-12-09 22:04:17 +00:00
% other page dimensions
2014-06-06 19:22:15 +01:00
\ifsetCustomMargin
2014-06-09 00:57:35 +01:00
\RequirePackage [left=37mm,right=30mm,top=35mm,bottom=30mm] { geometry}
\setFancyHdr % To apply fancy header after geometry package is loaded
2013-11-26 00:56:29 +00:00
\fi
2015-10-13 15:38:53 +01:00
% Add spaces between paragraphs
%\setlength{\parskip}{0.5em}
% Ragged bottom avoids extra whitespaces between paragraphs
\raggedbottom
% To remove the excess top spacing for enumeration, list and description
%\usepackage{enumitem}
%\setlist[enumerate,itemize,description]{topsep=0em}
2013-11-25 11:11:21 +00:00
% *****************************************************************************
% ******************* Fonts (like different typewriter fonts etc.)*************
2013-12-06 15:41:38 +00:00
2013-11-25 11:11:21 +00:00
% Add `customfont' in the document class option to use this section
2014-01-20 01:21:13 +00:00
2014-06-08 19:02:10 +01:00
\ifsetCustomFont
2014-06-09 00:57:35 +01:00
% Set your custom font here and use `customfont' in options. Leave empty to
% load computer modern font (default LaTeX font).
2015-06-19 22:08:36 +01:00
%\RequirePackage{helvet}
% For use with XeLaTeX
% \setmainfont[
% Path = ./libertine/opentype/,
% Extension = .otf,
% UprightFont = LinLibertine_R,
% BoldFont = LinLibertine_RZ, % Linux Libertine O Regular Semibold
% ItalicFont = LinLibertine_RI,
% BoldItalicFont = LinLibertine_RZI, % Linux Libertine O Regular Semibold Italic
% ]
% {libertine}
% % load font from system font
% \newfontfamily\libertinesystemfont{Linux Libertine O}
2013-11-25 11:11:21 +00:00
\fi
2013-11-17 11:51:10 +00:00
% *****************************************************************************
2013-12-07 20:40:49 +00:00
% **************************** Custom Packages ********************************
2013-11-17 01:01:46 +00:00
2013-12-07 02:38:37 +00:00
% ************************* Algorithms and Pseudocode **************************
2013-12-09 22:04:17 +00:00
2014-06-05 23:45:56 +01:00
%\usepackage{algpseudocode}
2013-11-17 01:01:46 +00:00
2013-11-17 11:51:10 +00:00
2013-12-07 02:38:37 +00:00
% ********************Captions and Hyperreferencing / URL **********************
2013-12-09 22:04:17 +00:00
2014-06-05 23:45:56 +01:00
% Captions: This makes captions of figures use a boldfaced small font.
2013-11-17 01:01:46 +00:00
%\RequirePackage[small,bf]{caption}
2013-12-07 02:10:46 +00:00
2014-06-05 23:45:56 +01:00
\RequirePackage [labelsep=space,tableposition=top] { caption}
2013-12-08 12:39:32 +00:00
\renewcommand { \figurename } { Fig.} %to support older versions of captions.sty
2013-11-17 01:01:46 +00:00
2014-04-21 11:45:36 +01:00
2014-03-24 00:39:39 +00:00
% *************************** Graphics and figures *****************************
2013-12-09 22:04:17 +00:00
2013-11-17 11:51:10 +00:00
%\usepackage{rotating}
%\usepackage{wrapfig}
2014-04-21 22:11:32 +01:00
% Uncomment the following two lines to force Latex to place the figure.
% Use [H] when including graphics. Note 'H' instead of 'h'
2013-11-17 11:51:10 +00:00
%\usepackage{float}
2014-04-21 22:11:32 +01:00
%\restylefloat{figure}
2014-05-15 09:55:18 +01:00
% Subcaption package is also available in the sty folder you can use that by
2014-04-22 17:46:24 +01:00
% uncommenting the following line
2014-05-15 09:55:18 +01:00
% This is for people stuck with older versions of texlive
2014-04-22 17:46:24 +01:00
%\usepackage{sty/caption/subcaption}
2014-04-21 11:45:36 +01:00
\usepackage { subcaption}
2013-11-17 01:01:46 +00:00
2014-06-29 20:06:31 +01:00
% ********************************** Tables ************************************
2014-06-29 12:13:35 +01:00
\usepackage { booktabs} % For professional looking tables
2014-06-29 20:06:31 +01:00
\usepackage { multirow}
2013-11-17 11:51:10 +00:00
%\usepackage{multicol}
2014-06-29 20:06:31 +01:00
%\usepackage{longtable}
2013-11-17 11:51:10 +00:00
%\usepackage{tabularx}
2013-11-17 01:01:46 +00:00
2015-04-26 18:45:31 +01:00
% *********************************** SI Units *********************************
2014-05-02 18:34:14 +01:00
\usepackage { siunitx} % use this package module for SI units
2013-11-17 01:01:46 +00:00
2014-04-21 23:20:36 +01:00
% ******************************* Line Spacing *********************************
2014-05-31 17:01:18 +01:00
% Choose linespacing as appropriate. Default is one-half line spacing as per the
% University guidelines
2014-04-21 23:20:36 +01:00
% \doublespacing
% \onehalfspacing
% \singlespacing
% ************************ Formatting / Footnote *******************************
2014-08-24 15:38:27 +01:00
% Don't break enumeration (etc.) across pages in an ugly manner (default 10000)
%\clubpenalty=500
%\widowpenalty=500
2014-06-05 23:45:56 +01:00
%\usepackage[perpage]{footmisc} %Range of footnote options
2014-04-21 23:20:36 +01:00
2014-03-24 00:39:39 +00:00
% *****************************************************************************
% *************************** Bibliography and References ********************
%\usepackage{cleveref} %Referencing without need to explicitly state fig /table
% Add `custombib' in the document class option to use this section
2014-06-09 00:05:59 +01:00
\ifuseCustomBib
2014-08-07 19:05:36 +01:00
\RequirePackage [square, sort, numbers, authoryear] { natbib} % CustomBib
2014-03-24 00:39:39 +00:00
% If you would like to use biblatex for your reference management, as opposed to the default `natbibpackage` pass the option `custombib` in the document class. Comment out the previous line to make sure you don't load the natbib package. Uncomment the following lines and specify the location of references.bib file
2014-08-07 19:05:36 +01:00
%\RequirePackage[backend=biber, style=numeric-comp, citestyle=numeric, sorting=nty, natbib=true]{biblatex}
%\bibliography{References/references} %Location of references.bib only for biblatex
2014-03-24 00:39:39 +00:00
\fi
% changes the default name `Bibliography` -> `References'
\renewcommand { \bibname } { References}
2013-11-17 01:25:23 +00:00
% ******************************************************************************
% ************************* User Defined Commands ******************************
% ******************************************************************************
2014-01-16 00:34:36 +00:00
% *********** To change the name of Table of Contents / LOF and LOT ************
%\renewcommand{\contentsname}{My Table of Contents}
%\renewcommand{\listfigurename}{My List of Figures}
%\renewcommand{\listtablename}{My List of Tables}
2013-12-07 02:10:46 +00:00
2013-12-07 20:40:49 +00:00
% ********************** TOC depth and numbering depth *************************
2013-12-09 22:04:17 +00:00
2013-11-17 11:51:10 +00:00
\setcounter { secnumdepth} { 2}
\setcounter { tocdepth} { 2}
2013-12-06 00:58:13 +00:00
2014-04-21 11:45:36 +01:00
2013-11-20 00:55:21 +00:00
% ******************************* Nomenclature *********************************
2013-12-09 22:04:17 +00:00
2013-11-20 00:55:21 +00:00
% To change the name of the Nomenclature section, uncomment the following line
2013-12-07 20:40:49 +00:00
2014-01-16 00:34:36 +00:00
%\renewcommand{\nomname}{Symbols}
2013-12-07 20:40:49 +00:00
% ********************************* Appendix ***********************************
2013-12-09 22:04:17 +00:00
2014-06-05 23:45:56 +01:00
% The default value of both \appendixtocname and \appendixpagename is `Appendices'. These names can all be changed via:
2013-12-07 20:40:49 +00:00
%\renewcommand{\appendixtocname}{List of appendices}
%\renewcommand{\appendixname}{Appndx}
2014-04-21 11:45:36 +01:00
2015-04-26 18:45:31 +01:00
% *********************** Configure Draft Mode **********************************
2014-06-06 12:52:18 +01:00
2016-09-08 15:54:43 +01:00
% Uncomment to disable figures in `draft'
2014-06-08 15:43:33 +01:00
%\setkeys{Gin}{draft=true} % set draft to false to enable figures in `draft'
2014-06-06 12:52:18 +01:00
% These options are active only during the draft mode
2014-06-05 23:45:56 +01:00
% Default text is "Draft"
2014-06-06 17:55:39 +01:00
%\SetDraftText{DRAFT}
2014-06-06 12:52:18 +01:00
2014-06-06 17:55:39 +01:00
% Default Watermark location is top. Location (top/bottom)
%\SetDraftWMPosition{bottom}
2014-06-06 12:52:18 +01:00
% Draft Version - default is v1.0
2014-06-06 17:55:39 +01:00
%\SetDraftVersion{v1.1}
% Draft Text grayscale value (should be between 0-black and 1-white)
% Default value is 0.75
%\SetDraftGrayScale{0.8}
2014-08-15 11:46:25 +01:00
2014-08-16 17:53:14 +01:00
2015-04-26 18:45:31 +01:00
% ******************************** Todo Notes **********************************
2014-10-02 15:14:38 +01:00
%% Uncomment the following lines to have todonotes.
2014-10-02 15:28:14 +01:00
%\ifsetDraft
% \usepackage[colorinlistoftodos]{todonotes}
% \newcommand{\mynote}[1]{\todo[author=kks32,size=\small,inline,color=green!40]{#1}}
%\else
% \newcommand{\mynote}[1]{}
% \newcommand{\listoftodos}{}
%\fi
2014-10-02 15:14:38 +01:00
% Example todo: \mynote{Hey! I have a note}