New \maketitle, metadata

This commit is contained in:
Beat Jäckle 2022-10-12 13:18:45 +02:00
parent 9c0a837fe7
commit 780837f23b
5 changed files with 70 additions and 34 deletions

View file

@ -0,0 +1,3 @@
\ProvidesPackage{enviromentBeatJaeckle}
\usepackage{titlepage}
\usepackage[parfill]{parskip}

View file

@ -1,3 +1,4 @@
\ProvidesPackage{enviromentOliverRietmann}
\usepackage[a4paper,total={160mm,250mm}]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[ruled,vlined]{algorithm2e}
@ -11,7 +12,7 @@
\usepackage{dirtree}
\usepackage{enumitem}
\usepackage{graphicx}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}
\usepackage[colorlinks=true,linkcolor=blue,pdfusetitle]{hyperref}
\usepackage{listings}
\usepackage{mathtools}
\usepackage{mdframed}

BIN
template.pdf Normal file

Binary file not shown.

View file

@ -1,40 +1,24 @@
\documentclass[12pt,a4paper]{article}
\include{enviromentOliverRietmann.sty}
\usepackage[parfill]{parskip}
\usepackage{enviromentOliverRietmann}
\usepackage{enviromentBeatJaeckle}
\title{TODO Titel}
\author{TODO Autor}
\date{\today}
\supervisor{Dr. Pr. TODO}
\project{Mentorierte Arbeit in Fachdidaktik Mathematik}
%\project{Mentorierte Arbeit in fachwissenschaftlicher Vertiefung mit pädagogischem Fokus in Mathematik}
\content{TOOD Inhalt}
\targetaudience{TODO Zielpublikum}
\requirements{TODO Voraussetzungen}
\form{TODO Form}
\hypersetup{pdfusetitle}
\begin{document}
\begin{titlepage}
{\hspace{-1cm}\includegraphics[width=0.3\textwidth]{images/ETHlogo}\par}
\vspace{1cm}
\begin{center}
{\scshape Mentorierte Arbeit in Fachdidaktik Mathematik\par}
\vspace{1cm}
{\large\bfseries TODO TITLE\par}
TODO AUTHOR
\vfill
\end{center}
\textbf{Inhalt}\\
TODO
\textbf{Zielpublikum}\\
TODO
\textbf{Voraussetzungen}\\
TODO
\textbf{Form}\\
TODO
\textbf{Betreuung}\\
TODO
\textbf{Datum}\\
\today
\maketitle
\end{titlepage}
%\maketitle
%\tableofcontents
\part{Lernskript: Thema}
\section{Hallo Leser}

48
titlepage.sty Normal file
View file

@ -0,0 +1,48 @@
\usepackage{titling}
\newcommand*{\project}[1]{\gdef\@project{#1}}
\newcommand*{\@project}{Final Year Project}
\newcommand*{\supervisor}[1]{\gdef\@supervisor{#1}}
\newcommand*{\@supervisor}{\texttt{TODO: Set \string\supervisor\string{...\string}}}
\newcommand*{\content}[1]{\gdef\@content{#1}}
\newcommand*{\@content}{\texttt{TODO: Set \string\content\string{...\string}}}
\newcommand*{\targetaudience}[1]{\gdef\@targetaudience{#1}}
\newcommand*{\@targetaudience}{\texttt{TODO: Set \string\targetaudience\string{...\string}}}
\newcommand*{\requirements}[1]{\gdef\@requirements{#1}}
\newcommand*{\@requirements}{\texttt{TODO: Set \string\requirements\string{...\string}}}
\newcommand*{\form}[1]{\gdef\@form{#1}}
\newcommand*{\@form}{\texttt{TODO: Set \string\form\string{...\string}}}
\renewcommand{\maketitle}{%
{\hspace{-1cm}\includegraphics[width=0.3\textwidth]{images/ETHlogo}\par}
\vspace{1cm}
\begin{center}
{\scshape\@project\par}
\vspace{1cm}
{\large\bfseries \thetitle\par}
\theauthor
\vfill
\end{center}
\textbf{Inhalt}\\
\@content
\textbf{Zielpublikum}\\
\@targetaudience
\textbf{Voraussetzungen}\\
\@requirements
\textbf{Form}\\
\@form
\textbf{Betreuung}\\
\@supervisor
\textbf{Datum}\\
\thedate
}