Commit c957b566 authored by Alexander Bartolomey's avatar Alexander Bartolomey

added state from parent repo

parent e067d984
\mode<presentation>
% Yes, these definitions are from the rwth-template
% \definecolor{rwth} {RGB}{ 0 84 159}
% \definecolor{rwth-75}{RGB}{ 64 127 183}
% \definecolor{rwth-50}{RGB}{142 186 229}
% \definecolor{rwth-25}{RGB}{199 221 242}
% \definecolor{rwth-10}{RGB}{232 241 250}
\definecolor{polynom-blue}{RGB}{41 98 255}
\definecolor{polynom-space-grey}{RGB}{51 51 51}
\definecolor{polynom-white}{RGB}{255 255 255}
\definecolor{polynom-blue-dark}{RGB}{0 39 148}
\definecolor{polynom-blue-darker}{RGB}{0 32 96}
% All the other colors
% Secondary colors
\definecolor{black} {RGB}{ 0 0 0}
\definecolor{black-75}{RGB}{100 101 103}
% \definecolor{grun} {RGB}{ 87 171 39}
% \definecolor{grun-75}{RGB}{141 192 96}
% \definecolor{grun-50}{RGB}{184 214 152}
% \definecolor{grun-25}{RGB}{221 235 206}
% \definecolor{grun-10}{RGB}{242 247 236}
% \definecolor{rot} {RGB}{204 7 30}
% \definecolor{rot-75}{RGB}{216 92 65}
% \definecolor{rot-50}{RGB}{230 150 121}
% \definecolor{rot-25}{RGB}{243 205 187}
% \definecolor{rot-10}{RGB}{250 235 227}
% Main colors
\setbeamercolor*{normal text}{fg=polynom-space-grey}
\setbeamercolor*{structure}{fg=polynom-blue}
\setbeamercolor{palette primary}{ use=structure,fg=structure.fg,bg=polynom-blue}
\setbeamercolor{palette secondary}{ use=structure,fg=structure.fg,bg=polynom-blue-dark}
\setbeamercolor{palette tertiary}{ use=structure,fg=structure.fg,bg=polynom-blue-darker}
\setbeamercolor{palette quaternary}{use=structure,fg=structure.fg,bg=polynom-blue-darker}
% Sidebar
\setbeamercolor*{sidebar}{parent=palette primary}
\setbeamercolor*{palette sidebar primary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar secondary}{use=structure,fg=structure.fg}
\setbeamercolor*{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
\setbeamercolor*{palette sidebar quaternary}{use=structure,fg=structure.fg}
% Outer structure
\setbeamercolor{frametitle}{fg=polynom-space-grey}
\setbeamercolor{title}{fg=polynom-space-grey}
\setbeamercolor{subtitle}{fg=polynom-space-grey}
\setbeamercolor{author}{fg=polynom-space-grey}
\setbeamercolor{date}{fg=polynom-space-grey}
\setbeamercolor{section}{fg=polynom-space-grey}
% Blocks and special text
\setbeamercolor*{block title}{fg=palette primary.fg, bg=polynom-white}
\setbeamercolor{block body}{bg=polynom-white}
% \setbeamercolor*{example text}{fg=grun}
% \setbeamercolor{block title example}{bg=grun-25}
% \setbeamercolor{block body example}{bg=grun-10}
% \setbeamercolor*{alerted text}{fg=rot}
% \setbeamercolor{block title alerted}{bg=rot-25}
% \setbeamercolor{block body alerted}{bg=rot-10}
% Title page header bar
\setbeamercolor{title page bar}{fg=polynom-blue}
\mode<all>
\mode<presentation>
% We want spacing of 1.5. This are the already calculated
% sizes:
% {16pt}{24pt}
% {18pt}{27pt}
% {20pt}{30pt}
% {22pt}{33pt}
%
% Note that we will not have headers or footers, so we will not set any
% attributes for them
% Current normal font does nothing, but may change
\setbeamerfont{normal text}{size*={22pt}{33pt}}
% Force normal font this way
\AtBeginDocument{\fontsize{22}{33}\selectfont}
% Author is specific for our template!
\setbeamerfont{author}{size*={18pt}{27.6pt}}
\setbeamerfont{title}{size*={50pt}{75pt},series=\bfseries}
\setbeamerfont{frametitle}{size*={50pt}{75pt},series=\bfseries}
\setbeamerfont{itemize item}{size*={24pt}{33pt}}
\setbeamerfont{itemize subitem}{size*={18pt}{27pt}}
\setbeamerfont{itemize subsubitem}{size*={18pt}{27pt}}
\setbeamerfont{enumerate item}{size*={22pt}{33pt}}
\setbeamerfont{enumerate subitem}{size*={18pt}{27pt}}
\setbeamerfont{enumerate subsubitem}{size*={18pt}{27pt}}
\setbeamerfont{itemize/enumerate body}{size*={22pt}{33pt}}
\setbeamerfont{itemize/enumerate subbody}{size*={18pt}{27pt}}
\setbeamerfont{itemize/enumerate subsubbody}{size*={18pt}{27pt}}
\setbeamerfont{block title}{size*={22pt}{33pt}}
% Print alert in bold as not to rely only on color for emphasis
\setbeamerfont{alerted text}{series=\bfseries}
\setbeamerfont{block title alerted}{series=\mdseries}
\mode<all>
\mode<presentation>
\RequirePackage{tikz}
\RequirePackage{calc}
\RequirePackage{ifthen}
% For conditionals
\def\prjktn@inner@false{f}
\def\prjktn@inner@true{t}
\DeclareOptionBeamer{sectiontitles}{\def\prjktn@inner@sectiontitles{#1}}
\ExecuteOptionsBeamer{sectiontitles=t} % default value
\ProcessOptionsBeamer
% t= true, anything else disables them, t is default
\providecommand\inserttitle{}
\providecommand\insertsubtitle{}
\usetikzlibrary{calc}
% #1: Color
% #2: Image path (can be empty))
\newcommand{\prjktn@titlepagebox}[2]{
\tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.north west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$);
\ifthenelse{\equal{#2}{}}{}{
\node[inner sep=0pt] (picture) at ($(current page.north
west)+(0.5\paperwidth,-.5\titlebarheight)$) {
\includegraphics[width=\paperwidth]{#2}};}
}
}
\newcommand{\prjktn@inversetitlepagebox}[2]{
\tikz[overlay, remember picture] {
\fill[color=#1] ($(current page.south west)$) rectangle
($(current page.north east)+(0,-\titlebarheight)$);
\ifthenelse{\equal{#2}{}}{}{
\node[inner sep=0pt] (picture) at ($(current page.north
west)+(0.5\paperwidth,-.5\titlebarheight)$) {
\includegraphics[width=\paperwidth]{#2}};}
}
}
\newcommand{\prjktn@debug@cross}{
\tikz[overlay, remember picture] {
\draw[color=red] (current page.north)
-- (current page.south);
\draw[color=red] (current page.west)
-- (current page.east);
}
}
\defbeamertemplate*{background}{projektion}{}
%%%
% Title page
%%%
\defbeamertemplate{title page}{projektion}[1][]{
\usebeamercolor{title page bar}
\prjktn@titlepagebox{fg}{}
\tikz[overlay, remember picture]{
% Insert title
% TODO text field should be bound on the left to prevent it
% (a) from overfilling the hbox and
% (b) extending the safe-space of the page itself
\node[anchor=east] (title) at ($(current page.south west)+(0.7\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{title}\inserttitle{}};
% Paint Line
\draw[line width=1pt,color=fg] ($(current page.south west)
+ (0.725\paperwidth,.5\paperheight-.5\titlebarheight+.75\titleheight)$)
-- ($(current page.south west)
+ (0.725\paperwidth,.5\paperheight-.5\titlebarheight-.75\titleheight)$);
\usebeamercolor{author}
% Insert author
\node[color=fg,anchor=west, text width=.2\paperwidth] (author) at ($(current page.south west)
+ (0.75\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{author}\insertauthor};
}
}
%%%
% Section Titles page
%%%
\defbeamertemplate{section title}{projektion}{
\usebeamercolor{palette secondary}
\prjktn@titlepagebox{bg}{}
\tikz[overlay, remember picture]{
% Insert title
\node[anchor=east] (title) at ($(current page.south west)+(0.7\paperwidth,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{title}\insertsectionhead};
% Paint Line
\draw[line width=1pt,color=bg] ($(current page.south west)
+ (0.725\paperwidth,.5\paperheight-.5\titlebarheight+.75\titleheight)$)
-- ($(current page.south west)
+ (0.725\paperwidth,.5\paperheight-.5\titlebarheight-.75\titleheight)$);
}
}
\if\prjktn@inner@sectiontitles\prjktn@inner@true
\AtBeginSection[]{
\setbeamertemplate{section title}[projektion]{}
\begin{frame}[plain]
\usebeamertemplate{section title}
\end{frame}
}
\else
\fi
%%%
% Template for final slide
%%%
\defbeamertemplate{final page}{projektion}[2][]{
\usebeamercolor{title page bar}
\prjktn@inversetitlepagebox{fg}{}
\tikz[overlay, remember picture]{
% Insert title
\node (finalOne) at ($(current page.south west)+(0.5\paperwidth,\titlebarheight)$)
{\usebeamerfont{title}#1};
% Insert author
\node[color=white] (finalTwo) at ($(current page.south) + (0,.5\paperheight-.5\titlebarheight)$)
{\usebeamerfont{title}#2};
}
}
%%%
% Items
%%%
\defbeamertemplate*{itemize item}{bullet}{}
\defbeamertemplate*{itemize subitem}{bar}{\textendash}
\defbeamertemplate*{itemize subsubitem}{sq}{\fontsize{8pt}{8pt}\selectfont}
\setbeamertemplate{enumerate item}{\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\roman{enumii}.}
\setbeamertemplate{enumerate subsubitem}{\Roman{enumiii}.}
%%%
% Margins
%%%
\setbeamersize{text margin left=\leftmargin}
\setbeamersize{text margin right=\rightmargin}
\mode<all>
\ No newline at end of file
\mode<presentation>
\RequirePackage{calc}
\RequirePackage{graphicx}
\defbeamertemplate*{footertext}{projektion}{}
\defbeamertemplate*{footertextextra}{projektion}{}
\setlength{\headsep}{0pt}
\makeatletter
\newlength\leftmarrr
\setlength{\leftmarrr}{\beamer@leftmargin}
\makeatother
\makeatletter
\define@key{beamerframe}{t}[true]{% top
\beamer@frametopskip=\titleheight\relax%
\beamer@framebottomskip=0pt plus 1fill\relax%
\beamer@frametopskipautobreak=\beamer@frametopskip\relax%
\beamer@framebottomskipautobreak=\beamer@framebottomskip\relax%
\def\beamer@initfirstlineunskip{%
\def\beamer@firstlineitemizeunskip{%
\vskip-\partopsep\vskip-\topsep\vskip-\parskip%
\global\let\beamer@firstlineitemizeunskip=\relax}%
\everypar{\global\let\beamer@firstlineitemizeunskip=\relax}}
}
\makeatother
%%%
% Header
%%%
\defbeamertemplate*{headline}{polynom-blue}{}
%%%
% Frame title
%%%
\newlength\vertlinebase
\makeatletter
\defbeamertemplate*{frametitle}{projektion}
{
\ifthenelse{\equals{\@framesubtitle}{}}
{\setlength{\vertlinebase}{1ex}}
{\setlength{\vertlinebase}{0pt}}
\usebeamercolor{title page bar}
\vskip1.5\titleheight
\hspace{-1em}
\tikz[baseline=\vertlinebase]{
\draw[line width=1pt,color=fg] (0,0)--(0,1.75\titleheight);
}
\hspace{8pt}
% \ifthenelse{\equals{\@framesubtitle}{}}
% {\vskip 0pt}
% {\vskip 18pt}
\vbox{
\fontsize{36pt}{0pt}\selectfont\insertframesubtitle\\
\fontsize{50pt}{40pt}\selectfont\insertframetitle
}
}
\makeatother
%%%
% Footer
%%%
\defbeamertemplate*{footline}{projektion}{
\usebeamercolor{title page bar}
\tikz[overlay, remember picture]{
\draw[color=fg,fill] (current page.south west) rectangle ($(current
page.south west)+(\insertframenumber * (\paperwidth/\inserttotalframenumber, .5mm)$)
}
}
\defbeamertemplate*{sidebar left}{projektion}{}
\defbeamertemplate*{sidebar right}{projektion}{}
\setbeamersize{sidebar width left=0pt}
\setbeamersize{sidebar width right=0pt}
\defbeamertemplate*{navigation symbols}{projektion}{}
\mode<all>
\ No newline at end of file
% Polynom-Beamer style.
% Based uppon a PowerPoint-Template by Alexander Bartolomey
%
% Author: Adrian C. Hinrichs & Alexander Bartolomey
% Version: 2018-09-13
\mode<presentation>
%This template uses a 16:9 paper-format
\geometry{paperwidth=33.867cm,paperheight=19.05cm}
\newlength{\titlepagelinewidth}
\setlength{\titlepagelinewidth}{.7\paperwidth}
\newlength{\titleheight}
\setlength{\titleheight}{1.5cm}
\newlength{\titlebarheight}
\setlength{\titlebarheight}{0.66\paperheight}
\setlength{\rightmargin}{.1\paperwidth}
\setlength{\leftmargin}{.1\paperwidth}
\setlength{\leftmargini}{1em}
\setlength{\leftmarginii}{3em}
\setlength{\leftmarginiii}{3em}
% Load all the parts
\DeclareOptionBeamer{sectiontitles}{
\PassOptionsToPackage{sectiontitles=#1}{beamerinnerthemeprojektion}
}
\ProcessOptionsBeamer
\useinnertheme{projektion}
\useoutertheme{projektion}
\usecolortheme{projektion}
\usefonttheme{projektion}
\mode<all>
\ No newline at end of file
% This file provides an example Beamer presentation using the RWTH theme
% showcasing some of the more common options, similar to the Powerpoint version
% 12.11.2014: Revision 1 (Harold Bruintjes, Tim Lange)
% For RWTH, beamer should be loaded with class option t (top)
\documentclass[t]{beamer}
%\usepackage[utf8]{inputenc}
\RequirePackage{ifthen}
% Use fontspec to get Arial font
% Requires use of XeLaTeX
\usepackage{fontspec}
\setmainfont{Product Sans}
\setsansfont{Product Sans}
% Also force Arial for math for a more consistent look
%\usepackage{unicode-math}
%\setmathfont{Arial}
% German style date formatting (footer)
\usepackage[ddmmyyyy]{datetime}
\renewcommand{\dateseparator}{.}
% Format the captions used for figures etc.
\usepackage[compatibility=false]{caption}
\captionsetup{singlelinecheck=off,justification=raggedleft,labelformat=empty,labelsep=none}
% Load the actual RWTH theme. Suggested is to load the full theme,
% as it requires some specific dimensions
\usetheme{projektion}
% Setup presentation information
\title{Testing: Gitlab-CI}
\subtitle{}
\date[RWTH]{Maschinelle Übersetzung\enskip \enskip\today}
\author{Alexander Bartolomey}
\institute[RWTH]{RWTH Aachen University}
% Set the logo to the file `logo`
% It will be scaled automatically
\logo{}
% Uncomment this if you want a TOC at every section start
%\AtBeginSection{\frame{
% \frametitle{Content}
% \tableofcontents[currentsection]
%}}
\begin{document}
% Note: Title pages should be created as plain
% Title page with a blue bar
\setbeamercolor{title page bar}{fg=polynom-blue}
\setbeamertemplate{title page}[projektion]{}
\begin{frame}[plain]
\titlepage{}
\end{frame}
% Title page with a 1/3rd size picture
%\setbeamercolor{title page bar}{fg=white}
%\setbeamertemplate{title page}[rwth][title_small]{}
%\begin{frame}[plain]
%\titlepage
%\end{frame}
% Title page with a 2/3rd size picture
%\setbeamertemplate{title page}[rwth2][title_large]{}
%\begin{frame}[plain]
%\titlepage
%\end{frame}
% Start a new section (text is displayed on top of a frame)
% Frame with items
\begin{frame}
\framesubtitle{Test:}
\frametitle{Inhalt}
\end{frame}
\section{Pytest}
\begin{frame}
\frametitle{Pytest}
Auf dieser Folie steht ein Fließtext, auch wenn man dies eigentlich
bei Folien lassen sollte. Da hier aber ein Fließtext sthet, kann
ich die rechten und linken ränder so wie das umbruchverhalten begutachten.
\end{frame}
% \begin{frame}{Warum Testing?}
% \begin{itemize}
% \item \emph{Spontante Desintegration} der Ariane 5
% \item \emph{Spontante Desintegration} des Mars Climate Orbiters
% \item \emph{Spontante Desintegration} der Delta 3
% \end{itemize}
% \end{frame}
\begin{frame}{Frame title}
\begin{itemize}
\item First\alert{level}
\begin{itemize}
\item Second level
\begin{itemize}
\item Third level
\end{itemize}
\end{itemize}
\end{itemize}
\end{frame}
\setbeamertemplate{final page}[projektion][Noch Fragen?]{Danke für
eure Aufmerksamkeit!}
\begin{frame}[plain]
\usebeamertemplate{final page}
\end{frame}
\end{document}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment