102 lines
3.6 KiB
TeX
102 lines
3.6 KiB
TeX
% ******************************************************************************
|
|
% ****************************** Custom Margin *********************************
|
|
|
|
% 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
|
|
|
|
% *****************************************************************************
|
|
% ******************* Fonts (like different typewriter fonts etc.)*************
|
|
|
|
% Add `customfont' in the document class option to use this section
|
|
%\renewcommand\rmdefault{psb}
|
|
\ifsetFont
|
|
\else
|
|
% Set your custom font here and use `customfont' in options. Leave empty to
|
|
% load computer modern font.
|
|
\RequirePackage{libertine}
|
|
\fi
|
|
|
|
% *****************************************************************************
|
|
% *************************** Bibliography and References ********************
|
|
|
|
% 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
|
|
|
|
|
|
% *****************************************************************************
|
|
% **************************** Custom Packages *********************************
|
|
% *****************************************************************************
|
|
|
|
|
|
% ************************* Algorithms and Pseudocode **************************
|
|
%\usepackage{algpseudocode}
|
|
|
|
|
|
% ********************Captions and Hyperreferencing / URL **********************
|
|
%% Captions: This makes captions of figures use a boldfaced small font.
|
|
%\RequirePackage[small,bf]{caption}
|
|
|
|
\RequirePackage[figurename=Fig.,labelsep=space,tableposition=top]{caption}
|
|
|
|
|
|
% ************************ Formatting / Footnote *******************************
|
|
%\usepackage[perpage]{footmisc} %Range of footnote options
|
|
|
|
|
|
% ****************************** Line Numbers **********************************
|
|
%\RequirePackage{lineno}
|
|
%\linenumbers
|
|
|
|
% ************************** Graphics and figures *****************************
|
|
% Subfigure (note: this must be included after the `caption` package).
|
|
%\usepackage{rotating}
|
|
%\usepackage{wrapfig}
|
|
%\usepackage{float}
|
|
\usepackage{subfig}
|
|
|
|
|
|
% ********************************* Table **************************************
|
|
%\usepackage{longtable}
|
|
%\usepackage{multicol}
|
|
%\usepackage{multirow}
|
|
%\usepackage{tabularx}
|
|
|
|
|
|
% ***************************** Math and SI Units ******************************
|
|
\usepackage{amsfonts}
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb}
|
|
\usepackage{siunitx}
|
|
|
|
|
|
% ******************************************************************************
|
|
% ************************* User Defined Commands ******************************
|
|
% ******************************************************************************
|
|
|
|
% Set spacing as 1.5 line spacing for the PhD Thesis
|
|
\onehalfspace
|
|
|
|
|
|
% ********************** Adding TOC and List of Figures ************************
|
|
|
|
\setcounter{secnumdepth}{2}
|
|
\setcounter{tocdepth}{2}
|
|
|
|
% To hide sections from appearing in TOC use:
|
|
% \tochide\section{Section name} in the section
|
|
|
|
|
|
% ******************************* Nomenclature *********************************
|
|
% To change the name of the Nomenclature section, uncomment the following line
|
|
% \renewcommand\nomname{Symbols}
|