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-01-20 01:21:13 +00:00
|
|
|
|
2013-11-26 00:56:29 +00:00
|
|
|
\ifsetMargin
|
|
|
|
\else
|
2013-12-07 02:38:37 +00: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
|
|
|
|
|
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
|
|
|
|
2013-11-25 11:11:21 +00:00
|
|
|
\ifsetFont
|
|
|
|
\else
|
2013-12-07 02:38:37 +00:00
|
|
|
% Set your custom font here and use `customfont' in options. Leave empty to
|
2013-12-09 22:04:17 +00:00
|
|
|
% load computer modern font (default LaTeX font).
|
2014-01-20 01:21:13 +00:00
|
|
|
|
2013-12-07 02:38:37 +00:00
|
|
|
\RequirePackage{libertine}
|
2013-11-25 11:11:21 +00:00
|
|
|
\fi
|
|
|
|
|
|
|
|
% *****************************************************************************
|
|
|
|
% *************************** Bibliography and References ********************
|
2013-12-06 15:41:38 +00:00
|
|
|
|
2013-12-08 12:39:32 +00:00
|
|
|
%\usepackage{cleveref} %Referencing without need to explicitly state fig /table
|
2013-12-07 20:40:49 +00:00
|
|
|
|
|
|
|
% Add `custombib' in the document class option to use this section
|
2013-11-25 11:11:21 +00:00
|
|
|
\ifsetBib % True, Bibliography option is chosen in class options
|
|
|
|
\else % If custom bibliography style chosen then load bibstyle here
|
2014-01-20 01:21:13 +00:00
|
|
|
\ifsetBiBLaTeX
|
2014-01-20 12:09:46 +00:00
|
|
|
\RequirePackage[backend=biber, style=numeric-comp, citestyle=numeric, sorting=nty, natbib=true]{biblatex}
|
2014-01-20 01:21:13 +00:00
|
|
|
\else
|
|
|
|
\RequirePackage[square, sort, numbers, authoryear]{natbib} % CustomBib
|
|
|
|
\fi
|
2013-11-25 11:11:21 +00:00
|
|
|
\fi
|
|
|
|
|
2013-12-08 01:14:22 +00:00
|
|
|
% changes the default name `Bibliography` -> `References'
|
|
|
|
\renewcommand{\bibname}{References}
|
|
|
|
|
2014-01-20 12:09:46 +00:00
|
|
|
|
2013-12-09 17:17:11 +00:00
|
|
|
% *****************************************************************************
|
|
|
|
% *************** Changing the Visual Style of Chapter Headings ***************
|
|
|
|
% Uncomment the section below. Requires titlesec package.
|
|
|
|
|
|
|
|
%\RequirePackage{titlesec}
|
|
|
|
%\newcommand{\PreContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\Large}
|
|
|
|
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}
|
|
|
|
%{1ex}{}
|
|
|
|
%[\vspace{1ex}\titlerule]}
|
|
|
|
%\newcommand{\ContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\huge}
|
|
|
|
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}{1ex}
|
|
|
|
%{\titlerule\vspace{1ex}\filright}
|
|
|
|
%[\vspace{1ex}\titlerule]}
|
|
|
|
%\newcommand{\PostContentTitleFormat}{\PreContentTitleFormat}
|
|
|
|
%\PreContentTitleFormat
|
|
|
|
|
2013-11-25 11:11:21 +00:00
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
% *****************************************************************************
|
2013-12-07 20:40:49 +00:00
|
|
|
% **************************** Custom Packages ********************************
|
2013-11-17 11:51:10 +00:00
|
|
|
% *****************************************************************************
|
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
|
|
|
|
2013-12-07 02:38:37 +00: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
|
|
|
|
|
|
|
% 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
|
|
|
|
2013-12-08 12:39:32 +00:00
|
|
|
\RequirePackage[labelsep=space,tableposition=top]{caption}
|
|
|
|
\renewcommand{\figurename}{Fig.} %to support older versions of captions.sty
|
2013-11-17 01:01:46 +00:00
|
|
|
|
2013-12-07 02:38:37 +00:00
|
|
|
% ************************ Formatting / Footnote *******************************
|
2013-12-09 22:04:17 +00:00
|
|
|
|
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:38:37 +00:00
|
|
|
% ****************************** Line Numbers **********************************
|
2013-12-09 22:04:17 +00:00
|
|
|
|
2013-12-07 02:10:46 +00:00
|
|
|
%\RequirePackage{lineno}
|
|
|
|
%\linenumbers
|
|
|
|
|
2013-11-17 11:51:10 +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}
|
|
|
|
%\usepackage{float}
|
2013-12-09 22:04:17 +00:00
|
|
|
\usepackage{subfig} %note: subfig must be included after the `caption` package.
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
2013-12-07 02:38:37 +00:00
|
|
|
% ********************************* Table **************************************
|
2013-12-09 22:04:17 +00:00
|
|
|
|
2013-11-17 11:51:10 +00:00
|
|
|
%\usepackage{longtable}
|
|
|
|
%\usepackage{multicol}
|
|
|
|
%\usepackage{multirow}
|
|
|
|
%\usepackage{tabularx}
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
2013-12-07 02:38:37 +00:00
|
|
|
% ***************************** Math and SI Units ******************************
|
2013-12-09 22:04:17 +00:00
|
|
|
|
2013-11-17 01:01:46 +00:00
|
|
|
\usepackage{amsfonts}
|
|
|
|
\usepackage{amsmath}
|
|
|
|
\usepackage{amssymb}
|
2013-12-08 12:39:32 +00:00
|
|
|
%\usepackage{siunitx} % use this package module for SI units
|
2013-11-17 01:01:46 +00:00
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2013-12-07 20:40:49 +00:00
|
|
|
% The default value of both \appendixtocname and \appendixpagename is `Appendices'. These names can all be changed via:
|
|
|
|
|
|
|
|
%\renewcommand{\appendixtocname}{List of appendices}
|
|
|
|
%\renewcommand{\appendixname}{Appndx}
|