Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132928 views
License: OTHER
1
% thanks to http://www.math.mun.ca/~edgar/thesis.html for
2
% giving me a document to start with
3
4
\documentclass[a4paper,12pt,oneside]{book}
5
\usepackage{amssymb} % needed for math
6
\usepackage{amsmath} % needed for math
7
\usepackage{makeidx} % for automatically generation of an index
8
\usepackage{hyperref} % links in the text, has to be after makeidx
9
\usepackage[utf8]{inputenc} % this is needed for umlauts
10
\usepackage[ngerman]{babel} % this is needed for umlauts
11
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
12
\usepackage[margin=2.5cm]{geometry} %layout
13
\usepackage{fancyhdr} % needed for the footer
14
\usepackage{lastpage} % needed for the footer
15
\usepackage{color, colortbl} % farbige Tabellenzellen
16
\usepackage{framed}
17
\usepackage{enumerate} % for advanced numbering of lists
18
\usepackage{tabularx}
19
\usepackage{mystyle} % create mystyle.sty where you put all your own \newcommand statements
20
\clubpenalty = 10000 % Schusterjungen verhindern
21
\widowpenalty = 10000 % Hurenkinder verhindern
22
23
\makeindex
24
25
\hypersetup{
26
pdfauthor = {Martin Thoma},
27
pdfkeywords = {Graphentheorie},
28
pdftitle = {Graphentheorie}
29
}
30
31
\begin{document}
32
\author{Martin Thoma}
33
\title{Test Book}
34
35
\maketitle % generate title page
36
37
\frontmatter % start roman numbering
38
\tableofcontents
39
\include{preface}
40
41
\mainmatter % start the arabic numbering for the real content
42
\include{chapter1}
43
\include{chapter2}
44
\include{chapter3}
45
46
\backmatter % the real content ends here
47
\bibliographystyle{amsalpha} %The style you want to use for references.
48
\bibliography{refs} %The files containing all the articles and books you ever referenced.
49
50
\clearpage
51
\addcontentsline{toc}{chapter}{Index}
52
\printindex % print the automatically created index
53
\end{document}
54
55