Left/Right margins, Logo and Section Name in Heading, Pagenumbering in the footer
This commit is contained in:
5
00-toc.md
Normal file
5
00-toc.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
# Inhaltsverzeichnis {-}
|
||||||
|
|
||||||
|
\tableofcontents
|
||||||
@@ -11,20 +11,20 @@
|
|||||||
\end{minipage}
|
\end{minipage}
|
||||||
\rule{\textwidth}{0.4pt}
|
\rule{\textwidth}{0.4pt}
|
||||||
|
|
||||||
\vspace{2cm}
|
\vspace{1cm}
|
||||||
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=0.6\textwidth]{images/preamble/logo.png} \\
|
\includegraphics[width=0.6\textwidth]{images/preamble/logo.png} \\
|
||||||
\vspace{2cm}
|
\vspace{1.5cm}
|
||||||
|
|
||||||
\textbf{\Huge DIPLOMARBEIT} \\
|
\textbf{\Huge DIPLOMARBEIT} \\
|
||||||
\vspace{1cm}
|
\vspace{1cm}
|
||||||
\textbf{\huge AlumniHub} \\
|
\textbf{\huge AlumniHub} \\
|
||||||
\vspace{0.5cm}
|
\vspace{0.5cm}
|
||||||
\textit{\Large Zentrale Plattform für den Absolventenverein des SZ HTL HAK Ungargasse}
|
\textit{\Large Plattform für den Absolventenverein des SZ HTL HAK Ungargasse}
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
||||||
\vspace{2cm}
|
\vspace{1.75cm}
|
||||||
|
|
||||||
\begin{minipage}[t]{0.5\textwidth}
|
\begin{minipage}[t]{0.5\textwidth}
|
||||||
\textbf{Verfasser:} \\
|
\textbf{Verfasser:} \\
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
Prof. Thomas Gürth
|
Prof. Thomas Gürth
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
|
||||||
\vspace{1cm}
|
\vspace{0.5cm}
|
||||||
|
|
||||||
\begin{minipage}[t]{0.5\textwidth}
|
\begin{minipage}[t]{0.5\textwidth}
|
||||||
\textbf{Klasse:} \\
|
\textbf{Klasse:} \\
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
2025/26
|
2025/26
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
|
||||||
\vspace{1cm}
|
\vspace{0.75cm}
|
||||||
|
|
||||||
\begin{minipage}[t]{0.5\textwidth}
|
\begin{minipage}[t]{0.5\textwidth}
|
||||||
\textbf{Abgabevermerk:} \\
|
\textbf{Abgabevermerk:} \\
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
\hrulefill
|
\hrulefill
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
|
||||||
\vspace{0.5cm}
|
\vspace{0.25cm}
|
||||||
|
|
||||||
\textbf{übernommen von:} \\
|
\textbf{übernommen von:} \\
|
||||||
\hrulefill
|
\hrulefill
|
||||||
@@ -103,9 +103,13 @@ The diploma thesis "AlumniHub" focuses on the development of a central portal fo
|
|||||||
|
|
||||||
\newpage
|
\newpage
|
||||||
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
||||||
|
\
|
||||||
\setcounter{page}{1}
|
\setcounter{page}{1}
|
||||||
|
|
||||||
\makeatletter
|
\makeatletter
|
||||||
|
\renewcommand{\tableofcontents}{%
|
||||||
|
\@starttoc{toc}%
|
||||||
|
}
|
||||||
\renewcommand{\listoffigures}{%
|
\renewcommand{\listoffigures}{%
|
||||||
\@starttoc{lof}%
|
\@starttoc{lof}%
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
\cleardoublepage
|
\cleardoublepage
|
||||||
|
\pagestyle{fancy}
|
||||||
|
\pagenumbering{arabic}
|
||||||
|
|
||||||
# Einleitung Allgemeiner Teil
|
# Einleitung Allgemeiner Teil
|
||||||
|
|
||||||
|
|||||||
@@ -6,3 +6,27 @@
|
|||||||
\usepackage[hyphens]{url}
|
\usepackage[hyphens]{url}
|
||||||
\usepackage[hidelinks]{hyperref}
|
\usepackage[hidelinks]{hyperref}
|
||||||
\setlength{\emergencystretch}{3em} % Prevent overfull lines
|
\setlength{\emergencystretch}{3em} % Prevent overfull lines
|
||||||
|
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
|
||||||
|
% Define the fancy style but don't activate yet
|
||||||
|
\fancypagestyle{fancy}{
|
||||||
|
\fancyhf{} % clear all header and footer fields
|
||||||
|
\fancyhead[RO,LE]{\includegraphics[height=1.5cm]{images/preamble/logo.png}}
|
||||||
|
\fancyhead[LO,RE]{\nouppercase{\leftmark}}
|
||||||
|
\fancyfoot[RO,LE]{\thepage}
|
||||||
|
\renewcommand{\headrulewidth}{0.4pt}
|
||||||
|
\renewcommand{\footrulewidth}{0.4pt}
|
||||||
|
\newgeometry{top=2.5cm, bottom=2cm, left=3cm, right=2cm, includehead, includefoot}
|
||||||
|
\setlength{\headheight}{50pt}
|
||||||
|
\setlength{\footskip}{30pt}
|
||||||
|
}
|
||||||
|
|
||||||
|
\renewcommand{\sectionmark}[1]{\markboth{#1}{}} % Set section title to \leftmark
|
||||||
|
|
||||||
|
% Default style for preamble/TOC
|
||||||
|
\pagestyle{plain}
|
||||||
|
\fancyhf{}
|
||||||
|
\fancyfoot[C]{\thepage}
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\renewcommand{\footrulewidth}{0pt}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pandoc \
|
pandoc \
|
||||||
|
00-toc.md \
|
||||||
01-Allgemein.md \
|
01-Allgemein.md \
|
||||||
02-Diplomarbeitsbuch-individueller-teil-Adam-Gaiswinkler.md \
|
02-Diplomarbeitsbuch-individueller-teil-Adam-Gaiswinkler.md \
|
||||||
03-Diplomarbeitsbuch-individueller-teil-Florian-Edlmayer.md \
|
03-Diplomarbeitsbuch-individueller-teil-Florian-Edlmayer.md \
|
||||||
@@ -7,8 +8,6 @@ pandoc \
|
|||||||
97-tabellenverzeichnis.md \
|
97-tabellenverzeichnis.md \
|
||||||
98-abbildungsverzeichnis.md \
|
98-abbildungsverzeichnis.md \
|
||||||
99-bibliographie.md \
|
99-bibliographie.md \
|
||||||
--toc \
|
|
||||||
--toc-depth=3 \
|
|
||||||
--number-sections \
|
--number-sections \
|
||||||
--lua-filter _extensions/diagram/diagram.lua \
|
--lua-filter _extensions/diagram/diagram.lua \
|
||||||
--syntax-definition _extensions/razor/razor.xml \
|
--syntax-definition _extensions/razor/razor.xml \
|
||||||
@@ -16,8 +15,11 @@ pandoc \
|
|||||||
--bibliography sources.bib \
|
--bibliography sources.bib \
|
||||||
--include-before-body 00_preamble.tex \
|
--include-before-body 00_preamble.tex \
|
||||||
-H _extensions/header/header.tex \
|
-H _extensions/header/header.tex \
|
||||||
-V geometry:margin=2cm \
|
-V geometry:"top=2.5cm, bottom=2cm, left=3cm, right=2cm" \
|
||||||
-V toc-title="Inhaltsverzeichnis" \
|
-V toc-title="Inhaltsverzeichnis" \
|
||||||
|
-V classoption=twoside \
|
||||||
-V fontsize=12pt \
|
-V fontsize=12pt \
|
||||||
-V linestretch=1.5 \
|
-V linestretch=1.5 \
|
||||||
-o diplomarbeitsbuch.pdf
|
-o diplomarbeitsbuch.pdf
|
||||||
|
# --toc \
|
||||||
|
# --toc-depth=3 \
|
||||||
Reference in New Issue
Block a user