summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-05-21 14:32:55 +0200
committerNao Pross <np@0hm.ch>2021-05-21 14:32:55 +0200
commitddaef5f42d4f32207e1fcb270ede25ce57f3876a (patch)
treed0deea2ee331b64e6a372e22706a0ae100dc0fb8
downloadTKI-doku-ddaef5f42d4f32207e1fcb270ede25ce57f3876a.tar.gz
TKI-doku-ddaef5f42d4f32207e1fcb270ede25ce57f3876a.zip
First commit
Diffstat (limited to '')
-rw-r--r--CLYN-Mobility.tex62
-rw-r--r--Makefile19
-rw-r--r--build/CLYN-Mobility.pdfbin0 -> 11840 bytes
-rw-r--r--tex/Makefile.inc1
-rw-r--r--tex/docstyle.sty101
5 files changed, 183 insertions, 0 deletions
diff --git a/CLYN-Mobility.tex b/CLYN-Mobility.tex
new file mode 100644
index 0000000..d0c86b2
--- /dev/null
+++ b/CLYN-Mobility.tex
@@ -0,0 +1,62 @@
+\documentclass[a4paper]{article}
+
+%
+% Packages
+%
+
+%% styling for this document
+\usepackage{tex/docstyle}
+
+\usepackage{polyglossia}
+\setdefaultlanguage[variant = swiss]{german}
+
+%
+% Metadata
+%
+
+\title{
+ CLYN Mobility: \\
+ {\huge Haltestelle und Stundenplanoptimierung}
+}
+\author{
+ Nagel Livio, Pross Naoki, Rickli Yves, Rohner C\'eline
+}
+\date{\today}
+
+%
+% Document
+%
+
+
+\begin{document}
+\maketitle
+
+% \begin{abstract}
+% \end{abstract}
+
+\tableofcontents
+
+\section{Einleitung}
+
+Der Campus der Hochschule für Technik OST in Rapperswil verfügt über ein
+Nebengeb\"aude in Eichwies, in dem Maschinenbau- und Umwelttechniker Kurslabore
+haben. Um den Eichweiser Campus zu erreichen, gab es nur wenige
+M\"oglichkeiten, n\"amlich: 15 - 20 Minuten zu Fuss zu gehen, sich auf die
+\"offentlichen Verkehrsmittel zu verlassen, deren Fahrpl\"ane nicht auf die
+Vorlesungen abgestimmt sind oder mit dem Fahrrad zu fahren, sofern man eines
+besitzt. Aus diesem Grund wurde eine \"Ubergangsl\"osung mit einem Shuttlebus
+von Rapperswil nach Eichwies eingerichtet. Dies war jedoch mit hohen Kosten
+verbunden, und der abrupte Wechsel zur Online-Schule, verursacht durch die
+Corona-Pandemie, machte die Busl\"osung sehr kostenineffizient.
+
+\section{Ist-Zustand}
+\subsection{Shuttle Bus}
+\subsection{Stundenplanoptimierung}
+
+\section{Soll-Zustand}
+
+\section{L\"osungen}
+\subsection{Haltestelle}
+\subsection{Stundenplanoptimierung}
+
+\end{document}
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f864963
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+TEX := xelatex
+TEXARGS := --output-directory=build --halt-on-error
+
+DOCNAME := CLYN-Mobility
+SOURCES := $(DOCNAME).tex
+
+include tex/Makefile.inc
+
+.PHONY: clean
+all: build/$(DOCNAME).pdf
+
+clean:
+ @rm -rfv build
+
+build/$(DOCNAME).pdf : $(SOURCES)
+ mkdir -p build
+ $(TEX) $(TEXARGS) $<
+ $(TEX) $(TEXARGS) $<
+
diff --git a/build/CLYN-Mobility.pdf b/build/CLYN-Mobility.pdf
new file mode 100644
index 0000000..f9e6134
--- /dev/null
+++ b/build/CLYN-Mobility.pdf
Binary files differ
diff --git a/tex/Makefile.inc b/tex/Makefile.inc
new file mode 100644
index 0000000..7492feb
--- /dev/null
+++ b/tex/Makefile.inc
@@ -0,0 +1 @@
+SOURCES += tex/docstyle.sty
diff --git a/tex/docstyle.sty b/tex/docstyle.sty
new file mode 100644
index 0000000..a442e32
--- /dev/null
+++ b/tex/docstyle.sty
@@ -0,0 +1,101 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{tex/docstyle}[2021/02/26 v0.1 Styling for a Sans-Serif report]
+
+%% Margins
+\RequirePackage{geometry}
+\newgeometry{margin=2.5cm, top=3cm, bottom=3cm}
+
+%% Set math font to sans-serif
+%% Note: must be set before text font
+\RequirePackage{cmbright}
+\RequirePackage{sfmath}
+
+%% Set font to sans-serif
+\RequirePackage{fontspec}
+\PassOptionsToPackage{
+ usefilenames,
+ DefaultFeatures = {
+ Ligatures = Common
+ }
+}{plex-otf}
+\RequirePackage{plex-otf}
+\renewcommand*{\familydefault}{\sfdefault}
+
+%% Headers and footers
+\RequirePackage{fancyhdr}
+\fancypagestyle{docstyle}{
+ \fancyhf{} % clear currrent values
+ \fancyhead[L]{\itshape\leftmark}
+ \fancyhead[R]{}
+ \fancyfoot[C]{\thepage}
+ \renewcommand{\headrulewidth}{0pt}
+}
+\pagestyle{docstyle} % apply style
+
+%% Title style
+\RequirePackage{titling}
+\setlength{\droptitle}{-1cm}
+\pretitle{
+ \begin{flushleft}
+ \bfseries\Huge
+}
+\posttitle{
+ \end{flushleft}
+ \large
+}
+\preauthor{
+ \begin{flushleft}
+ \large
+}
+\postauthor{
+ \end{flushleft}
+}
+\predate{
+ \begin{flushleft}
+}
+\postdate{
+ \par\end{flushleft}
+}
+
+%% Link colors
+\RequirePackage{xcolor}
+\PassOptionsToPackage{
+ plainpages=false,
+ pdfpagelabels,
+ pdfusetitle,
+ colorlinks = true,
+ linkcolor = darkgray!50!black,
+ urlcolor = blue!60!black,
+ citecolor = black,
+ anchorcolor = black
+}{hyperref}
+\RequirePackage{hyperref}
+
+%% Source code listings
+\RequirePackage{listings}
+\lstset{
+ belowcaptionskip=\baselineskip,
+ breaklines=true,
+ frame=none,
+ inputencoding=utf8,
+ % margin
+ xleftmargin=\parindent,
+ % numbers
+ numbers=left,
+ numbersep=5pt,
+ numberstyle=\ttfamily\footnotesize\color{gray},
+ % background
+ backgroundcolor=\color{white},
+ showstringspaces=false,
+ % default language
+ language=[LaTeX]TeX,
+ % break long lines, and show an arrow where the line was broken
+ breaklines=true,
+ % postbreak=\mbox{\textcolor{blue!60!black}{$\hookrightarrow$}\space},
+ % font
+ basicstyle=\ttfamily\small,
+ identifierstyle=\color{black},
+ keywordstyle=\color{blue!60!black},
+ commentstyle=\color{red!60!black},
+ stringstyle=\color{orange!60!black},
+}