2013-12-07 02:38:37 +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
|
2013-12-07 02:38:37 +00:00
|
|
|
% Set {innerside margin / outerside margin / topmargin / bottom margin} and
|
|
|
|
% many custom size for page layout
|
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
|
|
|
|
\ifsetFont
|
|
|
|
\else
|
2013-12-07 02:38:37 +00:00
|
|
|
% Set your custom font here and use `customfont' in options. Leave empty to
|
|
|
|
% load computer modern font.
|
|
|
|
\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
|
2013-12-07 02:38:37 +00:00
|
|
|
\RequirePackage[square, sort, numbers, authoryear]{natbib} % CustomBib
|
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}
|
|
|
|
|
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 **************************
|
|
|
|
%\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-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-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-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-07 02:10:46 +00:00
|
|
|
%\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-12-07 02:38:37 +00:00
|
|
|
% ********************************* Table **************************************
|
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-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 ******************************
|
|
|
|
% ******************************************************************************
|
|
|
|
|
2013-12-07 02:10:46 +00:00
|
|
|
|
2013-12-07 20:40:49 +00:00
|
|
|
% ********************** TOC depth and numbering depth *************************
|
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 *********************************
|
|
|
|
% To change the name of the Nomenclature section, uncomment the following line
|
2013-12-07 20:40:49 +00:00
|
|
|
|
2013-11-20 00:55:21 +00:00
|
|
|
% \renewcommand\nomname{Symbols}
|
2013-12-07 20:40:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
% ********************************* Appendix ***********************************
|
|
|
|
% 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}
|