2013-11-25 20:53:18 +00:00
|
|
|
% *****************************************************************************
|
2013-11-26 00:56:29 +00:00
|
|
|
% ******************************* Custom Margin ********************************
|
2013-12-06 15:41:38 +00:00
|
|
|
|
2013-11-26 00:56:29 +00:00
|
|
|
% Add `custommargin' in the document class option to use this section
|
|
|
|
% Set {innerside margin / outerside margin / topmargin / bottom margin} and many custom size for page layout
|
|
|
|
\ifsetMargin
|
|
|
|
\else
|
|
|
|
\RequirePackage[left=37mm,right=30mm,top=35mm,bottom=30mm]{geometry}
|
|
|
|
\setFancyHdr % To apply fancy header after geometry package is loaded
|
|
|
|
\fi
|
|
|
|
|
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
|
|
|
|
%\renewcommand\rmdefault{psb}
|
|
|
|
\ifsetFont
|
|
|
|
\else
|
2013-12-07 02:10:46 +00:00
|
|
|
\RequirePackage{libertine} % Set your custom font here and use `customfont' in options. Leave empty to load computer modern font.
|
2013-11-25 11:11:21 +00:00
|
|
|
\fi
|
|
|
|
|
|
|
|
% *****************************************************************************
|
|
|
|
% *************************** Bibliography and References ********************
|
2013-12-06 15:41:38 +00:00
|
|
|
|
2013-11-25 11:11:21 +00:00
|
|
|
% Add `custombib' in the document class option to use this section
|
|
|
|
\usepackage{cleveref} %Referencing without need to explicitly state fig /table
|
|
|
|
\ifsetBib % True, Bibliography option is chosen in class options
|
|
|
|
\else % If custom bibliography style chosen then load bibstyle here
|
|
|
|
\RequirePackage[square, sort, numbers, authoryear]{natbib} % CustomBib
|
|
|
|
\fi
|
|
|
|
|
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
% *****************************************************************************
|
2013-11-17 01:01:46 +00:00
|
|
|
% **************************** Custom Packages *********************************
|
2013-11-17 11:51:10 +00:00
|
|
|
% *****************************************************************************
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
% ************************** Algorithms and Pseudocode *************************
|
|
|
|
%\usepackage{algpseudocode} % Algorithmicx package support for algorithms and pseudocode
|
2013-11-17 01:01:46 +00:00
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
|
2013-12-07 02:10:46 +00:00
|
|
|
% *********************Captions and Hyperreferencing / URL ***********************
|
2013-11-17 01:01:46 +00:00
|
|
|
%% Captions: This makes captions of figures use a boldfaced small font.
|
|
|
|
%\RequirePackage[small,bf]{caption}
|
2013-12-07 02:10:46 +00:00
|
|
|
|
2013-11-17 15:35:59 +00:00
|
|
|
\RequirePackage[figurename=Fig.,labelsep=space,tableposition=top]{caption}
|
2013-11-17 11:51:10 +00:00
|
|
|
|
2013-11-17 01:01:46 +00:00
|
|
|
|
2013-12-07 02:10:46 +00:00
|
|
|
% ************************ Formatting / Footnote *****************************
|
2013-11-17 11:51:10 +00:00
|
|
|
%\usepackage[perpage]{footmisc} %Range of footnote options
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
2013-12-07 02:10:46 +00:00
|
|
|
% ****************************** Line Numbers ********************************
|
|
|
|
%\RequirePackage{lineno}
|
|
|
|
%\linenumbers
|
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
% ************************** Graphics and figures *****************************
|
2013-11-17 15:35:59 +00:00
|
|
|
% Subfigure (note: this must be included after the `caption` package).
|
2013-11-17 11:51:10 +00:00
|
|
|
%\usepackage{rotating}
|
|
|
|
%\usepackage{wrapfig}
|
|
|
|
%\usepackage{float}
|
2013-11-17 15:35:59 +00:00
|
|
|
\usepackage{subfig}
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
% ********************************* Table *************************************
|
|
|
|
%\usepackage{longtable}
|
|
|
|
%\usepackage{multicol}
|
|
|
|
%\usepackage{multirow}
|
|
|
|
%\usepackage{tabularx}
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
% ****************************** Math and SI Units ****************************
|
2013-11-17 01:01:46 +00:00
|
|
|
\usepackage{amsfonts}
|
|
|
|
\usepackage{amsmath}
|
|
|
|
\usepackage{amssymb}
|
|
|
|
\usepackage{siunitx}
|
|
|
|
|
|
|
|
|
2013-11-17 01:25:23 +00:00
|
|
|
% ******************************************************************************
|
|
|
|
% ************************* User Defined Commands ******************************
|
|
|
|
% ******************************************************************************
|
|
|
|
|
|
|
|
% Set spacing as 1.5 line spacing for the PhD Thesis
|
|
|
|
\onehalfspace
|
|
|
|
|
|
|
|
|
|
|
|
% ********************** Adding TOC and List of Figures ************************
|
2013-12-07 02:10:46 +00:00
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
\setcounter{secnumdepth}{2}
|
|
|
|
\setcounter{tocdepth}{2}
|
2013-12-06 00:58:13 +00:00
|
|
|
|
2013-12-07 02:10:46 +00:00
|
|
|
% To hide sections from appearing in TOC use:
|
|
|
|
% \tochide\section{Section name} in the section
|
|
|
|
|
|
|
|
|
2013-11-20 00:55:21 +00:00
|
|
|
% ******************************* Nomenclature *********************************
|
|
|
|
% To change the name of the Nomenclature section, uncomment the following line
|
|
|
|
% \renewcommand\nomname{Symbols}
|