dissertation-4-dissertation/Preamble/preamble.tex

122 lines
4.6 KiB
TeX
Raw Normal View History

2013-12-07 02:38:37 +00:00
% ******************************************************************************
% ****************************** Custom Margin *********************************
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-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-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}
% *****************************************************************************
% *************** 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-12-07 20:40:49 +00:00
% **************************** Custom Packages ********************************
% *****************************************************************************
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-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-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 *******************************
%\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 **********************************
%\RequirePackage{lineno}
%\linenumbers
% ************************** Graphics and figures *****************************
2013-11-17 15:35:59 +00:00
% Subfigure (note: this must be included after the `caption` package).
%\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 **************************************
%\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 20:40:49 +00:00
% ********************** TOC depth and numbering depth *************************
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
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}