-
Notifications
You must be signed in to change notification settings - Fork 0
/
_global_settings.tex
51 lines (39 loc) · 1.3 KB
/
_global_settings.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
\ifdefined\DoubleSided
\documentclass[twoside,openright,a4paper]{nusthesis}
\else
\documentclass[a4paper]{nusthesis}
\fi
\dsp % pseudo double spacing
%%% The abstract of the thesis is titled as "Abstract" by default.
%%% However, the Graduate Division may require you to name it as "Summary".
%\renewcommand{\abstractname}{Summary}
%%% Depth of section numbering
\setcounter{secnumdepth}{3}
%%% Depth of numbering in table of content
\setcounter{tocdepth}{2}
\usepackage{indentfirst} % indent the first paragraph of a section
\usepackage{silence} % ignore trivial warnings
\WarningFilter{biblatex}{File 'english-ieee.lbx'}
\usepackage{bookmark}
\usepackage[
backend=bibtex,
style=ieee,
citestyle=numeric,
giveninits=true,
sorting=nyt,
maxbibnames=99,
dashed=false,
doi=false]{biblatex}
\DeclareFieldFormat*{title}{``#1''\newunitpunct} % move comma outside the quotation mark
\addbibresource{main.bib}
\newcommand{\citet}[1]{%
\AtNextCite{\defcounter{maxnames}{1}\defcounter{minnames}{1}}%
\citeauthor{#1}%
}
\usepackage{microtype} % Better typography
\usepackage{tabulary} % Automatic table sizing
\usepackage{hyperref}
\renewcommand{\sectionautorefname}{\S}
\let\subsectionautorefname\sectionautorefname
\let\subsubsectionautorefname\sectionautorefname
\renewcommand{\chapterautorefname}{Chapter}