Latex-spielerei

This commit is contained in:
madmaurice 2017-07-14 16:31:17 +02:00
parent e6720ad3df
commit cc8e391a28
2 changed files with 20 additions and 16 deletions

View file

@ -1,12 +1,6 @@
\newcommand{\theheading}{}
\newcommand{\heading}[1]{\gdef\theheading{#1}}
\newcommand{\thetopic}{}
\newcommand{\topic}[1]{\gdef\thetopic{#1}}
\newcommand{\thewriter}{}
\newcommand{\writer}[1]{\gdef\thewriter{#1}}
\newcommand{\theleftbox}{}
\newcommand{\leftbox}[1]{\gdef\theleftbox{#1}}
@ -19,9 +13,9 @@
\begin{center}%
\hrule\vspace{0.4cm}%
{\Large\textbf{\theheading}\par}%
{\linespread{0.8}\Large\thetopic\par}%
{\linespread{0.8}\Large\makeatletter\@title\makeatother\par}%
\vspace{0.2cm}%
{\thewriter}%
{\makeatletter\@author\makeatother}%
\vspace{0.6cm}\hrule%
\end{center}%
\vfill{}%
@ -35,5 +29,5 @@
\therightbox%
\end{flushright}%
\end{minipage}%
\end{titlepage}\ignorespaces}
\end{titlepage}\ignorespaces\makeatletter\gdef\@title\empty\gdef\@author\empty\makeatother}

View file

@ -1,21 +1,25 @@
\documentclass[titlepage,a5paper,12pt]{scrartcl}
\documentclass[titlepage,a4paper,12pt]{article}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{customtitle}
%\newcounter{RegelCounter}
%\setcounter{RegelCounter}{1}
%\newcommand{\regel}[1]{\par\noindent\textbf{Regel \theRegelCounter: } #1\stepcounter{RegelCounter}\par}
\newcounter{RegelCounter}
\setcounter{RegelCounter}{1}
\newcommand{\regel}[1]{\par\noindent\textbf{Regel \theRegelCounter: } #1\stepcounter{RegelCounter}\par}
\newenvironment{regel}{\noindent{\large\textbf{Regel \theRegelCounter:}\\}}{\stepcounter{RegelCounter}\par}
% For title page
\newcommand{\thx}[2]{\textbf{#1}\\#2\par}
% Info on titlepage
\heading{Studienarbeit}
\topic{Trace-basierte Verifikation der FPGA-Implementierung eines MIPS-Prozessors}
\writer{Valentin Gehrke}
\title{Trace-basierte Verifikation der FPGA-Implementierung eines MIPS-Prozessors}
\author{Valentin Gehrke}
\leftbox{
\thx{Betreuer}{Martin Zabel}
}
@ -37,9 +41,15 @@
\subsection{Regeln}
\regel{Kein Gummi}
\regel{Baum}
\regel{Geilo}
\begin{regel}
Kein Gummi
\end{regel}
\begin{regel}
Baum
\end{regel}
\begin{regel}
K"ase
\end{regel}
\subsection{Was ist ein A-Schlauch?}