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.7 KiB
TeX
Raw Normal View History

2023-09-15 13:30:07 +00:00
\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{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
\include{config/author} % meta information about author
\include{config/pages} % set page configuration
\include{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/
\include{pages/page-01-title}
\include{pages/page-02-indipendence-declaration}
\include{pages/page-03-lock-notice}
\include{pages/page-04-abstract}
\include{pages/page-05-summary}
\include{pages/page-06-preface}
\include{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}