1 |
125 |
guanucolui |
% ******************************************************************************
|
2 |
|
|
% ****************************** Custom Margin *********************************
|
3 |
|
|
|
4 |
|
|
% Add `custommargin' in the document class options to use this section
|
5 |
|
|
% Set {innerside margin / outerside margin / topmargin / bottom margin} and
|
6 |
|
|
% other page dimensions
|
7 |
|
|
\ifsetMargin
|
8 |
|
|
\else
|
9 |
|
|
\RequirePackage[left=37mm,right=30mm,top=35mm,bottom=30mm]{geometry}
|
10 |
|
|
\setFancyHdr % To apply fancy header after geometry package is loaded
|
11 |
|
|
\fi
|
12 |
|
|
|
13 |
|
|
% *****************************************************************************
|
14 |
|
|
% ******************* Fonts (like different typewriter fonts etc.)*************
|
15 |
|
|
|
16 |
|
|
% Add `customfont' in the document class option to use this section
|
17 |
|
|
\ifsetFont
|
18 |
|
|
\else
|
19 |
|
|
% Set your custom font here and use `customfont' in options. Leave empty to
|
20 |
|
|
% load computer modern font (default LaTeX font).
|
21 |
|
|
\RequirePackage{libertine}
|
22 |
|
|
\fi
|
23 |
|
|
|
24 |
|
|
% *****************************************************************************
|
25 |
|
|
% *************************** Bibliography and References ********************
|
26 |
|
|
|
27 |
|
|
%\usepackage{cleveref} %Referencing without need to explicitly state fig /table
|
28 |
|
|
|
29 |
|
|
% Add `custombib' in the document class option to use this section
|
30 |
|
|
\ifsetBib % True, Bibliography option is chosen in class options
|
31 |
|
|
\else % If custom bibliography style chosen then load bibstyle here
|
32 |
|
|
\RequirePackage[square, sort, numbers, authoryear]{natbib} % CustomBib
|
33 |
|
|
\fi
|
34 |
|
|
|
35 |
|
|
% changes the default name `Bibliography` -> `References'
|
36 |
|
|
\renewcommand{\bibname}{References}
|
37 |
|
|
|
38 |
|
|
% *****************************************************************************
|
39 |
|
|
% *************** Changing the Visual Style of Chapter Headings ***************
|
40 |
|
|
% Uncomment the section below. Requires titlesec package.
|
41 |
|
|
|
42 |
|
|
%\RequirePackage{titlesec}
|
43 |
|
|
%\newcommand{\PreContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\Large}
|
44 |
|
|
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}
|
45 |
|
|
%{1ex}{}
|
46 |
|
|
%[\vspace{1ex}\titlerule]}
|
47 |
|
|
%\newcommand{\ContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\huge}
|
48 |
|
|
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}{1ex}
|
49 |
|
|
%{\titlerule\vspace{1ex}\filright}
|
50 |
|
|
%[\vspace{1ex}\titlerule]}
|
51 |
|
|
%\newcommand{\PostContentTitleFormat}{\PreContentTitleFormat}
|
52 |
|
|
%\PreContentTitleFormat
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
% *****************************************************************************
|
56 |
|
|
% **************************** Custom Packages ********************************
|
57 |
|
|
% *****************************************************************************
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
% ************************* Algorithms and Pseudocode **************************
|
61 |
|
|
|
62 |
|
|
%\usepackage{algpseudocode}
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
% ********************Captions and Hyperreferencing / URL **********************
|
66 |
|
|
|
67 |
|
|
% Captions: This makes captions of figures use a boldfaced small font.
|
68 |
|
|
%\RequirePackage[small,bf]{caption}
|
69 |
|
|
|
70 |
|
|
\RequirePackage[labelsep=space,tableposition=top]{caption}
|
71 |
|
|
\renewcommand{\figurename}{Fig.} %to support older versions of captions.sty
|
72 |
|
|
|
73 |
|
|
% ************************ Formatting / Footnote *******************************
|
74 |
|
|
|
75 |
|
|
%\usepackage[perpage]{footmisc} %Range of footnote options
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
% ****************************** Line Numbers **********************************
|
79 |
|
|
|
80 |
|
|
%\RequirePackage{lineno}
|
81 |
|
|
%\linenumbers
|
82 |
|
|
|
83 |
|
|
% ************************** Graphics and figures *****************************
|
84 |
|
|
|
85 |
|
|
%\usepackage{rotating}
|
86 |
|
|
%\usepackage{wrapfig}
|
87 |
|
|
%\usepackage{float}
|
88 |
|
|
\usepackage{subfig} %note: subfig must be included after the `caption` package.
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
% ********************************* Table **************************************
|
92 |
|
|
|
93 |
|
|
%\usepackage{longtable}
|
94 |
|
|
%\usepackage{multicol}
|
95 |
|
|
%\usepackage{multirow}
|
96 |
|
|
%\usepackage{tabularx}
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
% ***************************** Math and SI Units ******************************
|
100 |
|
|
|
101 |
|
|
\usepackage{amsfonts}
|
102 |
|
|
\usepackage{amsmath}
|
103 |
|
|
\usepackage{amssymb}
|
104 |
|
|
%\usepackage{siunitx} % use this package module for SI units
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
% ******************************************************************************
|
108 |
|
|
% ************************* User Defined Commands ******************************
|
109 |
|
|
% ******************************************************************************
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
% ********************** TOC depth and numbering depth *************************
|
113 |
|
|
|
114 |
|
|
\setcounter{secnumdepth}{2}
|
115 |
|
|
\setcounter{tocdepth}{2}
|
116 |
|
|
|
117 |
|
|
% ******************************* Nomenclature *********************************
|
118 |
|
|
|
119 |
|
|
% To change the name of the Nomenclature section, uncomment the following line
|
120 |
|
|
|
121 |
|
|
%\renewcommand\nomname{Symbols}
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
% ********************************* Appendix ***********************************
|
125 |
|
|
|
126 |
|
|
% The default value of both \appendixtocname and \appendixpagename is `Appendices'. These names can all be changed via:
|
127 |
|
|
|
128 |
|
|
%\renewcommand{\appendixtocname}{List of appendices}
|
129 |
|
|
|
130 |
|
|
%\renewcommand{\appendixname}{Appndx}
|