blob: e5d74fe0b0eec2e3f462fc5a9be1a5cd266fe53b (
plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
%%%%%%%%%%%%%%%%%%%%%%%%%
% Non-numbered sections %
%%%%%%%%%%%%%%%%%%%%%%%%%
\titleformat{\section}
[block] %shape of the text (options are hang, block, display, runin, leftmargin, rightmargin, drop, wrap and frame)
{\LARGE\bfseries} %formatting for the text
{} %section label. Any text placed in these brackets will precede the section title.
{0em} %space between the labe and the text
{} %code that precedes the text
[\vspace{-.5em}] %code after the text
\titleformat{\subsection}
[block]
{\Large\bfseries}
{} %section label
{0em}
{}
[\vspace{-.5em}]
\titleformat{\subsubsection}
[block]
{\normalsize\bfseries}
{} %section label
{0em}
{}
[\vspace{-.5em}]
%%%%%%%%%%%%%%%%%%%%%
% Numbered sections %
%%%%%%%%%%%%%%%%%%%%%
%\titleformat{\section}
%[block]
%{\LARGE\bfseries}
%{\thesection}
%{1em}
%{}
%[\vspace{-.5em}]
%\titleformat{\subsection}[block]
%{\Large\bfseries}
%{\thesubsection}
%{1em}
%{}
%[\vspace{-.5em}]
%\titleformat{\subsubsection}[block]
%{\normalsize\bfseries}
%{\thesubsubsection} %section label
%{1em}
%{}
%[\vspace{-.5em}]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% End of section numbering commands %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\parskip}{1em} %The spacing between paragraphs
\setlist{nosep} %Single-spacing in lists
% Define the \maketitle command that creates the title page and TOC
\renewcommand{\maketitle}{
\sffamily %Set san serif font for body text
{\Huge\bfseries
\thetitle}
{\huge\theauthor}
{\Large\thedate}
\newpage
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{0} %Change 0 to 3 to number the TOC
\tableofcontents
\newpage
\raggedright
}
|