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
|
\documentclass[11pt]{report}
\usepackage{titlesec}
\usepackage{charter}
\usepackage{url}
\usepackage{listings}
\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=tb,
language=C,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3
}
\usepackage
[
a4paper,
left=2cm,
right=2cm,
top=3cm,
bottom=4cm,
]
{geometry}
\titleformat{\chapter}[display]
{\Huge\bfseries}
{}
{0pt}
{\thechapter.\ }
\titleformat{name=\chapter,numberless}[display]
{\Huge\bfseries}
{}
{0pt}
{}
\pagenumbering{arabic}
|