📚 The CoCalc Library - books, templates and other resources
License: OTHER
% thanks to http://www.math.mun.ca/~edgar/thesis.html for1% giving me a document to start with23\documentclass[a4paper,12pt,oneside]{book}4\usepackage{amssymb} % needed for math5\usepackage{amsmath} % needed for math6\usepackage{makeidx} % for automatically generation of an index7\usepackage{hyperref} % links in the text, has to be after makeidx8\usepackage[utf8]{inputenc} % this is needed for umlauts9\usepackage[ngerman]{babel} % this is needed for umlauts10\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf11\usepackage[margin=2.5cm]{geometry} %layout12\usepackage{fancyhdr} % needed for the footer13\usepackage{lastpage} % needed for the footer14\usepackage{color, colortbl} % farbige Tabellenzellen15\usepackage{framed}16\usepackage{enumerate} % for advanced numbering of lists17\usepackage{tabularx}18\usepackage{mystyle} % create mystyle.sty where you put all your own \newcommand statements19\clubpenalty = 10000 % Schusterjungen verhindern20\widowpenalty = 10000 % Hurenkinder verhindern2122\makeindex2324\hypersetup{25pdfauthor = {Martin Thoma},26pdfkeywords = {Graphentheorie},27pdftitle = {Graphentheorie}28}2930\begin{document}31\author{Martin Thoma}32\title{Test Book}3334\maketitle % generate title page3536\frontmatter % start roman numbering37\tableofcontents38\include{preface}3940\mainmatter % start the arabic numbering for the real content41\include{chapter1}42\include{chapter2}43\include{chapter3}4445\backmatter % the real content ends here46\bibliographystyle{amsalpha} %The style you want to use for references.47\bibliography{refs} %The files containing all the articles and books you ever referenced.4849\clearpage50\addcontentsline{toc}{chapter}{Index}51\printindex % print the automatically created index52\end{document}535455