dissertation-4-dissertation/Preamble/preamble.tex
2013-11-25 11:11:21 +00:00

91 lines
3.5 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=35mm,right=30mm,top=35mm,bottom=25mm]{geometry}
\fi
% *****************************************************************************
% ******************* Fonts (like different typewriter fonts etc.)*************
% Add `customfont' in the document class option to use this section
%\renewcommand\rmdefault{psb}
\ifsetFont
\else
\RequirePackage{libertine} % Set your custom font here and use `customfont' in options
\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} % Algorithmicx package support for algorithms and pseudocode
% *********************Captions and Hyperreferncing / URL ***********************
%% Captions: This makes captions of figures use a boldfaced small font.
%\RequirePackage[small,bf]{caption}
\RequirePackage[figurename=Fig.,labelsep=space,tableposition=top]{caption}
% ******************************** Footnote ***********************************
%\usepackage[perpage]{footmisc} %Range of footnote options
% ************************** 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 ************************
% To hide sections from appearing in TOC add \tochide\section{Section name}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
% To restrict the length of the figure caption in List of figures use:
% \caption[Caption that you want to appear in TOC]{Actual caption of the figure}
% \section[short]{title}
% ******************************* Nomenclature *********************************
% To change the name of the Nomenclature section, uncomment the following line
% \renewcommand\nomname{Symbols}