This repository has been archived on 2024-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
Praxisbericht-Template/main.tex

74 lines
2.8 KiB
TeX

\documentclass[a4paper, 12pt]{article}
% =====================================================================
% latex packages to use
\usepackage{graphicx} % Required for inserting images
\usepackage{longtable} % Tables that can overflow pages
\usepackage{setspace} % for more spacing control
\usepackage{geometry} % for margin control
\usepackage{tabularx} % extension of tabular environment that allows dynamic widths
\usepackage{hyperref} % for referecing stuff
\usepackage{fancyhdr} % fancy headers
\usepackage{import} % advanced document import
\usepackage{pdfpages} % include multipage pdf documents
\usepackage{tikz} % graphics, diagrams, logic
\usepackage{imakeidx} % inhaltsverzeichnis
\usepackage{nomencl} % nomenclature
\usepackage{acro} % acronyms
\usepackage[ngerman]{babel} % german language support
\usepackage[labelfont=bf]{caption} % make caption title fat
\usepackage{wrapfig} % for figures wrapping text wraps around
\usepackage[cache=false]{minted} % highlighted code blocks
\usepackage[toc,style=altlist]{glossaries}
\usepackage{tocloft} % control over the typography of the Table of Contents, etc.
\usepackage{listings} % code listings
\usepackage{color} % more colors
\usepackage{tikz} % painting
\usepackage{tikz-imagelabels} % overlay labels for images
\makeindex
\makenomenclature
\makeglossaries
% include acronym definitions
\input{acros}
\input{glossary}
% include file with fixes and workaround
% as well as special settings
\input{extra/fixes}
\begin{document}
% =====================================================================
% include configuration files
\input{config/author} % meta information about author
\input{config/pages} % set page configuration
\input{config/minted} % set minted configuration
\input{extra/utils} % some utility stuff
% =====================================================================
% meta pages will have roman line numbering
\pagenumbering{Roman}
% include documents in the directory pages/
\input{pages/page-01-title}
\input{pages/page-02-indipendence-declaration}
\input{pages/page-03-lock-notice}
\input{pages/page-04-abstract}
\input{pages/page-05-summary}
\input{pages/page-06-preface}
\input{pages/page-07-indices}
% =====================================================================
% chapter
\pagenumbering{arabic}
% add section title to header
\pagestyle{fancy}
\fancyhead[L]{\nouppercase{\leftmark}}
% include all used chapters
\input{pages/page-08-chapter}
\end{document}