summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/urcls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/urcls
Initial commit
Diffstat (limited to 'macros/latex/contrib/urcls')
-rw-r--r--macros/latex/contrib/urcls/README.md60
-rw-r--r--macros/latex/contrib/urcls/example/URadressdaten-DEMO.lco71
-rw-r--r--macros/latex/contrib/urcls/example/URbeamer-DEMO.pdfbin0 -> 387508 bytes
-rw-r--r--macros/latex/contrib/urcls/example/URbeamer-DEMO.tex231
-rw-r--r--macros/latex/contrib/urcls/example/URletter-DEMO.pdfbin0 -> 313154 bytes
-rw-r--r--macros/latex/contrib/urcls/example/URletter-DEMO.tex194
-rw-r--r--macros/latex/contrib/urcls/example/URpagestyles-DEMO.pdfbin0 -> 206898 bytes
-rw-r--r--macros/latex/contrib/urcls/example/URpagestyles-DEMO.tex203
-rw-r--r--macros/latex/contrib/urcls/tex/URbeamer.cls76
-rw-r--r--macros/latex/contrib/urcls/tex/URcolors.sty142
-rw-r--r--macros/latex/contrib/urcls/tex/URletter.cls302
-rw-r--r--macros/latex/contrib/urcls/tex/URoptions.sty127
-rw-r--r--macros/latex/contrib/urcls/tex/URpagestyles.sty169
-rw-r--r--macros/latex/contrib/urcls/tex/URrules.sty304
-rw-r--r--macros/latex/contrib/urcls/tex/URspecialopts.sty173
-rw-r--r--macros/latex/contrib/urcls/tex/beamercolorthemeUR.sty75
-rw-r--r--macros/latex/contrib/urcls/tex/beamerfontthemeUR.sty71
-rw-r--r--macros/latex/contrib/urcls/tex/beamerouterthemeUR.sty483
-rw-r--r--macros/latex/contrib/urcls/tex/beamerthemeUR.sty75
19 files changed, 2756 insertions, 0 deletions
diff --git a/macros/latex/contrib/urcls/README.md b/macros/latex/contrib/urcls/README.md
new file mode 100644
index 0000000000..4115995662
--- /dev/null
+++ b/macros/latex/contrib/urcls/README.md
@@ -0,0 +1,60 @@
+# urcls
+LaTeX classes & packages to use the corporate Design of the University of Regensburg using LaTeX.
+
+ Copyright (C) Marei Peischl <tex@mareipeischl.de>, 2014--2019
+
+ urcls 2019/01/31 v2.1
+
+***************************************************************************
+
+ This material is subject to the LaTeX Project Public License version 1.3c
+ or later. See http://www.latex-project.org/lppl.txt for details.
+
+***************************************************************************
+
+Summary
+-------
+The urcls-bundle provides beamer and scrlttr2 derived classes to use the Corporate Design of the University of Regensburg.
+It also contains several packages to provide the specific colorbars and also a general option processing mechanism for all Packages.
+
+Version 2.0 also includes the packages URrules and URpagestyles, which provide access to the colorbars outside the URbeamer and URletter classes. URpagestyles also creates Titlepagelayouts as well as a colored Version of rules to be used inside a Document, e.g. as separation rules for the headline.
+
+To Compile the DEMO-files one might need the [Logos](http://www.physik.uni-regensburg.de/studium/edverg/latex/files/local/urlogo.zip) (Only available from the network of the University of Regensburg).
+
+[Link to the github repository](https://github.com/TeXhackse/urcls)
+
+Files
+-----
+This work consists of the files
+
+**urcls package and class files**
++ URbeamer.cls v2.0(2017/04/05)
++ beamerthemeUR.sty v2.0(2017/04/05)
++ beamercolorthemeUR.sty v2.0(2017/04/05)
++ beamerfontthemeUR.sty v2.0(2017/04/05)
++ beamerouterthemeUR.sty v2.0(2017/04/05)
++ URletter.cls v2.1(2018/10/19)
++ URspecialopts v2.1 (2019/01/22)
++ URoptions v2.0 (2017/04/05)
+
+
+**urcls example files**
++ URpagestyles-DEMO.tex v2.0(2017/04/05)
++ URbeamer-DEMO.tex v2.0(2017/04/05)
++ URletter-DEMO.tex v2.0(2017/04/05)
++ URadressdaten-DEMO.lco v2.0(2017/04/05)
+
+Versions
+--------
+**v2.0** (2017/04/06)
++ added a generalized mechanism for the colorbars using URrules
++ beamertheme UR is now useable without the URbeamer.cls
++ added a specific option-processing-mechanism by introducing the URspecialopts package
++ adding the URpagestyles package
++ bugfix
+
+**v1.1** (2015/06/15)
++ bugfix and added LuaTeX-Support
+
+**v1.0** (2015/01/29)
++ first CTAN version of the urcls-bundle
diff --git a/macros/latex/contrib/urcls/example/URadressdaten-DEMO.lco b/macros/latex/contrib/urcls/example/URadressdaten-DEMO.lco
new file mode 100644
index 0000000000..39696d386f
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URadressdaten-DEMO.lco
@@ -0,0 +1,71 @@
+%%
+%% This is file `URadressdaten-DEMO.lco' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% diese Einträge müssen für andere Personen angepasst werden: %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ProvidesFile{URadressdaten-DEMO.lco}%Üblicherweise wählt man den Namen bezeichnend
+
+
+%Institutsdaten
+\setkomavar{faculty}{Physik}%oder \setkomavar{department}{Rechenzentrum}
+\setkomavar{institute}[Institut für\ ]{Experimentelle und Angewandte Physik}
+%\setkomavar{chair}[Lehrstuhl für\ ]{ ... }
+
+
+%Absenderdaten
+\setkomavar{fromname}{Marei Peischl} %Absendername
+%\setkomavar{signature}{M. Peischl} %Signatur, falls abweichend vom Absendernamen
+
+
+\setkomavar{fromphone}{2924}
+\setkomavar{fromfax}{xxxx}
+\setkomavar{fromroom}{PHY 8.0.23b}
+
+\setkomavar{fromemail}{tex@mareipeischl.de}
+\setkomavar{fromurl}{http://www.physik.uni-regensburg.de/studium/it/latex/}
+
+%Sekretariat
+\setkomavar{officephone}{xxxx}
+\setkomavar{officefax}{xxxx}
+
+%Ort
+\setkomavar{place}{Regensburg}
+
+\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/urcls/example/URbeamer-DEMO.pdf b/macros/latex/contrib/urcls/example/URbeamer-DEMO.pdf
new file mode 100644
index 0000000000..14b48c83d2
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URbeamer-DEMO.pdf
Binary files differ
diff --git a/macros/latex/contrib/urcls/example/URbeamer-DEMO.tex b/macros/latex/contrib/urcls/example/URbeamer-DEMO.tex
new file mode 100644
index 0000000000..524422f09d
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URbeamer-DEMO.tex
@@ -0,0 +1,231 @@
+%%
+%% This is file `URbeamer-DEMO.tex' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+%%Diese Datei dient als Demonstration zu Umsetzung der Gestaltungsrichtlinien zum Corporate Design der Universität Regensburg in LaTeX.
+%%Die Dateien werden in ihrer aktuellen Form bereitgestellt, allerdings übernimmt die Autorin keinerlei Verantwortung für die Verwendung.
+%%Bei Fragen, Wünschen oder Anregungen freue ich mich über eine Email: TeX@mareipeischl.de
+%%Selbiges gilt, wenn Sie daran interessiert sind, die Weiterentwicklung sowie die Verbesserung der Dokumentation zu unterstützen.
+%%
+\documentclass[ngerman,%Dokumentensprache
+ aspectratio=169,%Seitenverhältnis von 16:9
+ colors={rz,faculties},%Farbbalken
+ framenumber=true,%Foliennummer in der Kopfzeile
+ externalize=true,
+ ]{URbeamer}
+
+
+
+\usepackage{iftex}%automatische Auswahl des richtigen Fontloaders und der Eingabekodierung
+%Es liefert das Makro \ifPDFTeX. Die Abfragen können entfernt werden, wenn nur eine bestimmte Variante verwendet wird.
+
+\ifPDFTeX%falls mit pdfLaTeX kompiliert wird
+ %Eingabekodierung (nur notwendig bie pdflatex)
+ \usepackage[utf8]{inputenc}
+ %Für die Hausschriftart der Universität Regensburg, falls installiert:
+ %weitere Informationen unter: http://www.physik.uni-regensburg.de/studium/edverg/latex/files/cd/cd.phtml
+ \usepackage[T1]{fontenc}
+ \usepackage{frutigernext}
+\else%falls mit Lua oder XeLaTeX kompiliert wird
+ %Für die Hausschriftart der Universität Regensburg (zusätzliche Installation notwendig)
+ %weitere Informationen unter: http://www.physik.uni-regensburg.de/studium/edverg/latex/files/cd/cd.phtml
+ \usepackage{fontspec}
+ \setmainfont{Frutiger Next LT W1G}
+\fi
+
+\usepackage{babel}
+
+
+%-------------------------------------------------------------------------------------------------------------
+%Einstellungen für den Inhalt des Dokumentes. Im Allgemeinen nicht notwendig!
+\usepackage{hologo}
+\newcounter{iterator}
+\newcommand*\code[1]{\texttt{#1}}
+%-------------------------------------------------------------------------------------------------------------
+
+
+%Datenübergabe für die Titelfolie
+%Die Makros \and und \inst können wie gewohnt verwendet werden
+\title{\LaTeX-beamer}
+\subtitle{Im Corporate Design\\\hspace*{\fill} der Universität Regensburg}
+\department{\LaTeX-Kurse und Support}
+%\institute[]{Institut für Experimentelle und Angewandte Physik}
+\date{3. April 2017}
+%\chair[LS für \ldots]{Lehrstuhl für \ldots}
+\author[Marei Peischl]{Marei Peischl\URbeamerIgnoreMeta{ (\url{TeX@mareipeischl.de})}}%Die Kurzversion wird in der Kopfzeile eingetragen
+
+
+
+\begin{document}
+
+\frame[plain]{\titlepage}
+
+\begin{frame}{Hausschriftart: Frutiger Next LT W1G}
+ Das Rechenzentrum stellt für die Installation der Hausschriftart auf Dienstrechnern einen \href{http://www.uni-regensburg.de/rechenzentrum/software/softwarekatalog/produktdetails/index.html?product_hash=cc47a29792efce83538cdf5660de6f5d}{Installer} im Softwarekatalog an.
+
+ \medskip
+ Der Installer enthält nur die OpenType-Variante. Daher ist es für die Benutzung notwendig mit \hologo{XeLaTeX} oder \hologo{LuaLaTeX} zu kompilieren. Darüber hinaus ist der \LaTeX-Compiler frei wählbar (vgl. auch Präambel des Quellcodes zu diesem Dokument).
+\end{frame}
+
+\begin{frame}{Titel \& Autorendaten}
+ Die Daten für die Titelseite und die Kopfzeile werden mithilfe der üblichen Makros übergeben (\code{\textbackslash{}title}, \code{\textbackslash{}author}, \code{\textbackslash{}date}, \code{\textbackslash{}institute}).
+
+ \smallskip
+ Zusätzlich liefert URbeamer noch weiter Möglichkeiten zur Angabe einer Fakultät/Einrichtung (\code{\textbackslash{}department}) oder eines Lehrstuhles (\code{\textbackslash{}chair}). Diese Unterscheidung ist aufgrund der Gestaltungsrichtlinien notwendig.
+
+ \smallskip
+ Alle diese Makros erlauben es, wie gewohnt, eine Kurzversion als optionales Argument zu übergeben.
+
+ \medskip
+ \small
+ \emph{Bemerkung:} Wenn das Feld \code{\textbackslash{}department} leer ist, wird es mit dem Feld \code{\textbackslash{}institute} vertauscht. Dies dient dazu, dass alte Dateien nach wie vor das gleiche Ergebnis in der Ausgabe erzielen.
+
+ \smallskip
+ \normalsize
+ Die Metadaten werden automatisch durch die Titeldaten erzeugt. Zusätzliche Angaben, die nicht in den Metadaten erscheinen sollen, können mit \code{\textbackslash{}URbeamerIgnoreMeta\{\}} entsprechend gesetzt werden. Ein Beispiel hierfür ist die Emailadresse auf der Titelfolie dieses Dokuments.
+\end{frame}
+
+\begin{frame}{Titelseite}
+ Da die Titelseite des Layouts die gesamte Folie ausfüllt ist als Option der Folie \code{plain} zu setzen:
+
+ \begin{block}{Erzeugung der Titelseite}
+ \ttfamily\textbackslash{}frame[plain]\{\textbackslash{}titlepage\}
+ \end{block}
+\end{frame}
+
+\begin{frame}{Auswahl der Fakultätsfarben}
+Die Fakultätsfarben werden durch Angabe der zugehörigen Dokumentenklassenoption ausgewählt. Die Neue Version unterstützt zudem die Angabe eine Farbliste in der Form
+\begin{block}{\ttfamily colors=\{Fakultät1,Fakultät2,Fakultät3\}}
+z.\,B.:
+\ttfamily colors=\{ph,slk,rz\}
+\end{block}
+Diese Variante sorgt für eine bessere Möglichkeit der Gliederung bei den Dokumentenklassenoptionen. Die Reihenfolge der Angaben ist dabei nicht relevant. Die Sortierung erfolgt automatisch nach den Richtlinien zum Corporate Design.
+
+Die Fakultäten und Einrichtungen können über die entsprechenden Kürzel übergeben werden. Eine entsprechende Legende findet sich auf den nächsten Seiten.
+\end{frame}
+
+
+\begin{frame}{Auflistung der Fakultätskürzel}
+ \setcounter{iterator}{3}
+ \begin{tabular}{>{\stepcounter{iterator}\cellcolor{UR@color@\theiterator}}p{7.5mm}p{\dimexpr\linewidth-7.5mm-3\tabcolsep\relax}@{}}
+ rw&Fakultät für Rechtswissenschaft\\
+ ww&Fakultät für Wirtschaftswissenschaften\\
+ kt&Fakultät für katholische Theologie\\
+ pkgg&Fakultät für Philosophie, Kunst-, Geschichts- und Gesellschaftswissenschaften\\
+ pps&Fakultät für Psychologie, Pädagogik und Sportwissenschaft\\
+ slk&Fakultät für Sprach-, Literatur- und Kulturwissenschaften\\
+ bvm&Fakultät für Biologie und vorklinische Medizin\\
+ mat&Fakultät für Mathematik\\
+ ph&Fakultät für Physik\\
+ chp&Fakultät für Chemie und Pharmazie\\
+ med&Fakultät für Medizin
+ \end{tabular}
+\end{frame}
+
+\begin{frame}{Liste der Kürzel für zentrale Einrichtungen}
+\setcounter{iterator}{0}
+\begin{tabular}{>{\stepcounter{iterator}\strut\color{white}\cellcolor{UR@color@\theiterator}}p{7.5mm}p{\dimexpr\linewidth-7.5mm-3\tabcolsep\relax}@{}}
+lov&Leitung, Organe, Verwaltung\\
+ffg&Chancengleicheit und Familie\\
+asz&Service-Einrichtungen für Studierende\\
+\noalign{\setcounter{iterator}{14}}
+ub&Universitätsbibliothek\\
+zsk&Zentrum für Sprache und Kommunikation\\
+eur&Europaeum (Ost-West-Zentrum)\\
+zhw&Zentrum für Hochschul- und Wissenschaftsdidaktik\\
+rul&Regensburg Universitätszentrum für Lehrerbildung\\
+zfw&Zentrum für Weiterbildung\\
+spo&Sportzentrum \\
+rz&Rechenzentrum\\
+\end{tabular}
+\end{frame}
+
+
+\begin{frame}{Weitere Farboptionen und Farbkombinationen}
+
+\begin{tabular}{@{}p{1.5cm}p{\dimexpr.7\linewidth-1.5cm-5\tabcolsep\relax}p{.3\linewidth}}
+all&alle Einrichtungen&\URrule{lov,ffg,asz,rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med,ub,zsk,eur,zhw,rul,zfw,spo,rz}{\linewidth}{5mm}\\
+faculties&alle Fakultäten&\URrule{rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med}{\linewidth}{5mm}\\
+fsimphy&Fachschaft Mathe-Physik&\URrule{fsimphy}{\linewidth}{5mm}\\
+\end{tabular}
+\end{frame}
+\begin{frame}{Entwurfsmodus}
+Die \code{draft}-Option ersetzt den die farbigen Streifen durch graue Boxen, die ggf. eine Beschriftung des Templates enthalten.
+Dies beschleunigt den Kompilierungsvorgang.
+
+\bigskip
+\small
+Analog zu den anderen Optionen, kann diese Option Wahrheitswerte (\code{true}/\code{false}) verarbeiten. Wird kein Wert angegeben, so wird \code{true} als Defaultwert verwendet.
+\end{frame}
+\begin{frame}{Einmaliges Kompilieren genügt für die Farbbalken}
+Die Implementierung der farbigen Streifen wurde mithilfe des Paketes URrules verbessert und ausgelagert. Somit ist es für die Streifenpositionierung und Farbanpassung ab dieser Version nicht mehr nötig mehrfach zu Kompilieren.
+\end{frame}
+
+\begin{frame}{TikZ-externalize-Funktion}
+ Die Klassenoption externalize unterstützt die TikZ-Funktion \glqq{}externalize\grqq. Dazu muss URbeamer mit der entsprechenden Option geladen werden und anschließend die Ausgabe der pdf-Dateien mit \code{\textbackslash{}tiktexternalize} aktiviert werden. Für die Nutzung dieser Funktion muss \code{pdflatex} mit der Option \code{-shell-escape} ausgeführt werden.
+\end{frame}
+
+\part{In dieser Version neue zusätzliche Funktionen \& Optionen}
+
+\begin{frame}{Key-Value-Struktur für die Optionsverarbeitung}
+ Die Optionsverarbeitung wurde auf eine Key-Value-Struktur umgestellt. Das bedeutet, dass sämtliche Optionen nun in der Form \textit{Schlüssel}\code{=}\textit{Wert} übergeben werden können. Wird kein Wert angegeben wird in der Regel ein Säumniswert verwendet. Die alte Variante ist somit über die Säumniswertvariante nach wie vor möglich.
+\end{frame}
+
+\begin{frame}{Erweiterung der Optionen}
+ Um eine besser Übersicht bei der Options
+\end{frame}
+
+\begin{frame}{Offizielles Layout auf Basis der PowerPoint-Vorlage}
+\small
+Das Corporate Design sieht in der PowerPoint-Vorlage vor, dass die Einrichtung in Versalien gesetzt wird.(\code{depcaps=true})
+
+\smallskip
+Zudem wird dort das Logo mit Textmarke verwendet. (\code{logotext=true})
+
+\smallskip
+Die Größe des linken Seitenrandes ist in der PowerPoint-Vorlage bündig mit dem grauen Balken der Kopfzeile. (\code{alignwithbar=true})
+
+\medskip
+Um eine flexiblere Anpassung zu gewährleisten wurden die Standardeinstellungen für diese Dokumentenklasse entgegen dieser Vorgaben gewählt.
+(Beispiel: Im Seitenformat 16:9 ist die Textmarke des Logos nach den Vorgaben deutlich zu klein)
+
+\smallskip
+Möchte man dennoch die offiziellen Vorgaben benutzen, existiert die Option \code{cdlayout=\textit{Wahrheitswert}}.
+\end{frame}
+
+
+
+\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/urcls/example/URletter-DEMO.pdf b/macros/latex/contrib/urcls/example/URletter-DEMO.pdf
new file mode 100644
index 0000000000..7bc9042618
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URletter-DEMO.pdf
Binary files differ
diff --git a/macros/latex/contrib/urcls/example/URletter-DEMO.tex b/macros/latex/contrib/urcls/example/URletter-DEMO.tex
new file mode 100644
index 0000000000..c5a4839d11
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URletter-DEMO.tex
@@ -0,0 +1,194 @@
+%%
+%% This is file `URletter-DEMO.tex' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+%%Diese Datei dient als Demonstration zu Umsetzung der Gestaltungsrichtlinien zum Corporate Design der Universität Regensburg in LaTeX.
+%%Die Dateien werden in ihrer aktuellen Form bereitgestellt, allerdings übernimmt die Autorin keinerlei Verantwortung für die Verwendung.
+%%Bei Fragen, Wünschen oder Anregungen freue ich mich über eine Email: TeX@mareipeischl.de
+%%Selbiges gilt, wenn Sie daran interessiert sind, die Weiterentwicklung sowie die Verbesserung der Dokumentation zu unterstützen.
+%%
+\documentclass[ngerman,parskip=half,colors={faculties,rz},headline=color]{URletter}
+
+
+\usepackage{iftex}%automatische Auswahl des richtigen Fontloaders und der Eingabekodierung
+%Es liefert das Makro \ifPDFTeX. Die Abfragen können entfernt werden, wenn nur eine bestimmte Variante verwendet wird.
+
+\ifPDFTeX%falls mit pdfLaTeX kompiliert wird
+ %Eingabekodierung (nur notwendig bie pdflatex)
+ \usepackage[utf8]{inputenc}
+ %Für die Hausschriftart der Universität Regensburg, falls installiert:
+ %weitere Informationen unter: http://www.physik.uni-regensburg.de/studium/edverg/latex/files/cd/cd.phtml
+ \usepackage[T1]{fontenc}
+ \usepackage{frutigernext}
+\else%falls mit Lua- oder XeLaTeX kompiliert wird
+ %Für die Hausschriftart der Universität Regensburg (zusätzliche Installation notwendig)
+ %weitere Informationen unter: http://www.physik.uni-regensburg.de/studium/edverg/latex/files/cd/cd.phtml
+ \usepackage{fontspec}
+ \setmainfont{Frutiger Next LT W1G}
+\fi
+
+%Serifenschrift als Standard setzen
+\renewcommand*{\familydefault}{\sfdefault}
+
+%Sprachanpassungen -- ngerman als Sprachoption wurde als Dokumentenklasse gesetzt
+\usepackage{babel}
+
+
+
+%-------------------------------------------------------------------------------------------------------------
+%Definitionen für den Inhalt des Dokumentes. Im Allgemeinen nicht notwendig!
+\usepackage{array}
+\usepackage{colortbl}
+\newcommand*\pck[1]{\texttt{#1}}
+\newcommand*\code[1]{\texttt{#1}}
+\newcommand*\repl[1]{\textnormal{\textit{#1}}}
+\newcommand*\cmd[1]{\par\vspace{-\parskip}\medskip\noindent\fbox{\ttfamily#1}\par\vspace{-\parskip}\medskip}
+\newcommand*\heading[1]{\par\bigskip\emph{#1}\par\nobreak}
+\setkomafont{descriptionlabel}{\ttfamily\bfseries}
+\newcounter{iterator}
+%-------------------------------------------------------------------------------------------------------------
+
+%Laden der Adressdaten aus der entsprechenden .lco-Datei (Siehe KOMA-Script-Anleitung)
+\LoadLetterOption{URadressdaten-DEMO}
+\begin{document}
+
+% Datenübergabe für Betreff und Geschäftszeile
+\setkomavar{subject}{\LaTeX-Briefvorlage im Corporate Design der Universität Regensburg}
+\setkomavar{yourref}{Ihr Zeichen}
+\setkomavar{yourmail}{08.08.2012}
+\setkomavar{myref}{Unser Zeichen}
+
+% Die letter-Umgebung wird Analog zu scrlttr2 verwendet
+\begin{letter}{Professor Dr. Max Mustermann\\Musterstraße 1\\12345 Musterstadt}
+
+
+
+\opening{Sehr geehrter Interessent,}
+
+die Klasse \pck{URletter} liefert eine Möglichkeit auf Basis von \pck{scrlttr2} Briefe nach den Vorgaben des Corporate Design der Universität Regensburg zu erstellen. Die Nutzung der Klasse lässt sich am einfachsten mit der entsprechen Demodateien (\code{URletter-DEMO.tex} und \code{URadressdaten"=DEMO.lco}) nachvollziehen.
+
+Für eine effizientere Nutzung wurden die Adressdaten in eine .lco-Datei (DEMO-Adressdaten.lco) ausgelagert. Dies ist insbesondere dann von Vorteil wenn man mit unterschiedlichen Absenderadressen arbeitet, da man je Adresse eine eigene .lco-Datei erstellen und somit die Daten jederzeit wiederverwenden kann. Für genauere Informationen verweise ich auf die \KOMAScript-Anleitung.
+
+\heading{Grundsätzliche Hinweise}
+Die Klasse \pck{URletter} benötigt die Kodierung UTF-8. (Umlaute in den Bezeichnern einiger Variablen: z.\,B.: \glqq{}Fakultät für \ldots\grqq) Wenn mit pdflatex kompiliert wird, wird daher das Paket \pck{inputenc} mit der entsprechende Option geladen. Bei Xe\LaTeX{} oder Lua\LaTeX{} entfällt dieser Schritt automatisch.
+
+Die Optionen wurden für die Version 2.0 um eine Key-Value-Struktur erweitert. Somit ist es nun möglich alle Optionen auch explizit zu deaktivieren (Beispiele finden sich in der folgenden Auflistung der einzelnen Optionen)
+
+
+\heading{Auflistung der möglichen Optionen}
+\begin{description}
+ \item[deanery/dean=true/false] Modus für Dekanate/Dekane.
+ \item[headline=true/false/intern] Option \code{headline=false} blendet die farbige Kopfzeile samt Logo, für den Druck auf vorgedrucktes Briefpapier aus. Alternative Werte für die Option \code{headline} sind \code{true} (Standardeinstellung mit Farbe) und \code{intern} (Tonersparende Variante für internen Versand). Der Interne Modus wird auch im Entwurfsmodus verwendet. (\code{draft=true}).
+ \item[refline=false/nodate] Die Option \texttt{refline} arbeitet ähnlich zur gleichnamigen \pck{scrlttr2}"=Option. Die hier nicht erwähnten Werte, werden lediglich an \pck{scrlttr2} weitergegeben. Neben den dort zur Verfügung gestellten Werten deren Bedeutung sich nicht ändert, existiert in \pck{URletter} noch die Möglichkeit die Geschäftszeile mit \code{refline=false} komplett auszuschalten. Die Ausgabe der entsprechenden Felder wird in diesem Fall unabhängig vom Inhalt unterdrückt.
+
+ Die Anforderungen der Gestaltungsrichtlinien (Datum wird mit in die Absenderergänzung gesetzt, falls keine Geschäftszeile gesetzt wird) bleiben erfüllt. Bei \code{refline=nodate} wird das Datum ebenfalls in die Absenderergänzung gesetzt und der Optionswert an \pck{scrlttr2} weitergereicht.
+ \item[Farboptionen] Die Farboptionen wurden analog zu den anderen Elementen des urcls-Bundles mithilfe von \pck{URrules} implementiert und werden in der Anlage am Ende des Dokumentes genauer erläutert.
+ \item[\sffamily\itshape\mdseries Optionen aus älteren Versionen] Alte Optionen, die in dieser Version nicht explizit genannt wurden funktionieren aus Kompatibilitätsgründen weiterhin.
+\end{description}
+
+\heading{Spezielle Optionen zur Optionsweitergabe an automatisch geladene Pakete}
+
+Bei einigen Paketen ist es möglich Optionen nach dem Laden zu ändern. Für die meisten Pakete existiert jedoch kein solcher Mechanismus. Um es dennoch zu ermöglichen automatisch gesetzte Optionen zu überschreiben, liefert das urcls-Bundle einen besonderen Optionstyp. Dieser ermöglicht es mithilfe der Syntax
+\cmd{\repl{Paketname}=\{\repl{Option1},\repl{Option2}\}}
+die Optionen an das entsprechende Paket zu überreichen, bevor es geladen wird.
+
+\pck{URletter} verfügt über eine solche Optionsübergabeoption die Pakete \pck{URrules} und \pck{URcolors}.
+
+Außerdem werden alle Klassenoptionen, die nicht explizit von \pck{URletter} deklariert wurden an die Basisklasse \pck{scrlttr2} weitergegeben.
+
+
+
+\closing{Happy \TeX{}ing}
+\encl{Liste der Optionen für die Farbauswahl}
+
+
+\end{letter}
+
+
+%Anlagen:
+\pagestyle{empty}
+\textbf{\LARGE Liste der Optionen für die Farbauswahl}
+
+\vspace{\baselineskip}
+Die Farben für den Farbbalken im Briefkopf werden entweder durch Angabe der zugehörigen Dokumentenklassenoption oder mithilfe des Schlüssels \code{colors=\{\repl{Werteliste (Komma getrennt)}\}}\footnote{Bei Angabe von nur einer Farboption kann die Gruppierung entfallen.} ausgewählt.
+
+Die Werte werden an \pck{URrules} weitergereicht, wobei das Paket nur geladen wird, falls die Ausgabe der Kopfzeile nicht deaktiviert wurde (\code{headline=true} oder \code{headline=intern}).
+
+Folgende Möglichkeiten existieren:
+
+\par\textbf{Fakultäten:}\par\noindent
+\setcounter{iterator}{3}
+\begin{tabular}{>{\stepcounter{iterator}\cellcolor{UR@color@\theiterator}}p{7.5mm}p{\dimexpr\linewidth-7.5mm-3\tabcolsep\relax}@{}}
+ rw&Fakultät für Rechtswissenschaft\\
+ ww&Fakultät für Wirtschaftswissenschaften\\
+ kt&Fakultät für katholische Theologie\\
+ pkgg&Fakultät für Philosophie, Kunst-, Geschichts- und Gesellschaftswissenschaften\\
+ pps&Fakultät für Psychologie, Pädagogik und Sportwissenschaft\\
+ slk&Fakultät für Sprach-, Literatur- und Kulturwissenschaften\\
+ bvm&Fakultät für Biologie und vorklinische Medizin\\
+ mat&Fakultät für Mathematik\\
+ ph&Fakultät für Physik\\
+ chp&Fakultät für Chemie und Pharmazie\\
+ med&Fakultät für Medizin
+\end{tabular}
+
+
+\par\textbf{Zentrale Einrichtungen:}\par\noindent
+\setcounter{iterator}{0}
+\begin{tabular}{>{\stepcounter{iterator}\strut\color{white}\cellcolor{UR@color@\theiterator}}p{7.5mm}p{\dimexpr\linewidth-7.5mm-2\tabcolsep\relax}@{}}
+ lov&Leitung, Organe, Verwaltung\\
+ ffg&Chancengleicheit und Familie\\
+ asz&Service-Einrichtungen für Studierende\\
+ \noalign{\setcounter{iterator}{14}}
+ ub&Universitätsbibliothek\\
+ zsk&Zentrum für Sprache und Kommunikation\\
+ eur&Europaeum (Ost-West-Zentrum)\\
+ zhw&Zentrum für Hochschul- und Wissenschaftsdidaktik\\
+ rul&Regensburg Universitätszentrum für Lehrerbildung\\
+ zfw&Zentrum für Weiterbildung\\
+ spo&Sportzentrum \\
+ rz&Rechenzentrum\\
+\end{tabular}
+
+\noindent\textbf{Vorgefertige Farbkombinationen und Spezialfarben:}\par\noindent
+\begin{tabular}{@{}p{1.5cm}p{\dimexpr.5\linewidth-1.5cm-4\tabcolsep\relax}p{.5\linewidth}}
+ all&alle Einrichtungen&\URrule{lov,ffg,asz,rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med,ub,zsk,eur,zhw,rul,zfw,spo,rz}{\linewidth}{5mm}\\
+ faculties&alle Fakultäten&\URrule{rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med}{\linewidth}{5mm}\\
+ fsimphy&Fachschaft Mathe-Physik&\URrule{fsimphy}{\linewidth}{5mm}\\
+\end{tabular}
+
+\end{document}
+
diff --git a/macros/latex/contrib/urcls/example/URpagestyles-DEMO.pdf b/macros/latex/contrib/urcls/example/URpagestyles-DEMO.pdf
new file mode 100644
index 0000000000..71bc53a28b
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URpagestyles-DEMO.pdf
Binary files differ
diff --git a/macros/latex/contrib/urcls/example/URpagestyles-DEMO.tex b/macros/latex/contrib/urcls/example/URpagestyles-DEMO.tex
new file mode 100644
index 0000000000..9d9141b7ae
--- /dev/null
+++ b/macros/latex/contrib/urcls/example/URpagestyles-DEMO.tex
@@ -0,0 +1,203 @@
+%%
+%% This is file `URpagestyles-DEMO.tex' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+%%Diese Datei dient als Demonstration zu Umsetzung der Gestaltungsrichtlinien zum Corporate Design der Universität Regensburg in LaTeX.
+%%Die Dateien werden in ihrer aktuellen Form bereitgestellt, allerdings übernimmt die Autorin keinerlei Verantwortung für die Verwendung.
+%%Bei Fragen, Wünschen oder Anregungen freue ich mich über eine Email: TeX@mareipeischl.de
+%%Selbiges gilt, wenn Sie daran interessiert sind, die Weiterentwicklung sowie die Verbesserung der Dokumentation zu unterstützen.
+%%
+\documentclass[ngerman,headsepline=3pt,headinclude=true]{scrartcl}
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
+\usepackage[T1]{fontenc}
+
+\usepackage[origlayout=true,automark,colors={faculties,rz}]{URpagestyles}
+
+\usepackage{hyperref}
+\usepackage{array}
+
+
+%-------------------------------------------------------------------------------------------------------------
+%Definitionen für den Inhalt des Dokumentes. Im Allgemeinen nicht notwendig!
+\renewcommand*{\familydefault}{\sfdefault}%Serifenlose Schrift als Standardschrift
+\newcommand*{\pck}[1]{\texttt{#1}}
+\newcommand*{\code}[1]{\texttt{#1}}
+\newcommand*{\repl}[1]{\textrm{\textit{#1}}}
+\newcommand{\cmd}[1]{\par\medskip\noindent\fbox{\ttfamily#1}\par\medskip\noindent}
+\setcounter{secnumdepth}{\sectionnumdepth}
+\newsavebox{\remarkbox}
+\sbox{\remarkbox}{\emph{Anmerkung:~}}
+\newcounter{iterator}
+\usepackage{colortbl}
+%-------------------------------------------------------------------------------------------------------------
+
+\title{URpagestyles}
+\subtitle{Seitenstile in Anlehnung an das Corporate Design der Universität Regensburg}
+\date{Version 2.0 (2017/04/05)}
+\author{Marei Peischl~(\href{mailto:TeX@mareipeischl.de}{TeX@ mareipeischl.de})}
+
+\renewcommand{\titlepagestyle}{URtitle}%URtitle Seitenstil für die Titelseite verwenden
+\begin{document}
+\maketitle
+
+\begin{abstract}
+ \noindent Es ist üblich Dokumente, wie beispielsweise Abschlussarbeiten, mit dem Logo der Universität zu versehen. Dies geschieht aufgrund des Corporate Designs der Universität Regensburg öfters auch unter Nutzung der entsprechenden Fakultätsfarben und Farbbalken, wie Sie in Briefen Verwendung finden.
+
+ Die Kopfzeile, wie Sie in Briefen verwendet wird ist jedoch sehr mächtig, sodass eine kontinuierliche Verwendung als Kopfzeile normalerweise nicht sinnvoll ist. Um dennoch das Farbschema nutzen zu können, liefert \pck{URpagestyles} Trennlinien und entsprechende Seitenstile, die das Farbschema übernehmen und stellt zudem eine Kopfzeile für Titelseiten bereit.
+\end{abstract}
+
+\section{Grundsätzliche Verwendung}
+Das Paket basiert auf \pck{scrlayer-scrpage}. Daher werden die entsprechenden Seitenstile analog zu den Stiles dieses Paketes genutzt und konfiguriert.
+
+Analog zum Stilpaar \code{scrheadings}/\code{plain.scrheadings} existiert im Paket \pck{URpagestyles} ein Paar \code{URheadings}/\code{plain.URheadings}.
+Aktiviert wird dieses Stilpaar ebenfalls analog mit \code{\textbackslash{}pagestyle\{URheadings\}}.
+
+Die Konfiguration von Trennlinien um den Kopf-\&Fußbereich, sowie der Größen der Kopf-\&Fußzeilen funktioniert über dieselben Optionen, wie bei \pck{scrlayer-scrpage}. Eine Modifizierung der Felder der Seitenstile ist ebenfalls mithilfe derselben Möglichkeiten wie beim Basispaket möglich.
+
+Eine Änderung dieser Optionen ist über die mit \KOMAScript{} zur Verfügung gestellten Möglichkeiten möglich.
+Zusätzlich liefert \pck{URpagestyles} eine Möglichkeit Optionen auch direkt an \pck{scrlayer-scrpage} weiterzureichen, siehe
+Abschnitt~\ref{passopts}.
+
+Zusätzlich zum Seitenstilpaar \code{URheadings} stellt \pck{URpagestyles} noch eine Variante für die Titelseiten zur Verfügung. Diese Kopfzeile entspricht der Kopfzeile des Briefkopfes und kann über den Seitenstil \code{URtitle} angewählt werden. Eine Modifizierung dieses Seitenstils ist über die von \pck{scrlayer} zur Verfügung gestellten Möglichkeiten möglich.
+
+
+\section{Das Layout der Linien}
+Die Linien werden analog zu den Linien des Paketes \pck{scrlayer-scrpage} (aus \KOMAScript) konfiguriert.
+Die zugehörigen Optionen können entweder als Klassen- oder Paketoptionen sowie über die Makros \code{\textbackslash{}KOMAoptions} oder \code{\textbackslash{}KOMAoption} übergeben. Genauere Hinweise zur Verwendung findet man in der \KOMAScript{}-Anleitung.
+
+Zusätzlich kann \pck{URpagestyles} auch einige Optionen direkt verarbeiten. Die Werte werden an \KOMAScript{} weitergereicht und dementsprechend verarbeitet.
+
+\cmd{\begin{tabular}{@{}ll@{}}
+headtopline=\repl{Dicke}:\repl{Länge}\\
+headsepline=\repl{Dicke}:\repl{Länge}\\
+footsepline=\repl{Dicke}:\repl{Länge}\\
+footbotline=\repl{Dicke}:\repl{Länge}\\
+\end{tabular}}
+
+\noindent\usebox{\remarkbox}%
+\parbox[t]{\dimexpr\linewidth-\wd\remarkbox\relax}{%
+ Zu dünne Linien sind aufgrund der Farbgebung nicht sonderlich sinnvoll. Daher ist zu beachten, dass der von \KOMAScript{} verwendete Säumniswert für die Dicke für eine sinnvolle Ausgabe geändert werden muss. Dieses Layout verwendet beispielsweise \code{headsepline=3pt}.}
+
+\bigskip
+\noindent Zusätzlich liefert \pck{URpagestyles} die Option \code{origlayout=\repl{Wahrheitswert}}, um die Linien in Kopf und Fußzeile horizontal so auszurichten, wie es im Seitenkopf des Titelstiles der Fall ist.
+Im Fall \code{origlayout=true} werden Einstellungen zur Änderung der Linienlänge ignoriert.
+
+\bigskip
+\noindent Der jeweilige Abstand zwischen den beiden korrespondierenden Linien entspricht der Höhe von Kopf- bzw. Fußzeile. Somit ist es unbedingt notwendig, damit der Inhalt zwischen den Linien richtig positioniert wird, die Höhe über die dafür vorgesehenen \KOMAScript-Optionen einzustellen (Die Optionen heißen \code{headlines=\repl{Anzahl}} \& \code{footlines=\repl{Anzahl}}, , beziehungsweise \code{headheight=\repl{Höhe}} \& \code{footheight=\repl{Höhe}}).
+Die Voreinstellung bei Verwendung von \pck{typearea} ist \code{headlines=1.25} und \code{headlines=1.25}. Dies führt dazu, dass ohne Anpassung bei einzeiliger Kopfzeile die Linien nicht richtig ausgerichtet werden.
+
+
+\section{Weitergabe von Optionen an automatisch geladene Pakete}
+\label{passopts}
+Bei einigen Paketen ist es möglich Optionen nach dem Laden zu ändern. Für die meisten Pakete existiert jedoch kein solcher Mechanismus. Um es dennoch zu ermöglichen automatisch gesetzte Optionen zu überschreiben, liefert das urcls-Bundle einen besonderen Optionstyp. Dieser ermöglicht es mithilfe der Syntax
+\cmd{\repl{Paketname}=\{\repl{Option1},\repl{Option2}\}}
+die Optionen an das entsprechende Paket zu überreichen, bevor es geladen wird.
+
+\pck{URpagestyles} verfügt über eine solche Optionsübergabeoption für folgende Pakete:\\
+\pck{URrules}, \pck{URcolors}, \pck{scrlayer-scrpage}, \pck{scrlayer}
+
+
+\section{Der interne Modus}
+Analog zur Briefklasse \pck{URletter} exitiert auch bei \pck{URpagestyles} ein interner Modus. Der Stil der Titelseite orientiert sich am Briefkopf für die interne Verwendung.
+
+Die Trennlinien im Stil \code{URheadings} werden ebenfalls in eine schneller kompilierbare Variante umgewandelt. Der graue Teil der Linien bleibt gleich. Der Farbige Anteil wird durch einen grauen Rahmen derselben Größe ersetzt.
+
+
+\section{Farbauswahl}
+
+Die Farben für die Farbbalken werden durch Paketoptionen ausgewählt. Die Konstruktion des Farbbalkens wird, wie bei allen Klassen und Paketen des urcls-Bundles durch das Paket \pck{URrules} durchgeführt. Die Farboptionen müssen somit an \pck{URrules} übergeben werden. Hierfür stellt \pck{URpagestyles} zwei verschiedene Varianten zur Verfügung:
+
+\begin{description}
+ \item[Key-Val-Variante] Mithilfe des Schlüssels \code{colors} kann man eine Liste von Farboptionen an \pck{URrules} weiterreichen. Diese Variante ist wohl die übersichtlichste, weil sie die Farboptionen auch als solche kennzeichnet. Mehrere Farboptionen können gruppiert werden (Der Mechanismus ist derselbe, wie für die Optionsübergabe in Abschnitt~\ref{passopts}).
+
+ Die Syntax hat folgende Form:
+ \cmd{colors=\{\repl{Farboption1}, \repl{Farboption2}, \repl{\ldots}\}}
+ \item[Direkte Übergabe] Die verschiedenen Optionen für die Farbauswahl können direkt als Paketoptionen zu \pck{URpagestyles} geladen werden. Sie werden entsprechend an \pck{URrules} weitergegeben.
+\end{description}
+
+\subsection{Liste der möglichen Optionswerte für die Farbauswahl}
+
+\vspace{\baselineskip}
+Die Farben für den Farbbalken im Briefkopf werden entweder durch Angabe der zugehörigen Dokumentenklassenoption oder mithilfe des Schlüssels \code{colors=\{\repl{Werteliste (Komma getrennt)}\}}\footnote{Bei Angabe von nur einer Farboption kann die Gruppierung entfallen.} ausgewählt.
+
+Die Werte werden an \pck{URrules} weitergereicht, wobei das Paket nur geladen wird, falls die Ausgabe der Kopfzeile nicht deaktiviert wurde (\code{headline=true} oder \code{headline=intern}).
+
+Folgende Möglichkeiten existieren:
+
+\minisec{Fakultäten:}
+\setcounter{iterator}{3}
+\begin{tabular}{>{\stepcounter{iterator}\cellcolor{UR@color@\theiterator}}p{7.5mm}p{\dimexpr\linewidth-7.5mm-3\tabcolsep\relax}@{}}
+ rw&Fakultät für Rechtswissenschaft\\
+ ww&Fakultät für Wirtschaftswissenschaften\\
+ kt&Fakultät für katholische Theologie\\
+ pkgg&Fakultät für Philosophie, Kunst-, Geschichts- und Gesellschaftswissenschaften\\
+ pps&Fakultät für Psychologie, Pädagogik und Sportwissenschaft\\
+ slk&Fakultät für Sprach-, Literatur- und Kulturwissenschaften\\
+ bvm&Fakultät für Biologie und vorklinische Medizin\\
+ mat&Fakultät für Mathematik\\
+ ph&Fakultät für Physik\\
+ chp&Fakultät für Chemie und Pharmazie\\
+ med&Fakultät für Medizin
+\end{tabular}
+
+
+\minisec{Zentrale Einrichtungen:}
+\setcounter{iterator}{0}
+\begin{tabular}{>{\stepcounter{iterator}\strut\color{white}\cellcolor{UR@color@\theiterator}}p{7.5mm}p{\dimexpr\linewidth-7.5mm-2\tabcolsep\relax}@{}}
+ lov&Leitung, Organe, Verwaltung\\
+ ffg&Chancengleicheit und Familie\\
+ asz&Service-Einrichtungen für Studierende\\
+ \noalign{\setcounter{iterator}{14}}
+ ub&Universitätsbibliothek\\
+ zsk&Zentrum für Sprache und Kommunikation\\
+ eur&Europaeum (Ost-West-Zentrum)\\
+ zhw&Zentrum für Hochschul- und Wissenschaftsdidaktik\\
+ rul&Regensburg Universitätszentrum für Lehrerbildung\\
+ zfw&Zentrum für Weiterbildung\\
+ spo&Sportzentrum \\
+ rz&Rechenzentrum\\
+\end{tabular}
+
+\minisec{Vorgefertige Farbkombinationen und Spezialfarben:}
+\begin{tabular}{@{}p{1.5cm}p{\dimexpr.5\linewidth-1.5cm-4\tabcolsep\relax}p{.5\linewidth}}
+ all&alle Einrichtungen&\URrule{lov,ffg,asz,rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med,ub,zsk,eur,zhw,rul,zfw,spo,rz}{\linewidth}{5mm}\\
+ faculties&alle Fakultäten&\URrule{rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med}{\linewidth}{5mm}\\
+ fsimphy&Fachschaft Mathe-Physik&\URrule{fsimphy}{\linewidth}{5mm}\\
+\end{tabular}
+
+
+\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/urcls/tex/URbeamer.cls b/macros/latex/contrib/urcls/tex/URbeamer.cls
new file mode 100644
index 0000000000..7db69d285c
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URbeamer.cls
@@ -0,0 +1,76 @@
+%%
+%% This is file `URbeamer.cls' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\RequirePackage{expl3}
+\ProvidesExplClass {URbeamer} {\filedate} {\fileversion} {beamer based document class for the University of Regensburg}
+
+\RequirePackage{URoptions}
+
+\Define@specialopt@Module
+
+\UR@DeclareColorOptions
+\UR@define@draftfinalkeys
+
+\clist_map_inline:nn {headline,logotext,alignwithbar,framenumber,externalize,coloredboxes,depcaps,cdlayout} {\Module@DeclarePassOption {#1} {beamerouterthemeUR}}
+
+\Module@DeclarePassOption {logo} [] {URrules}
+\Module@DeclarePassOption {intern} {URrules}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}}
+
+
+\Module@Process@SpecialOptions
+
+\ProcessOptions\relax
+
+\edef\UR@beamer@saveclsopts{\@classoptionslist}
+\LoadClass[xcolor=table,hyperref={bookmarks,hidelinks}]{beamer}
+\edef\@classoptionslist{\UR@beamer@saveclsopts}
+
+\mode<presentation>{
+ \usetheme{UR}
+}
+
+\mode<all>
+
+\endinput
+
+
diff --git a/macros/latex/contrib/urcls/tex/URcolors.sty b/macros/latex/contrib/urcls/tex/URcolors.sty
new file mode 100644
index 0000000000..ad3d1ea57f
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URcolors.sty
@@ -0,0 +1,142 @@
+%%
+%% This is file `URcolors.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\def\fileversion{2.0}
+\def\filedate{2016/07/21}
+\NeedsTeXFormat{LaTeX2e}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage{URcolors}{\filedate}{\fileversion}{Color definitions for the urcls-bundle}
+
+\RequirePackage{URoptions}
+
+%Deklaration der Paketoptionen für die Unterscheidung der Farbwerte je nach Anwendung
+%Option "coated" für gestrichenes Papier
+\UR_new@BoolOpt{coated}
+%Option RGB für Bildschirmdarstellungen
+\UR_new@BoolOpt{RGB}
+
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+
+\RequirePackage{xcolor}
+
+%Farbedfinitionen
+%Abfrage RGB oder cmyk
+\bool_if:NTF \g_UR@RGB_bool {
+ %RGB-Farbdefinitionen
+ \definecolor{UR@reingrau}{RGB}{142,142,141}
+ \definecolor{UR@hellgrau}{RGB}{191,191,191}
+ \definecolor{UR@dunkelgrau}{RGB}{89,89,88}
+ \definecolor{UR@color@1}{RGB}{29,63,75} %LOV - Blaugrau
+ \definecolor{UR@color@2}{RGB}{95,0,47} %FFg Schwarzrot
+ \definecolor{UR@color@3}{RGB}{61,65,0} %ASZ Schilfgrün
+ \definecolor{UR@color@4}{RGB}{205,211,15}%RWS, urangelb
+ \definecolor{UR@color@5}{RGB}{174,167,0}%WiWi lärchennadelgrün
+ \definecolor{UR@color@6}{RGB}{236,188,00}%KT vatikangelb
+ \definecolor{UR@color@7}{RGB}{236,98,0}%PKGGorangerot
+ \definecolor{UR@color@8}{RGB}{191,0,42}%PPSheucherarot
+ \definecolor{UR@color@9}{RGB}{156,0,75}%SLKheidenelkenrot
+ \definecolor{UR@color@10}{RGB}{79,184,0}%Bioblattgrün
+ \definecolor{UR@color@11}{RGB}{0,155,119}%mathematiktürkisgrün
+ \definecolor{UR@color@12}{RGB}{0,137,147}%physik eisvogelblau
+ \definecolor{UR@color@13}{RGB}{0,135,178}%Chem spektralblau
+ \definecolor{UR@color@14}{RGB}{0,85,106}%Medi capriblau
+ \definecolor{UR@color@15}{RGB}{164,102,116} %UB dianthusrot
+ \definecolor{UR@color@16}{RGB}{114,75,81}%ZSK rotbraun
+ \definecolor{UR@color@17}{RGB}{86,78,111}%EUR perlviolett
+ \definecolor{UR@color@18}{RGB}{59,0,65}%ZHW violettrot
+ \definecolor{UR@color@19}{RGB}{134,104,0}%RUL grünbraun
+ \definecolor{UR@color@20}{RGB}{65,98,36}%ZFW farngrün
+ \definecolor{UR@color@21}{RGB}{0,129,123}%SPO wasserblau
+ \definecolor{UR@color@22}{RGB}{3,35,82}%RZ saphirblau
+ \definecolor{UR@color@23}{RGB}{0,146,133} %FSImphy
+}{
+ %cmyk-Farbdefinitionen
+ \definecolor{UR@reingrau}{cmyk}{0,0,0,0.5}
+ \bool_if:NTF \g_UR@coated_bool {
+ %Farbwerte für gestrichenes Papier
+ \definecolor{UR@color@1}{cmyk}{0.6,0,0,0.7} %LOV - Blaugrau
+ \definecolor{UR@color@2}{cmyk}{0,0.5,0,0.7} %FFg Schwarzrot
+ \definecolor{UR@color@3}{cmyk}{0,0,0.5,0.7} %ASZ Schilfgrün
+ \definecolor{UR@color@4}{cmyk}{0.3,0,1,0}%RWS, urangelb
+ \definecolor{UR@color@5}{cmyk}{0,0,1,0.35}%WiWi lärchennadelgrün
+ \definecolor{UR@color@6}{cmyk}{0,0.3,1,0}%KT vatikangelb
+ \definecolor{UR@color@7}{cmyk}{0,0.6,1,0}%PKGGorangerot
+ \definecolor{UR@color@8}{cmyk}{0,1,0.6,0}%PPSheucherarot
+ \definecolor{UR@color@9}{cmyk}{0,1,0,0.3}%SLKheidenelkenrot
+ \definecolor{UR@color@10}{cmyk}{0.6,0,1,0}%Bioblattgrün
+ \definecolor{UR@color@11}{cmyk}{1,0,0.6,0}%mathematiktürkisgrün
+ \definecolor{UR@color@12}{cmyk}{1,0,0.3,0}%physik eisvogelblau
+ \definecolor{UR@color@13}{cmyk}{1,0.3,0,0}%Chem spektralblau
+ \definecolor{UR@color@14}{cmyk}{1,0,0,0.5}%Medi capriblau
+ \definecolor{UR@color@15}{cmyk}{0,0.6,0.3,0.3} %UB dianthusrot
+ \definecolor{UR@color@16}{cmyk}{0,0.6,0.3,0.6}%ZSK rotbraun
+ \definecolor{UR@color@17}{cmyk}{0.6,0.6,0.15,0.3}%EUR perlviolett
+ \definecolor{UR@color@18}{cmyk}{0.6,1,0,0.6}%ZHW violettrot
+ \definecolor{UR@color@19}{cmyk}{0,0.3,1,0.6}%RUL grünbraun
+ \definecolor{UR@color@20}{cmyk}{0.6,0,1,0.6}%ZFW farngrün
+ \definecolor{UR@color@21}{cmyk}{1,0,0.3,0.3}%SPO wasserblau
+ \definecolor{UR@color@22}{cmyk}{1,0.6,0,0.6}%RZ saphirblau
+ \definecolor{UR@color@23}{cmyk}{1,0,0.45,0} %FSImphy
+ }{
+ %Farbwerte für ungestrichenes Papier
+ \definecolor{UR@color@1}{cmyk}{0.9,0.3,0.2,0.5} %LOV - Blaugrau
+ \definecolor{UR@color@2}{cmyk}{0.4,0.9,0.2,0.5} %FFg Schwarzrot
+ \definecolor{UR@color@3}{cmyk}{0.2,0.05,0.7,0.5} %ASZ Schilfgrün
+ \definecolor{UR@color@4}{cmyk}{0.2,0,1,0}%RWS, urangelb
+ \definecolor{UR@color@5}{cmyk}{0.1,0.1,1,0.2}%WiWi lärchennadelgrün
+ \definecolor{UR@color@6}{cmyk}{0,0.2,1,0}%KT vatikangelb
+ \definecolor{UR@color@7}{cmyk}{0,0.5,1,0}%PKGGorangerot
+ \definecolor{UR@color@8}{cmyk}{0,1,0.6,0}%PPSheucherarot
+ \definecolor{UR@color@9}{cmyk}{0.1,1,0.1,0.1}%SLKheidenelkenrot
+ \definecolor{UR@color@10}{cmyk}{0.5,0,1,0}%Bioblattgrün
+ \definecolor{UR@color@11}{cmyk}{1,0.1,0.5,0}%mathematiktürkisgrün
+ \definecolor{UR@color@12}{cmyk}{0.9,0,0.3,0}%physik eisvogelblau
+ \definecolor{UR@color@13}{cmyk}{1,0.2,0,0}%Chem spektralblau
+ \definecolor{UR@color@14}{cmyk}{1,0.2,0.1,0.3}%Medi capriblau
+ \definecolor{UR@color@15}{cmyk}{0.1,0.6,0.4,0.1} %UB dianthusrot
+ \definecolor{UR@color@16}{cmyk}{0.2,0.7,0.5,0.4}%ZSK rotbraun
+ \definecolor{UR@color@17}{cmyk}{0.68,0.73,0.18,0.18}%EUR perlviolett
+ \definecolor{UR@color@18}{cmyk}{0.7,0.9,0.1,0.4}%ZHW violettrot
+ \definecolor{UR@color@19}{cmyk}{0.11,0.36,1,0.44}%RUL grünbraun
+ \definecolor{UR@color@20}{cmyk}{0.6,0.2,1,0.4}%ZFW farngrün
+ \definecolor{UR@color@21}{cmyk}{1,0,0.3,0.2}%SPO wasserblau
+ \definecolor{UR@color@22}{cmyk}{1,0.7,0.1,0.4}%RZ saphirblau
+ \definecolor{UR@color@23}{cmyk}{0.95,0.05,0.45,0} %FSIpmphy
+ }
+}
diff --git a/macros/latex/contrib/urcls/tex/URletter.cls b/macros/latex/contrib/urcls/tex/URletter.cls
new file mode 100644
index 0000000000..58486f3b6e
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URletter.cls
@@ -0,0 +1,302 @@
+%%
+%% This is file `URletter.cls' version 2.1 (2019/10/19),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2018 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.1}
+\def\filedate{2018/10/19}
+
+\RequirePackage{expl3}
+\ProvidesExplClass {URletter} {\filedate} {\fileversion} {scrlttr2 based document class for the University of Regensburg}
+
+\RequirePackage{URoptions}
+\Define@specialopt@Module
+
+
+
+\clist_map_inline:nn {intern,dean,deanery,babel} {\UR_new@BoolOpt {#1}}
+\UR_set@InitialValue:nn {babel}{true}
+\UR_new@BoolOpt [dean] {dekan}
+\UR_new@BoolOpt [deanery] {dekanat}
+
+\Module@DeclarePassOption{logo}{URrules}
+\Module@DeclarePassOption{intern}[true]{URrules}
+\Module@DeclarePassOption{draft}[true]{URrules}
+\Module@DeclarePassOption{final}[true]{URrules}
+
+\UR@create@ChoiceKey{headline}[true]{
+ {true}{
+ \bool_gset_true:N \g_UR@ShowHeadline_bool
+ },
+ {false}{
+ \bool_gset_false:N \g_UR@ShowHeadline_bool
+ },
+ {intern}{
+ \bool_gset_true:N \g_UR@ShowHeadline_bool
+ \PassOptionsToPackage{intern}{URrules}
+ }
+}<true>
+
+
+\UR_Define@Key:n {
+ headline / draft .meta:n = {headline=intern},
+ headline / empty .meta:n = {headline=false},
+ headline / color .meta:n = {headline=true}
+}
+
+\bool_new:N \g_UR@locdate_bool
+
+\UR@create@ChoiceKey{refline}{
+ {nodate}{
+ \bool_gset_true:N \g_UR@locdate_bool
+ \PassOptionsToClass{refline=nodate}{scrlttr2}
+ },
+ {false}{
+ \bool_gset_true:N \g_UR@locdate_bool
+ \AtEndOfClass{\removereffields}
+ \PassOptionsToClass{refline=nodate}{scrlttr2}
+ },
+ {unknown}{
+ \PassOptionsToClass{\l_keys_key_tl\tl_if_blank:nF{#1}{=#1}}{scrlttr2}
+ }
+}
+
+
+
+%lco-Option for LoadLetterOptions
+\Module@DefineSpecialKey{lco}{\AtEndOfClass{\expandafter\LoadLetterOptions{#1}}}
+
+%Optionsvariante aus Kompatibilitätsgründen:
+\DeclareOption{noheadline}{\UR_set@Key:n{headline=false}}
+
+\UR@DeclareColorOptions
+
+\Module@DefineSpecialPassKey{URrules}
+\Module@DefineSpecialPassKey{URcolors}
+
+\PassOptionsToClass{backaddress=plain}{scrlttr2}
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrlttr2}}
+
+
+\Module@Process@SpecialOptions
+
+
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+
+
+\ProcessOptions\relax
+
+\LoadClass{scrlttr2}
+
+\RequirePackage{iftex}
+\ifPDFTeX
+\RequirePackage[utf8]{inputenc}
+\fi
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\providecaptionname{german,ngerman}{\chairname}{Lehrstuhl}%Lehrstuhl}%Lehrstuhl für...
+\providecaptionname{german,ngerman}{\facultyname}{Fakultät}%Fakultät für...
+\providecaptionname{german,ngerman}{\institutename}{Institut}%Institut für...
+\providecaptionname{german,ngerman}{\roomname}{Zimmer}
+
+
+\providecommand*{\chairname}{Lehrstuhl}
+\providecommand*{\facultyname}{Fakultät}
+\providecommand*{\institutename}{Institut}
+\providecommand*{\roomname}{Zimmer}
+
+%% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%Neue Komavars
+\newkomavar[\phonename\usekomavar{phoneseparator}]{officephone}%Telefon Sekretariat
+\newkomavar[\faxname\usekomavar{phoneseparator}]{officefax}%Fax Sekretariat
+\newkomavar[\chairname\chairseparator]{chair}
+\newcommand{\chairseparator}{~für~}
+\newkomavar[\facultyname\facultyseparator]{faculty}
+\newcommand{\facultyseparator}{~für~}
+\newkomavar[\institutename\instituteseparator]{institute}
+\newcommand{\instituteseparator}{~für~}
+\newcommand{\roomseparator}{~}
+\newkomavar[\roomname\roomseparator]{fromroom}
+\newkomavar{department}%Einrichtung
+
+\newcommand{\UR@dean}{Der~Dekan}
+\newcommand{\UR@deanery}{Dekanat}
+\newcommand{\UR@deanery@label}{Fakultätsverwaltung}
+
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%Pseudolängen und Längen
+%Erstellung des Farbbalkens
+\bool_if:NTF \g_UR@ShowHeadline_bool {
+ \RequirePackage{URrules}
+ \UR@create@titlebox{UR@letter@titlebox}
+ \setkomavar{firsthead}{\usebox{\UR@letter@titlebox}}
+}{
+ \RequirePackage{URcolors}
+ \newlength{\UR@title@halfradius}
+ \setlength{\UR@title@halfradius}{\dimexpr\paperwidth/42\relax}
+ \setkomavar{firsthead}{}
+}
+
+\@setplength{refhpos}{\useplength{toaddrhpos}}
+\setlengthtoplength{\oddsidemargin}{toaddrhpos}
+\addtolength{\oddsidemargin}{-1in}
+\setlength{\textwidth}{\paperwidth}
+\addtolengthplength[-2]{\textwidth}{toaddrhpos}
+\@setplength{refwidth}{\textwidth}
+%Positionierung des Kopfes
+\@setplength{firstheadhpos}{0pt}
+\@setplength{firstheadvpos}{0pt} %-1pt}
+\@setplength{firstheadwidth}{\paperwidth}
+%Positionierung der Absenderergänzung
+\@setplength{lochpos}{\useplength{toaddrhpos}}
+\@setplength{locvpos}{6\UR@title@halfradius}
+\@setplength{locwidth}{\dimexpr(\paperwidth-10\UR@title@halfradius)/2-\useplength{lochpos}\relax}
+\@setplength{locheight}{\dimexpr\useplength{toaddrheight}+\useplength{toaddrvpos}-\useplength{locvpos}\relax}
+
+% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
+%Absenderergänzung
+
+\bool_if:NTF \g_UR@deanery_bool {
+\setkomavar{location}{
+ \setlength{\parskip}{0pt}
+ \setlength{\parindent}{0pt}
+ \sffamily\raggedright\par
+ \fontsize{12}{12}\selectfont\UR@deanery\\[1em]
+ \fontsize{8}{8}\selectfont\textbf{\usekomavar*[\MakeUppercase]{faculty}\usekomavar[\MakeUppercase]{faculty}\\[1.5em]}
+ \fontsize{8}{8}\selectfont
+ \textbf{\UR@deanery@label\\[1.5pt]\usekomavar{fromname}}\\[1.5pt]
+ \ifkomavarempty{fromphone}{}{\usekomavar*{fromphone}\usekomavar{fromphone}\\[1.5pt]%
+ \ifkomavarempty{fromfax}{\null\hspace*{0cm}\\[1em]}{\usekomavar*{fromfax}\usekomavar{fromfax}\\[1.5pt]}}
+ \ifkomavarempty{fromroom}{}{\usekomavar*{fromroom} \usekomavar{fromroom}\\[1.5pt]}
+ \usekomavar{fromaddress}\\[1.5em]
+ \ifkomavarempty{fromemail}{}{\usekomavar*{fromemail}\usekomavar{fromemail}\\[1.5pt]}
+ \ifkomavarempty{fromurl}{}{\usekomavar*{fromemail}\usekomavar{fromurl}}
+ \bool_if:NT \g_UR@locdate_bool {
+ \\[1.5em]
+ \vfill
+ {\ifkomavarempty{place}{}{%
+ \usekomavar{place}\usekomavar{placeseparator}}%
+ \usekomavar{date}}%
+ }
+
+
+ }
+}{
+ \bool_if:NTF \g_UR@dean_bool {
+ \setkomavar{location}{
+ \setlength{\parskip}{0pt}
+ \sffamily\raggedright\par
+ \fontsize{12}{0}\selectfont\UR@dean\\[1.5em]
+ \fontsize{8}{0}\selectfont\textbf{\usekomavar*[\MakeUppercase]{faculty}\usekomavar[\MakeUppercase]{faculty}\\[1.5em]}
+ \fontsize{8}{0}\selectfont
+ \textbf{\usekomavar{fromname}}\\[1.5pt]
+ %Absendertelefonnummer
+ \ifkomavarempty{fromphone}{}{\usekomavar*{fromphone}\usekomavar{fromphone}\\[1.5pt]}
+ \ifkomavarempty{fromfax}{}{\usekomavar*{fromfax}\usekomavar{fromfax}\\[1.5pt]} %Absenderfax
+ \ifkomavarempty{fromroom}{}{\usekomavar*{fromroom} \usekomavar{fromroom}\\}
+ %Sekretariat:
+ \ifkomavarempty{officephone}{}{Sekretariat:\\[1.5pt]
+ \usekomavar*{officephone}\usekomavar{officephone}\\[1.5pt]
+ \ifkomavarempty{officefax}{}{\usekomavar*{officefax}\usekomavar{officefax}\\[1.5pt]}}
+ \usekomavar{fromaddress}\\[1.5em]
+ \ifkomavarempty{fromemail}{}{\usekomavar{fromemail}\\[1.5pt]}
+ \ifkomavarempty{fromurl}{}{\usekomavar{fromurl}}
+ \bool_if:NT \g_UR@locdate_bool {
+ \\[1.5em]
+ \vfill
+ {\ifkomavarempty{place}{}{%
+ \usekomavar{place}\usekomavar{placeseparator}}%
+ \usekomavar{date}}%
+ }
+ }
+ }{
+ \setkomavar{location}{
+ \setlength{\parskip}{0pt}
+ \setlength{\parindent}{0pt}
+ \fontsize{6}{0}\selectfont
+ \sffamily\raggedright\par
+ %Einrichtung
+ \ifkomavarempty{department}
+ {\ifkomavarempty{faculty}
+ {\vspace*{\baselineskip}}
+ {\textbf{\usekomavar*[\MakeUppercase]{faculty}\usekomavar[\MakeUppercase]{faculty}\\[5pt]}}}
+ {\textbf{\usekomavar*[\MakeUppercase]{department}\usekomavar[\MakeUppercase]{department}\\[5pt]}}
+ \fontsize{12}{0}\selectfont
+ \ifkomavarempty{chair}
+ {
+ \ifkomavarempty{institute}
+ {\par\vspace{2.2cm}}
+ {\usekomavar*{institute}\usekomavar{institute}\\[1.5em]}
+ }
+ {\usekomavar*{chair}\usekomavar{chair}\\[1.5em]}
+ \fontsize{8}{0}\selectfont
+ \ifkomavarempty{fromname}{}{\textbf{\usekomavar{fromname}}\\[1.5pt]}
+ %Absendertelefonnummer
+ \ifkomavarempty{fromphone}{}{\usekomavar*{fromphone}\usekomavar{fromphone}\\[1.5pt]
+ \ifkomavarempty{fromfax}{}{\usekomavar*{fromfax}\usekomavar{fromfax}\\[1.5pt]}}%Absenderfax
+ \ifkomavarempty{fromroom}{}{\usekomavar*{fromroom} \usekomavar{fromroom}\\[1.5pt]}
+ %Sekretariat:
+ \ifkomavarempty{officephone}{}{Sekretariat:\\[1.5pt]
+ \usekomavar*{officephone}\usekomavar{officephone}
+ \ifkomavarempty{officefax}{\null\hspace*{0cm}\\[1em]}{\\[1.5pt]\usekomavar*{officefax}\usekomavar{officefax}\\[1.5pt]}}
+ \usekomavar{fromaddress}\\[1em]
+ \ifkomavarempty{fromemail}%
+ {\ifkomavarempty{fromurl}{}{\usekomavar{fromurl}}}%
+ {\usekomavar{fromemail}%
+ \ifkomavarempty{fromurl}{}{\\[1.5pt]\usekomavar{fromurl}}}
+ \bool_if:NT \g_UR@locdate_bool {
+ \\[1.5em]
+ \vfill
+ {\ifkomavarempty{place}{}{%
+ \usekomavar{place}\usekomavar{placeseparator}}%
+ \usekomavar{date}}%
+ }
+ }
+ }
+}
+
+%Defaultwerte für komavar
+\setkomavar{fromaddress}{Universitätsstraße~31\\[1.5pt]93053~Regensburg}
+\setkomavar{backaddress}{Universität~Regensburg~$\cdot$~93040~Regensburg}
+\setkomavar{phoneseparator}{~+49\,941\,943-}
+\setkomavar{faxseparator}{~+49\,941\,943-}
+
+
+\endinput
diff --git a/macros/latex/contrib/urcls/tex/URoptions.sty b/macros/latex/contrib/urcls/tex/URoptions.sty
new file mode 100644
index 0000000000..39b1cb162f
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URoptions.sty
@@ -0,0 +1,127 @@
+%%
+%% This is file `URoptions.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage{URoptions}{\filedate}{\fileversion}{Implementation of keyval-options for the urcls bundle}
+
+\RequirePackage{URspecialopts}
+
+
+%Define the departments
+\clist_new:N \g_UR@dep_clist
+\clist_gset:Nn \g_UR@dep_clist {lov,ffg,asz,rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med,ub,zsk,eur,zhw,rul,zfw,spo,rz,fsimphy}
+
+
+\cs_new:Nn \UR_Define@Key:n {
+ \exp_args:Nx \keys_define:nn { \@currname.\@currext }
+ {#1}
+}
+
+\cs_new:Nn \UR_Define@Key:nnn {
+ \exp_args:Nx \keys_define:nn { \@currname.\@currext }
+ {#1#2=#3}
+}
+
+\cs_generate_variant:Nn \UR_Define@Key:nnn {xno,xnn}% {xo,xn}
+
+\cs_new:Nn \UR_set@Key:n {
+ \exp_args:Nx \keys_set:nn { \@currname.\@currext }
+ {#1}
+}
+
+\cs_new:Npn \UR_Define@BoolKey [#1]#2 {
+ \UR_Define@Key:n {
+ #2 .bool_gset:c = {g_UR@#1_bool},
+ #2 .default:n = {true}
+ }
+}
+
+\cs_new:Nn \UR_set@InitialValue:nn {
+ \UR_Define@Key:n {
+ #1 .initial:n = #2
+ }
+}
+
+
+
+
+%\NewDocumentCommand{\UR_Define@ComplementaryKey}{smmD<>{}}{
+\cs_new:Npn \UR_Define@ComplementaryKey [#1]#2 {
+ \UR_Define@Key:n
+ {
+ #2 .bool_gset_inverse:c = {g_UR@#1_bool},
+ #2 .default:n = {true},
+ }
+}
+
+
+\newcommand*{\UR_new@BoolOpt}{
+ \@dblarg\UR_Define@BoolKey
+}
+
+
+\newcommand*{\UR@define@draftfinalkeys}{
+ \UR_new@BoolOpt{draft}
+ \UR_Define@ComplementaryKey[draft]{final}
+}
+
+%\UR@create@ChoiceKey{key}[default]{{value}{code},{value}{code}}<initial value>
+\NewDocumentCommand\UR@create@ChoiceKey{momd<>}{
+ \UR_Define@Key:n{
+ #1 .choice:
+ }
+ \clist_map_inline:nn {#3} {
+ \UR_Define@Key:xnn {#1 / \use_i:nn ##1} { .code:n} {\use_ii:nn ##1}
+ }
+ \IfNoValueF{#4}{
+ \UR_set@InitialValue:nn {#1}{#4}
+ }
+ \IfNoValueF{#2}{\UR_Define@Key:n { #1 .default:n = #2}}
+}
+
+\newcommand*{\UR@DeclareColorOptions}{
+ \Module@DefineSpecialPassKey{colors}<URrules>
+ \clist_map_inline:Nn \g_UR@dep_clist {\Module@DeclarePassOption{##1}[true]{URrules}}
+ \clist_map_inline:nn {all,faculties} {\Module@DeclarePassOption{##1}[true]{URrules}}
+}
+
+\endinput
diff --git a/macros/latex/contrib/urcls/tex/URpagestyles.sty b/macros/latex/contrib/urcls/tex/URpagestyles.sty
new file mode 100644
index 0000000000..8e1fd4a540
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URpagestyles.sty
@@ -0,0 +1,169 @@
+%%
+%% This is file `URpagestyles.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage{URpagestyles}{\filedate}{\fileversion}{Pagestyles adapting the corporate design of the University of Regensburg}
+
+\RequirePackage{URoptions}
+
+\Define@specialopt@Module
+
+\UR_new@BoolOpt{origlayout}
+
+
+\Module@DeclarePassOption{automark}{scrlayer-scrpage}
+
+\clist_map_inline:nn {logo,draft,intern,final}{\Module@DeclarePassOption{#1}{URrules}}
+
+%KeyVal-Options for passing on to automatically loaded packages
+\Module@DefineSpecialPassKey{URrules}
+\Module@DefineSpecialPassKey{URcolors}
+\Module@DefineSpecialPassKey{scrlayer-scrpage}
+\Module@DefineSpecialPassKey{scrlayer}
+
+\UR@DeclareColorOptions
+
+
+
+%Key=Value Passing to Package
+\clist_map_inline:nn {headsepline,headtopline,footsetline,footbotline}{\Module@DeclarePassOption{#1}{scrlayer-scrpage}}
+
+
+\Module@Process@SpecialOptions
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+
+
+\RequirePackage{URrules}
+\RequirePackage{scrlayer-scrpage}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%Titelseitenstil
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\UR@create@titlebox{UR@titlebox}
+
+\DeclareNewLayer[align=lt,area={0pt}{0pt}{\paperwidth}{7\UR@title@halfradius},foreground,contents={
+ \usebox\UR@titlebox
+}]{UR.titlehead}
+
+\DeclareNewPageStyleByLayers{URtitle}{UR.titlehead}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%Seitenstile URheadings und plain.URheadings
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newpairofpagestyles[scrheadings]{URheadings}{}
+
+\newcommand{\UR@koma@rule}[1]{%
+ \begingroup
+ \normalfont
+ \vbox to \z@{%
+ \kern -\dimexpr \csname sls@#1@linethickness\endcsname\relax%height
+ \ifnum \sls@hfline@adjust>\z@ \@tempswatrue \else \@tempswafalse\fi
+ \if@twoside\ifodd\value{page}\else
+ \ifnum \sls@hfline@adjust<\tw@ \@tempswatrue\else \@tempswafalse\fi
+ \fi\fi
+ \if@tempswa
+ \hskip \z@\@plus 1fill\@minus \paperwidth
+ \fi
+ \if@twoside\ifodd\value{page}
+ \expandafter\usebox\csname UR@koma@#1\endcsname
+ \else
+ \reflectbox{\expandafter\usebox\csname UR@koma@#1\endcsname}
+ \fi
+ \else
+ \expandafter\usebox\csname UR@koma@#1\endcsname
+ \fi
+ \ifnum \sls@hfline@adjust<\tw@ \@tempswatrue\else \@tempswafalse\fi
+ \if@twoside\ifodd\value{page}\else
+ \ifnum \sls@hfline@adjust>\z@ \@tempswatrue \else \@tempswafalse\fi
+ \fi\fi
+ \if@tempswa
+ \hskip \z@\@plus 1fill\@minus \paperwidth\null
+ \fi
+ }%
+ \endgroup
+ }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%Linienebenendeklaration
+\NewDocumentCommand{\UR@line@DeclareLayer}
+{mm}{%head/foot; above/below;%opt:align tl bei headsepline; 4background/forground; voffset
+\AtBeginDocument{
+\expandafter\ifdim\dimexpr\csname sls@#1#2@linethickness\endcsname\relax=\z@
+ \expandafter\newsavebox\csname UR@koma@#1#2\endcsname
+\else
+ \bool_if:NTF \g_UR@origlayout_bool
+ {\UR@create@linebox*[\csname sls@#1#2@linethickness\endcsname]{UR@koma@#1#2}}
+ {\UR@create@linebox[\csname sls@#1#2@linethickness\endcsname]<\csname sls@#1#2@linelength\endcsname>{UR@koma@#1#2}}
+\fi
+}
+\ModifyLayer[contents={\UR@koma@rule{#1#2}}]{URheadings.#1.#2.line}
+\ModifyLayer[contents={\UR@koma@rule{#1#2}}]{plain.URheadings.#1.#2.line}
+}
+
+\UR@line@DeclareLayer{head}{above}
+\UR@line@DeclareLayer{head}{below}
+\UR@line@DeclareLayer{foot}{above}
+\UR@line@DeclareLayer{foot}{below}
+
+\AtEndOfPackage{
+ \pagestyle{URheadings}
+ \clearpairofpagestyles
+ \ohead{\headmark}
+ \ofoot[\if@twoside\pagemark\fi]{\if@twoside\pagemark\fi}%
+ \cfoot[\if@twoside\else\pagemark\fi]{\if@twoside\else\pagemark\fi}%
+ }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%origlayout: Linien so positioniert, wie auf der Titelseite
+\bool_if:NT \g_UR@origlayout_bool {\KOMAoptions{ilines}}
+
+
+\endinput
diff --git a/macros/latex/contrib/urcls/tex/URrules.sty b/macros/latex/contrib/urcls/tex/URrules.sty
new file mode 100644
index 0000000000..b677d60748
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URrules.sty
@@ -0,0 +1,304 @@
+%%
+%% This is file `URrules.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage{URrules}{\filedate}{\fileversion}{Creation of colored bars for urcls-bundle}
+
+\RequirePackage{URoptions}
+
+\ExplSyntaxOn
+
+
+\Define@specialopt@Module
+
+\int_new:N \g_UR@dep_int
+\int_new:N \l_UR@temp_int
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%Optionen zum aktivieren einzelner Farben
+
+\int_zero:N \l_UR@temp_int
+\prop_new:N \g_UR@DepNumKeys_prop
+
+
+\clist_map_inline:Nn \g_UR@dep_clist {
+ \int_incr:N \l_UR@temp_int
+ \UR_Define@BoolKey [dep\int_use:N \l_UR@temp_int] {#1}
+ \prop_put:Nnx \g_UR@DepNumKeys_prop {#1} {\int_use:N \l_UR@temp_int}
+}
+
+%Sammelaktivierung: all=alle Farben, faculties=alle 11 Fakultäten
+\UR_new@BoolOpt{all}
+\UR_new@BoolOpt{faculties}
+
+\UR_Define@Key:n {
+ logo .code:n = {\def\UR@opt@logo{#1}},
+ colors .code:n = {\UR_Set@Key:n {#1}}
+}
+
+\UR_new@BoolOpt{beamer}%beamerspezifische Definitionen
+
+%Tonersparender Briefkopf oder draft
+\UR_new@BoolOpt{intern}
+\UR_new@BoolOpt[intern]{draft}
+\UR_Define@ComplementaryKey[intern]{final}
+
+\UR_new@BoolOpt{origlayout}%Linien mit demselben Spacing, wie die Titelseitenlayouts
+
+\UR_Define@Key:n {
+ all .code:n = {\clist_map_inline:nn
+ {lov,ffg,asz,rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med,ub,zsk,eur,zhw,rul,zfw,spo,rz}
+ {\bool_gset_true:c {g_UR@dep\prop_item:Nn \g_UR@DepNumKeys_prop {##1}_bool}}
+ },
+ faculties .code:n = {\clist_map_inline:nn
+ {rw,ww,kt,pkgg,pps,slk,bvm,mat,ph,chp,med}
+ {\bool_gset_true:c {g_UR@dep\prop_item:Nn \g_UR@DepNumKeys_prop {##1}_bool}}
+ }
+}
+
+
+\Module@Process@SpecialOptions
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+
+
+
+\int_set:Nn \l_UR@temp_int {1}
+\int_while_do:nn {\l_UR@temp_int<\clist_count:N \g_UR@dep_clist} {%
+ \bool_if:cT{g_UR@dep\int_use:N\l_UR@temp_int _bool}{\int_gincr:N \g_UR@dep_int
+ }
+ \int_incr:N \l_UR@temp_int
+}
+
+
+\RequirePackage{tikz}
+\RequirePackage{URcolors}
+
+%Längen
+%%%Skalierung des Logos & Titelblocks
+%%halber Radius der Kugel
+\expandafter\ifx\csname UR@title@halfradius\endcsname\relax
+\newlength{\UR@title@halfradius}
+\setlength{\UR@title@halfradius}{\dimexpr\paperwidth/42\relax}
+\fi
+
+\box_new:N \UR@titlelogo@box
+\cs_if_exist:NTF \UR@opt@logo
+ {\exp_args:Nx \tl_if_eq:nnTF {\UR@opt@logo} {fsimphy}
+ {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{FSIlogotext}}}
+ {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{\UR@opt@logo}}}
+ }
+ {\bool_if:NTF \g_UR@intern_bool
+ {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{urlogotextintern}}}
+ {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{urlogotext}}}
+ }
+% \bool_if:cTF {g_UR@dep23_bool}
+% {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{FSIlogotext}}}
+% {\bool_if:NTF \g_UR@intern_bool
+% {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{urlogotextintern}}}
+% {\hbox_set:Nn \UR@titlelogo@box {\includegraphics[width=12\UR@title@halfradius]{urlogotext}}}
+% }
+% }
+
+
+
+
+%Style für die Logos
+\tikzset{UR@logo/.style={inner~sep=0pt, anchor=north~west, outer~sep=0pt},
+ UR@linewidth/.style={line~width=.4pt}
+ }
+
+
+%Warning bei fehlender Farboptionenangabe
+\int_compare:nT {\g_UR@dep_int = 0}{
+ \msg_new:nnn {URrules.sty} {nocolor} {You~didn't~specify~a~color~option.~The~usually~colored~area~is~set~empty.}
+ \msg_warning:nn {URrules.sty} {nocolor}
+}
+
+%Definition der Längen für die Konstruktion der Boxen & Linien
+\dim_new:N \l_UR@linelength_dim
+\dim_new:N \l_UR@linewidth_dim
+\dim_new:N \l_UR@colorlength_dim
+\int_new:N \l_UR@color_int
+
+%Definition von \UR@create@linebox*[Dicke]<Länge>{csname}
+\NewDocumentCommand\UR@create@linebox{sO{3pt}D<>{\paperwidth-10\UR@title@halfradius}m}{
+ \dim_set:Nn \l_UR@linewidth_dim {#2}
+ \dim_set:Nn \l_UR@linelength_dim {#3}
+ \dim_set:Nn \l_UR@linelength_dim {.5\l_UR@linelength_dim}
+ \box_new:c {#4}
+ \if_bool:N \g_UR@intern_bool
+ \hbox_gset:cn {#4}{
+ \begin{tikzpicture}[UR@linewidth]
+ \IfBooleanTF{#1}
+ {\useasboundingbox (0,0) rectangle (-\dimexpr 10\UR@title@halfradius-1in-\hoffset-\oddsidemargin\relax,-\l_UR@linewidth_dim);}
+ {\useasboundingbox (0,0) rectangle (2\l_UR@linelength_dim,-\l_UR@linewidth_dim);}
+ \fill[UR@reingrau](0,0)rectangle(\l_UR@linelength_dim,-\l_UR@linewidth_dim);
+ \draw[UR@reingrau](\l_UR@linelength_dim,\dimexpr-\l_UR@linewidth_dim+.5\pgflinewidth\relax)--(\dimexpr2\l_UR@linelength_dim-.5\pgflinewidth\relax,\dimexpr-\l_UR@linewidth_dim+.5\pgflinewidth\relax)--(\dimexpr2\l_UR@linelength_dim-.5\pgflinewidth\relax,-.5\pgflinewidth)--(\l_UR@linelength_dim,-.5\pgflinewidth);
+ \end{tikzpicture}
+ }
+ \else:
+ \int_zero:N \l_UR@color_int
+ \int_set:Nn \l_UR@temp_int {1}
+ \hbox_gset:cn {#4}
+ {
+ \begin{tikzpicture}[baseline=(current~bounding~box.center)]
+ \IfBooleanTF{#1}
+ {\useasboundingbox (0,0) rectangle (-\dimexpr 10\UR@title@halfradius-1in-\hoffset-\oddsidemargin\relax,-\l_UR@linewidth_dim);}
+ {\useasboundingbox (0,0) rectangle (2\l_UR@linelength_dim,-\l_UR@linewidth_dim);}
+ \fill[UR@reingrau](0,0)rectangle+(\l_UR@linelength_dim,-\l_UR@linewidth_dim);
+ \coordinate(grauerstreifen) at (\l_UR@linelength_dim,-\l_UR@linewidth_dim);
+ \int_compare:nF {\g_UR@dep_int = 0}
+ {
+ \dim_set:Nn \l_UR@colorlength_dim {\l_UR@linelength_dim/\g_UR@dep_int}
+ \int_while_do:nn {\l_UR@temp_int<24}{%
+ \exp_after:wN \if_bool:N \cs:w g_UR@dep\int_use:N\l_UR@temp_int _bool\cs_end:
+ \fill[UR@color@\int_use:N \l_UR@temp_int](grauerstreifen)++(\l_UR@color_int\l_UR@colorlength_dim,0)rectangle+(\l_UR@colorlength_dim,\l_UR@linewidth_dim);
+ \int_incr:N \l_UR@color_int
+ \fi:
+ \int_incr:N \l_UR@temp_int
+ }
+ }
+ \end{tikzpicture}%
+ }
+ \fi:
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%Definition von \UR@create@colorlinebox[Dicke]<Länge>{csname}
+\NewDocumentCommand\UR@create@colorlinebox{O{3pt}D<>{\paperwidth-10\UR@title@halfradius}m}{
+ \dim_set:Nn \l_UR@linewidth_dim {#1}
+ \dim_set:Nn \l_UR@linelength_dim {#2}
+ \box_new:c {#3}
+ \if_bool:N \g_UR@intern_bool
+ \hbox_gset:cn {#3}
+ {
+ \begin{tikzpicture}[UR@linewidth]
+ \useasboundingbox[clip] (0,0) rectangle (\l_UR@linelength_dim,-\l_UR@linewidth_dim);
+ \draw(.5\pgflinewidth,.5\pgflinewidth) rectangle (\dimexpr\l_UR@linelength_dim-.5\pgflinewidth,\dimexpr-\l_UR@linewidth_dim+.5\pgflinewidth\relax);
+ \end{tikzpicture}
+ }
+ \else:
+ \int_compare:nF {\g_UR@dep_int = 0}{\dim_set:Nn \l_UR@colorlength_dim {\l_UR@linelength_dim/\g_UR@dep_int}
+ \int_zero:N \l_UR@color_int
+ \int_set:Nn \l_UR@temp_int {1}
+ \hbox_gset:cn {#3}
+ {
+ \begin{tikzpicture}
+ \useasboundingbox (0,0) rectangle (\l_UR@linelength_dim,-\l_UR@linewidth_dim);
+ \int_while_do:nn {\l_UR@temp_int<24}{%
+ \exp_after:wN \if_bool:N \cs:w g_UR@dep\int_use:N\l_UR@temp_int _bool\cs_end:
+ \path[fill=UR@color@\int_use:N \l_UR@temp_int](\l_UR@color_int\l_UR@colorlength_dim,0)rectangle++(\l_UR@colorlength_dim,-\l_UR@linewidth_dim);
+ \int_incr:N \l_UR@color_int
+ \fi:
+ \int_incr:N \l_UR@temp_int
+ }
+ \end{tikzpicture}%
+ }
+ }
+ \fi:
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%Definition von \UR@create@titlebox{csname}
+\NewDocumentCommand\UR@create@titlebox{m}{
+ \dim_set:Nn \l_UR@linelength_dim {(\paperwidth-10\UR@title@halfradius)/2}
+% \int_compare:nT {\g_UR@dep_int != 0}{\dim_set:Nn \l_UR@colorlength_dim {\l_UR@linelength_dim/\g_UR@dep_int}}
+ \box_new:c {#1}
+\if_bool:N \g_UR@intern_bool
+ \hbox_gset:cn {#1}
+ {
+ %schwarz weißer Kopf für interne Verwendung
+ \begin{tikzpicture}[UR@linewidth]
+ \useasboundingbox (0,0) rectangle (\paperwidth,-7\UR@title@halfradius);
+ \draw(10\UR@title@halfradius,-\UR@title@halfradius)--++(0,-2\UR@title@halfradius)--++(.98\l_UR@linelength_dim,0)++(.02\l_UR@linelength_dim,2\UR@title@halfradius)--++(0,-2\UR@title@halfradius)--++(\l_UR@linelength_dim,0);
+ \draw(3\UR@title@halfradius,-1\UR@title@halfradius)node[UR@logo]{\usebox\UR@titlelogo@box};%\pgfuseimage{titlelogo}};
+ \end{tikzpicture}
+ }
+\else:
+ \int_zero:N \l_UR@color_int
+ \int_set:Nn \l_UR@temp_int {1}
+ \hbox_gset:cn {#1}
+ {
+% %Farbiger Kopf
+ \begin{tikzpicture}
+ \useasboundingbox (0,0) rectangle (\paperwidth,-7\UR@title@halfradius);
+ \path[fill=UR@reingrau](10\UR@title@halfradius,0)rectangle++(\l_UR@linelength_dim,-3\UR@title@halfradius);
+ \coordinate(grauerstreifen) at (10\UR@title@halfradius+\l_UR@linelength_dim,-3\UR@title@halfradius);
+ \node[UR@logo] at (3\UR@title@halfradius,-\UR@title@halfradius) {\usebox\UR@titlelogo@box};%\pgfuseimage{titlelogo}};
+ \int_compare:nF {\g_UR@dep_int = 0}
+% {\UR@nocolorwarn}
+ {
+ \dim_set:Nn \l_UR@colorlength_dim {\l_UR@linelength_dim/\g_UR@dep_int}
+ \int_while_do:nn {\l_UR@temp_int<24}
+ {
+ \exp_after:wN \if_bool:N \cs:w g_UR@dep\int_use:N\l_UR@temp_int _bool\cs_end:
+ \path[fill=UR@color@\int_use:N \l_UR@temp_int](grauerstreifen)++(\l_UR@color_int\l_UR@colorlength_dim,0)rectangle+(\l_UR@colorlength_dim,3\UR@title@halfradius);
+ \int_incr:N \l_UR@color_int
+ \fi:
+ \int_incr:N \l_UR@temp_int
+ }
+ }
+ \end{tikzpicture}
+ }
+\fi:
+ }
+
+%\URrule{department clist}{width}{height}
+\NewDocumentCommand\URrule{mmm}{
+ \bool_if:NTF \g_UR@intern_bool {
+ \textcolor{UR@reingrau}{\rule{#2}{#3}}
+ }{
+ \begin{tikzpicture}
+ \coordinate(nextpos) at (0,0);
+ \clist_map_inline:nn {#1} {
+ \prop_get:NnN \g_UR@DepNumKeys_prop {##1} \l_tmpa_tl
+ \path[fill=UR@color@\csname l_tmpa_tl\endcsname](nextpos)rectangle++({#2/\clist_count:n {#1}},#3)++(0,-#3)coordinate(nextpos);
+ }
+ \end{tikzpicture}
+ }
+}
+
+
+\ExplSyntaxOff
+
+
+\endinput
+
diff --git a/macros/latex/contrib/urcls/tex/URspecialopts.sty b/macros/latex/contrib/urcls/tex/URspecialopts.sty
new file mode 100644
index 0000000000..4e47366cd2
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/URspecialopts.sty
@@ -0,0 +1,173 @@
+%%
+%% This is file `URspecialopts.sty' version 2.1 (2019/01/22),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2016--2019 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.1}
+\def\filedate{2019/01/22}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage{URspecialopts}{\filedate}{\fileversion}{Implementation of keyval-options accepting multiple values as grouped clists}
+
+\RequirePackage{l3keys2e}
+\RequirePackage{xparse}
+
+%defining Keys for specialopts own Options:
+\keys_define:nn { specialopts.sty }
+{
+ %enabling passkeyprocessing (initially true)
+ passkey .bool_set:N = \l_specialopts@PassKey_bool,
+ passkey .default:n = true,
+ passkey .initial:n = true,
+
+ special .bool_set:N = \l_specialopts@Special_bool,
+ special .default:n = true,
+ special .initial:n = true
+}
+
+
+\ProcessKeysPackageOptions{ specialopts.sty }
+
+\NewDocumentCommand\Define@specialopt@Module{O{\@currname.\@currext}}{
+ \bool_if:NT \l_specialopts@Special_bool {\clist_new:c {l_#1@SpecialKey_clist}}
+ \bool_if:NT \l_specialopts@PassKey_bool {\clist_new:c {l_#1@PassKey_clist}}
+}
+
+\NewDocumentCommand\Module@DefineSpecialPassKey{O{\@currname.\@currext}md<>}{
+ \clist_put_right:cx {l_#1@PassKey_clist} {#2}
+ \tl_new:c {l_#1@#2@values_tl}
+ \IfNoValueF{#3}{\tl_new:c {l_#1@#2@package_tl} \tl_set:cn {l_#1@#2@package_tl} {#3}}
+}
+
+\cs_new:Nn \specialopt_Parse@OptionValue:n {\tl_if_empty:nF {#1} {=#1}}
+
+\NewDocumentCommand\Module@DeclarePassOption{sO{\@currname.\@currext}mO{}m}{
+ \exp_args:Nx \keys_define:nn {#2} {
+ #3 .code:n = {\IfBooleanTF{#1}
+ {\PassOptionsToClass{#3\specialopt_Parse@OptionValue:n {##1}}{#5}}
+ {\PassOptionsToPackage{#3\specialopt_Parse@OptionValue:n {##1}}{#5}}
+ },
+ }
+}
+
+% Define a SpecialKey (#2) using code (#3)
+% the code inside #3 can use one Argument (#1)
+% the Argument will be the token list containing the values
+\NewDocumentCommand\Module@DefineSpecialKey{O{\@currname.\@currext}mm}{
+ \clist_put_right:cx {l_#1@SpecialKey_clist} {#2}
+ \tl_new:c {l_#1@#2@values_tl}
+ \cs_new:cpn {SpecialKey_#1@#2_code:c} ##1 {#3}
+}
+
+
+%[Module]{clist-item: Names to Filter}{clist-item: unprocessed Options}
+% remove all specialopts from unprocessed options
+\cs_new:Npn \Module@Options@Filter:xcc [#1]#2#3 {
+% \clist_show:c {#2}
+% \clist_show:c {#3}
+ \clist_set_eq:Nc \l_specialopts_Compare@Key_clist {#2}
+ \clist_clear:N \l_specialopts_unprocessed@Key_clist
+ \tl_set:Nx \l_specialopts_CompareModule_tl {#1}
+ \exp_args:NNNx \keyval_parse:NNn \specialopts_Compare@KeyLists:n \specialopts_Compare@KeyLists:nn {\clist_use:cn {#3} {,}}
+ \clist_set_eq:cN {#3} \l_specialopts_unprocessed@Key_clist
+% \clist_show:c {#3}
+}
+
+\msg_new:nnn {URspecialopts.sty} {no-specialopt-value} {You entered a specialopt or pass key (#1) without any value. \\\\
+ Ignoring this key.
+}
+
+%Variant for Keys without values
+\cs_new:Nn \specialopts_Compare@KeyLists:n {
+ \clist_if_in:NnTF \l_specialopts_Compare@Key_clist {#1}
+ {\msg_warning:nnn {URspecialopts.sty} {no-specialopt-value} {#1}}
+ {\clist_put_right:Nx \l_specialopts_unprocessed@Key_clist {#1}}
+ }
+
+%Variante for Keys with values
+\cs_new:Nn \specialopts_Compare@KeyLists:nn {
+ \clist_if_in:NnTF \l_specialopts_Compare@Key_clist {#1}
+ {\tl_put_right:cx {l_\l_specialopts_CompareModule_tl @#1@values_tl}{#2}}
+ {
+ \tl_if_in:nnTF {#2} {,}
+ {\clist_put_right:Nx \l_specialopts_unprocessed@Key_clist {#1={#2}}}
+ {\clist_put_right:Nx \l_specialopts_unprocessed@Key_clist {#1=#2}}
+ }
+ }
+
+
+%Create Module@Process@SpecialOptions [module]
+\bool_lazy_any:nTF {{\l_specialopts@PassKey_bool} {\l_specialopts@Special_bool}}
+{
+ \NewDocumentCommand{\Module@Process@SpecialOptions}{O{\@currname.\@currext}}{
+ \clist_new:c {l_#1@unprocessed_clist}
+ \clist_set:cx {l_#1@unprocessed_clist} {\@ptionlist{\@currname.\@currext}}
+ \bool_if:NTF \l_specialopts@PassKey_bool {
+ \clist_if_empty:cF {l_#1@PassKey_clist}{
+ \Module@Options@Filter:xcc [#1]{l_#1@PassKey_clist}{l_#1@unprocessed_clist}
+ \clist_map_inline:cn {l_#1@PassKey_clist} {
+ \exp_args:Nc \tl_if_blank:VF {l_#1@##1@values_tl}{
+ \PassOptionsToPackage{\tl_use:c {l_#1@##1@values_tl}}{
+ \tl_if_exist:cTF {l_#1@##1@package_tl}
+ {\tl_use:c {l_#1@##1@package_tl}}
+ {##1}
+ }
+ }
+ }
+ }
+ }
+ {\clist_if_empty:cF {l_#1@PassKey_clist}}
+ \bool_if:NT \l_specialopts@Special_bool {
+ \clist_if_empty:cF {l_#1@SpecialKey_clist}{
+ \Module@Options@Filter:xcc [#1]{l_#1@SpecialKey_clist}{l_#1@unprocessed_clist}
+ \clist_map_inline:cn {l_#1@SpecialKey_clist} {
+ \tl_if_empty:cF {l_#1@##1@values_tl}
+ {\exp_args:Nnc \use:c {SpecialKey_#1@##1_code:c} {l_#1@##1@values_tl}}
+ }
+ }
+ }
+ \expandafter\edef\csname opt@\@currname.\@currext\endcsname{\clist_use:cn {l_#1@unprocessed_clist} {,}}%{\tl_use:N \l_tmpb_tl}
+ \if_meaning:w\@currext\@clsextension
+ \edef\@classoptionslist{\clist_use:cn {l_#1@unprocessed_clist} {,}}
+ \fi:
+ }
+}{
+ \let\Module@Process@SpecialOptions\relax
+}
+\ExplSyntaxOff
+
+\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/urcls/tex/beamercolorthemeUR.sty b/macros/latex/contrib/urcls/tex/beamercolorthemeUR.sty
new file mode 100644
index 0000000000..0700295b2e
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/beamercolorthemeUR.sty
@@ -0,0 +1,75 @@
+%%
+%% This is file `beamercolorthemeUR.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\ProvidesPackage{beamercolorthemeUR}[\filedate\space v\fileversion\space colortheme for URbeamer.cls]
+
+\mode<presentation>
+
+\setbeamercolor*{frametitle}{fg=UR@dunkelgrau,bg=}
+\setbeamercolor*{normal text}{fg=black,bg=white}
+\setbeamercolor*{alerted text}{fg=UR@color@alert!80!UR@reingrau,bg=white}
+\setbeamercolor*{footline}{fg=black,bg=white}
+\setbeamercolor*{structure}{fg=UR@dunkelgrau}
+\setbeamercolor*{palette primary}{use=structure,fg=structure.fg,bg=}
+\setbeamercolor*{palette secondary}{fg=UR@reingrau,bg=}
+\setbeamercolor*{separation line}{fg=UR@color@basic}
+\setbeamercolor*{example text}{fg=UR@color@example!80!UR@reingrau,bg=}
+\setbeamercolor*{block title}{use=structure,fg=structure.fg,bg=UR@color@basic!20!bg}
+\setbeamercolor*{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg}
+\setbeamercolor*{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg}
+\setbeamercolor*{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg}
+\setbeamercolor*{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!50!bg}
+\setbeamercolor*{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg}
+
+\setbeamercolor*{titlelike}{parent=structure}
+\setbeamercolor{title}{fg=black}
+\setbeamercolor{subtitle}{fg=white}
+
+\setbeamercolor{headline}{fg=blue}
+
+\setbeamercolor{headline framenumber}{fg=white}
+
+\setbeamercolor{draftblocks}{bg=UR@hellgrau!50,fg=black}
+
+\mode<all>
+
+\endinput
diff --git a/macros/latex/contrib/urcls/tex/beamerfontthemeUR.sty b/macros/latex/contrib/urcls/tex/beamerfontthemeUR.sty
new file mode 100644
index 0000000000..180f6cf383
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/beamerfontthemeUR.sty
@@ -0,0 +1,71 @@
+%%
+%% This is file `beamerfontthemeUR.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\ProvidesPackage{beamerfontthemeUR}[\filedate\space v\fileversion\space fonttheme for URbeamer.cls]
+
+\mode<presentation>
+
+\setbeamerfont*{tiny structure}{series=\mdseries,size=\tiny}
+\setbeamerfont*{frametitle}{size=\large,series=\bfseries}
+\setbeamerfont*{framesubtitle}{size=\normalsize}
+\setbeamerfont*{footline}{size=\Tiny}
+\setbeamerfont*{title}{size*={16}{18},series=\bfseries}
+\setbeamerfont*{subtitle}{parent={title}}
+
+\setbeamerfont*{author}{size*={10}{10.8}}
+\setbeamerfont*{institute}{parent={author}}
+\setbeamerfont*{chair}{parent={author}}
+\setbeamerfont*{date}{parent={author}}
+
+\setbeamerfont*{department}{size*={7.7}{8},series=\bfseries}
+
+
+\setbeamerfont*{shortauthor}{size*={6}{6},series=\bfseries}
+\setbeamerfont*{shortinstitute}{size*={6}{6}}
+\setbeamerfont*{shortchair}{size*={6}{6}}
+\setbeamerfont*{shortdepartment}{size*={5}{6},series=\bfseries}
+
+\setbeamerfont{framenumber}{size=\large}
+
+\mode<all>
+
+\endinput
diff --git a/macros/latex/contrib/urcls/tex/beamerouterthemeUR.sty b/macros/latex/contrib/urcls/tex/beamerouterthemeUR.sty
new file mode 100644
index 0000000000..4dbccd65b4
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/beamerouterthemeUR.sty
@@ -0,0 +1,483 @@
+%%
+%% This is file `beamerouterthemeUR.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage{beamerouterthemeUR}{\filedate}{\fileversion}{beameroutertheme for the University of Regensburg}
+
+\RequirePackage{URoptions}
+
+\Define@specialopt@Module
+
+\clist_map_inline:nn {logotext,alignwithbar,framenumber,externalize,coloredboxes,depcaps} {\UR_new@BoolOpt {#1}}
+
+\UR@define@draftfinalkeys
+
+\bool_new:N \g_UR@ShowHeadline_bool
+\bool_new:N \g_UR@ShowHeadauthor_bool
+
+\UR@create@ChoiceKey{headline}[true]{
+ {true}{
+ \bool_gset_true:N \g_UR@ShowHeadline_bool
+ \bool_gset_true:N \g_UR@ShowHeadauthor_bool
+ \def\UR@headline@setting{true/author}
+ },
+ {false}{
+ \bool_gset_false:N \g_UR@ShowHeadline_bool
+ \bool_gset_false:N \g_UR@ShowHeadauthor_bool
+ \def\UR@headline@setting{false/empty}
+ },
+ {plain}{
+ \bool_gset_true:N \g_UR@ShowHeadline_bool
+ \bool_gset_false:N \g_UR@ShowHeadauthor_bool
+ \def\UR@headline@setting{plain/noauthor}
+ },
+ {default}{
+ \bool_gset_true:N \g_UR@ShowHeadline_bool
+ \bool_gset_true:N \g_UR@ShowHeadauthor_bool
+ \def\UR@headline@setting{default (true)}
+ }
+}<default>
+
+\UR_Define@Key:n {
+ headline / noauthor .meta:n = {headline=plain},
+ headline / empty .meta:n = {headline=false},
+ headline / author .meta:n = {headline=true}
+}
+
+\UR_Define@Key:n {
+ cdlayout .meta:n = {depcaps=#1,logotext=#1,alignwithbar=#1},
+ cdlayout .default:n = true
+}
+
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+
+
+\PassOptionsToPackage{RGB}{URcolors}
+\RequirePackage{URrules}
+
+% New Variables
+%Headlineboxes
+\box_new:N \g_UR@headline@author_box
+\box_new:N \g_UR@headline_box
+\dim_new:N \l_UR@halfradius_dim
+
+
+%Additional Title Definitions
+
+% \author command
+\newcommand*{\URbeamerIgnoreMeta}[1]{\texorpdfstring{#1}{}}
+
+\def\author{\@dblarg\UR@beamer@author}
+\long\def\UR@beamer@author[#1]#2{%
+ \def\insertauthor{\def\inst{\beamer@insttitle}\def\and{\beamer@andtitle}#2}%
+ \def\beamer@shortauthor{#1}%
+ \ifbeamer@autopdfinfo%
+ {
+ \let\URbeamerIgnoreMeta\use_none:n\let\inst=\@gobble\let\thanks=\@gobble\def\and{, }
+ \tl_set:Nx \l_tmpa_tl {#2}
+ \tl_if_empty:NF \l_tmpa_tl {
+ \seq_set_split:NnV \l_tmpa_seq {\and} \l_tmpa_tl
+ \hypersetup{pdfauthor={\seq_use:Nn \l_tmpa_seq {, }}}
+ }
+ }
+ \fi%
+}
+
+\author{}
+%end of \author command
+
+%institude command
+\def\institute{\@dblarg\beamer@institute}
+\long\def\beamer@institute[#1]#2{%
+ \def\beamer@temp{#2}%
+ \ifx\beamer@temp\@empty
+ \def\insertinstitute{}
+ \else
+ \def\insertinstitute{\def\inst{\beamer@instinst}\def\and{\beamer@andinst}#2}%
+ \fi
+ \def\beamer@shortinstitute{#1}
+ \def\UR@beamer@insertinstitute{#2}}
+\institute{}
+%end of institute command
+
+%\department command
+\def\department{\@dblarg\UR@beamer@department}
+
+\if_bool:N \g_UR@depcaps_bool
+\RequirePackage{textcase}
+\newcommand{\UR@depcaps}[1]{\MakeTextUppercase{#1}}
+
+\long\def\UR@beamer@department[#1]#2{%
+ \def\beamer@temp{#2}
+ \ifx\beamer@temp\@empty
+ \def\insertdepartment{}
+ \else
+ \def\insertdepartment{%
+ \cs_set_protected:Npn \and {\newline}
+ \cs_set_protected:Npn \inst ####1 {
+ \beamer@instinst{####1}
+ }
+ \UR@depcaps{#2}
+ }%
+ \fi
+ \def\beamer@shortdepartment{
+ \let\inst\use_none:n
+ \def\and{\quad}
+ \UR@depcaps{#1}
+ }
+}
+
+\else:
+\long\def\UR@beamer@department[#1]#2{%
+ \def\beamer@temp{#2}%
+ \ifx\beamer@temp\@empty
+ \def\insertdepartment{}
+ \else
+ \def\insertdepartment{\def\inst{\beamer@instinst}\def\and{\qquad}#2}%
+ \fi
+ \def\beamer@shortdepartment{#1}}
+\fi:
+\department{}
+
+\newcommand\insertshortdepartment[1][]{%
+ {%
+ \let\thanks=\@gobble%
+ \beamer@setupshort{#1}%
+ \beamer@insertshort{\beamer@shortdepartment}%
+}}
+%end of \department command
+
+% \chair command
+\def\chair{\@dblarg\UR@beamer@chair}
+\long\def\UR@beamer@chair[#1]#2{%
+ \def\beamer@temp{#2}%
+ \ifx\beamer@temp\@empty
+ \def\insertchair{}
+ \else
+ \def\insertchair{#2}%
+ \fi
+ \def\beamer@shortchair{#1}}
+\chair{}
+
+\newcommand\insertshortchair[1][]{%
+ {%
+ \beamer@setupshort{#1}%
+ \beamer@insertshort{\beamer@shortchair}%
+}}
+% end of \chair command
+
+\mode<presentation>
+
+\cs_new:Nn \UR_setup@author@headline: {
+ \UR@tikzexternaldisable
+ \hbox_gset:Nn \g_UR@headline@author_box {
+ \begin{tikzpicture}
+ \UR_beamer@headline:
+ \node[anchor=north~west,inner~ysep=1.5pt, inner~xsep=0pt, outer~sep=0pt] at (grauerstreifen) {
+ \parbox[t][\dimexpr3.2\UR@beamer@halfradius-3pt\relax][t]{\dimexpr\l_UR@linelength_dim-1.5pt\relax}{
+ {\usebeamerfont{shortauthor}
+ \insertshortauthor[width=\linewidth]\par}
+ \expandafter\ifx\csname beamer@shortinstitute\endcsname\empty
+ \expandafter\ifx\csname beamer@shortchair\endcsname\empty
+ \else%
+ {\usebeamerfont{shortchair}\insertshortchair[width=\linewidth]\par}
+ \fi%
+ \else%
+ {\usebeamerfont{shortinstitute}\insertshortinstitute[width=\linewidth]\par}
+ \fi%
+ \usebeamerfont{shortdepartment}\insertshortdepartment[width=\linewidth]
+ }
+ };
+ \useasboundingbox(0,0)rectangle(\paperwidth,-6.2\UR@beamer@halfradius);
+ \end{tikzpicture}
+ }
+ \UR@tikzexternalenable
+}
+
+
+
+\setbeamertemplate{navigation symbols}{}
+
+%End of additional Title definitions and adjustments
+
+
+\int_while_do:nn {\l_UR@temp_int<\clist_count:N \g_UR@dep_clist} {
+ \int_incr:N \l_UR@temp_int
+ \bool_if:cT{g_UR@dep\int_use:N\l_UR@temp_int _bool}{\colorlet{UR@color@basic}{UR@color@\int_use:N\l_UR@temp_int}}
+}
+
+\bool_if:NTF \g_UR@coloredboxes_bool {
+ \int_compare:nTF {\g_UR@dep_int = 1} {
+ \int_zero:N \l_UR@temp_int
+ \int_while_do:nn {\l_UR@temp_int<\clist_count:N \g_UR@dep_clist} {
+ \int_incr:N \l_UR@temp_int
+ \bool_if:cT{g_UR@dep\int_use:N\l_UR@temp_int _bool}{\colorlet{UR@color@basic}{UR@color@\int_use:N\l_UR@temp_int}}
+ }
+ }{
+ \msg_new:nnn {beamerouterthemeUR}{coloredboxes_multiple}{You~ must~ not~ select~ multiple~ color~ options~ with~ coloredboxes.\\\\
+ coloredboxes~ is~ only~ available~ for~ single~ color~ setup.\\\\
+ Disabling~ coloredboxes.
+ }
+ \msg_warning:nn {beamerouterthemeUR}{coloredboxes_multiple}
+ \colorlet{UR@color@basic}{UR@reingrau}
+ }
+ }
+ {\colorlet{UR@color@basic}{UR@reingrau}}
+
+\int_compare:nTF {\g_UR@dep_int = 1} {
+\int_zero:N \l_UR@temp_int
+\int_while_do:nn {\l_UR@temp_int<\clist_count:N \g_UR@dep_clist} {
+ \int_incr:N \l_UR@temp_int
+ \bool_if:cT{g_UR@dep\int_use:N\l_UR@temp_int _bool}{
+ \colorlet{UR@color@alert}{-UR@color@\int_use:N\l_UR@temp_int}
+ \colorlet{UR@color@example}{UR@color@\int_use:N\l_UR@temp_int}
+ }
+}
+}{
+\colorlet{UR@color@alert}{red}
+\colorlet{UR@color@example}{green}
+}
+
+\dim_set:Nn \l_UR@halfradius_dim {.215cm}
+\newlength{\UR@beamer@halfradius}
+\setlength{\UR@beamer@halfradius}{\l_UR@halfradius_dim}
+
+\UR@create@colorlinebox[3\UR@beamer@halfradius]<(\paperwidth-10\UR@beamer@halfradius)/2>{UR_beamer@headbar}
+
+\cs_new:Nn \UR_beamer@headline:
+{
+ \dim_set:Nn \l_UR@linelength_dim {(\paperwidth-10\UR@beamer@halfradius)/2}
+ \fill[UR@reingrau](10\UR@beamer@halfradius,0)rectangle++(\l_UR@linelength_dim,-3\UR@beamer@halfradius);
+ \coordinate(grauerstreifen) at (10\UR@beamer@halfradius+\l_UR@linelength_dim,-3\UR@beamer@halfradius);
+ \node[UR@logo] at (3\UR@beamer@halfradius,-\UR@beamer@halfradius) {\UR_beamer@headlinelogo:};
+ \node[anchor=south~west,inner~sep=0pt,outer~sep=0pt] at (grauerstreifen) {\box_use:N \UR_beamer@headbar};
+}
+
+%Logo Declaration
+%\if option fsimphy is active use corresponding logo instead of UR
+
+
+\bool_if:NTF \g_UR@draft_bool {
+ \cs_new:Nn \UR_beamer@headlinelogo: {\tikz\draw(0,0)rectangle(12\UR@beamer@halfradius,4\UR@beamer@halfradius);}
+ \cs_new:Nn \UR_beamer@titlelogo: {\tikz\draw(0,0)rectangle(24\UR@beamer@halfradius,8\UR@beamer@halfradius);}
+}{
+ \cs_new:Nn \UR_beamer@headlinelogo: {\pgfuseimage{UR@beamer@headlinelogo}}
+ \cs_new:Nn \UR_beamer@titlelogo: {\pgfuseimage{UR@beamer@titlepagelogo}}
+ \cs_if_exist:NTF \UR@opt@logo {
+ \exp_args:Nx \tl_if_eq:nnTF {\UR@opt@logo} {fsimphy}
+ {\pgfdeclareimage[width=24\UR@beamer@halfradius]{UR@beamer@titlepagelogo}{FSIlogotext}
+ \bool_if:NTF \g_UR@logotext_bool
+ {\pgfdeclareimage[width=12\UR@beamer@halfradius]{UR@beamer@headlinelogo}{FSIlogotext}}
+ {\pgfdeclareimage[height=4\UR@beamer@halfradius]{UR@beamer@headlinelogo}{FSIlogo}}
+ }{
+ \pgfdeclareimage[width=24\UR@beamer@halfradius]{UR@beamer@titlepagelogo}{\UR@opt@logo}
+ \pgfdeclareimage[width=12\UR@beamer@halfradius]{UR@beamer@headlinelogo}{\UR@opt@logo}
+ }
+ }{
+ \pgfdeclareimage[width=24\UR@beamer@halfradius]{UR@beamer@titlepagelogo}{urlogotext}
+ \bool_if:NTF \g_UR@logotext_bool
+ {\pgfdeclareimage[width=12\UR@beamer@halfradius]{UR@beamer@headlinelogo}{urlogotext}}
+ {\pgfdeclareimage[height=4\UR@beamer@halfradius]{UR@beamer@headlinelogo}{urlogo}}
+ }
+}
+
+
+\titlegraphic{\UR_beamer@titlelogo:}
+
+%Option für tikzexternalize
+\bool_if:NTF \g_UR@externalize_bool{
+ \ExplSyntaxOff
+ \usetikzlibrary{external}
+ \ExplSyntaxOn
+ \newcommand*\UR@tikzexternalenable{\tikzexternalenable}
+ \newcommand*\UR@tikzexternaldisable{\tikzexternaldisable}
+}{
+ \newcommand*\UR@tikzexternalenable{\relax}
+ \newcommand*\UR@tikzexternaldisable{\relax}
+}
+
+
+\hbox_gset:Nn \g_UR@headline_box {
+ \UR@tikzexternaldisable
+ \begin{tikzpicture}
+ \UR_beamer@headline:
+ \useasboundingbox(0,0)rectangle(\paperwidth,-6.2\UR@beamer@halfradius);
+ \end{tikzpicture}
+ \UR@tikzexternalenable
+}
+
+\AtBeginDocument{\UR_setup@author@headline:}
+
+\defbeamertemplate{headline}{URtheme~author}{
+ \UR@tikzexternaldisable
+ \box_use:N \g_UR@headline@author_box
+ \bool_if:NT \g_UR@framenumber_bool {
+ \par
+ \usebeamercolor[fg]{headline~framenumber}\usebeamerfont{framenumber}
+ \tikz{
+ \useasboundingbox (0,0) -- (\paperwidth,0);
+ \node[anchor=east, outer~sep=0pt,inner~ysep=0pt,inner~xsep=3pt] at
+ (\paperwidth, \dim_eval:n {\box_ht:N\g_UR@headline@author_box +\box_dp:N\g_UR@headline@author_box - 1.5\UR@beamer@halfradius})
+ {\insertframenumber};
+ }
+ }
+ \UR@tikzexternalenable
+}
+
+\defbeamertemplate{headline}{URtheme~plain}{%
+ \UR@tikzexternaldisable
+ \box_use:N \g_UR@headline_box
+ \bool_if:NT \g_UR@framenumber_bool {
+ \par
+ \usebeamercolor[fg]{headline~framenumber}\usebeamerfont{framenumber}
+ \tikz{
+ \useasboundingbox (0,0) -- (\paperwidth,0);
+ \node[anchor=east, outer~sep=0pt,inner~ysep=0pt,inner~xsep=3pt] at
+ (\paperwidth, \dim_eval:n {\box_ht:N\g_UR@headline_box +\box_dp:N\g_UR@headline_box - 1.5\UR@beamer@halfradius})
+ {\insertframenumber};
+ }
+ }
+}
+
+%Set default headline template
+\bool_if:NTF \g_UR@ShowHeadline_bool {
+ \bool_if:NTF \g_UR@ShowHeadauthor_bool {
+ \defbeamertemplatealias{headline}{URtheme}{URtheme~author}
+ }{
+ \defbeamertemplatealias{headline}{URtheme}{URtheme~plain}
+ }
+}{
+ \defbeamertemplatealias{headline}{URtheme}{URtheme~empty}
+}
+
+
+\setbeamertemplate{headline}[URtheme]
+
+
+% Frame title
+\defbeamertemplate*{frametitle}{URtheme}[1][left]
+{
+\nointerlineskip
+ \@tempdima=\textwidth%
+ \begin{beamercolorbox}[#1,wd=\the\@tempdima]{frametitle}
+ \usebeamerfont{frametitle}%
+ \vbox{}\vskip-1ex%
+ \if@tempswa\else\csname beamer@fte#1\endcsname\fi%
+ \strut\insertframetitle\strut\par%
+ {%
+ \ifx\insertframesubtitle\@empty%
+ \else%
+ {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
+ \fi
+ }%
+ \vskip-1ex%
+ \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
+ \end{beamercolorbox}%
+}
+
+\UR@create@colorlinebox[-6\UR@beamer@halfradius]<\paperwidth-20\UR@beamer@halfradius>{UR@beamer@titlecolorbox}
+
+%Title Page
+\defbeamertemplate*{title~page}{URtheme}{
+ \UR_setup@author@headline:
+ \begin{beamercolorbox}[wd=\paperwidth,ht=\paperheight]{title~page}
+ \UR@tikzexternaldisable%
+ \begin{tikzpicture}
+ \useasboundingbox (0,0) rectangle (\paperwidth,-\paperheight);
+ \coordinate (NWB) at (20\UR@beamer@halfradius,-2\paperheight/3); %north west corner of the bar
+ \coordinate (NEB) at (\paperwidth,-2\paperheight/3);%north east corner of the bar
+ \coordinate (NWL) at (6\UR@beamer@halfradius,-2\paperheight/3-2\UR@beamer@halfradius);%north west corner of the logo
+ \coordinate (NWT) at (20\UR@beamer@halfradius,-\paperheight/3); %north west of the title box
+ \coordinate (SWA) at (20\UR@beamer@halfradius,-2\paperheight/3); %south west of the author box
+ \fill[UR@hellgrau](current~bounding~box.north~ west)rectangle(NEB);
+ \node[UR@logo] at (NWL) {\inserttitlegraphic};%(6\UR@beamer@halfradius,-2\paperheight/3-\UR@beamer@halfradius)
+ \node[UR@logo] at (NWB) {\usebox{\UR@beamer@titlecolorbox}};
+ \node[anchor=south~west,inner~xsep=0pt, inner~ysep=.2em,outer~sep=0pt] (authordata) at (SWA)
+ {\begin{minipage}[b]{.65\paperwidth}
+ \usebeamerfont{author}
+ {\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate\par}%
+ {\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor\par}%
+ \ifx\insertdepartment\empty
+ \ifx\insertchair\empty
+ \else
+ {\usebeamerfont{chair}\usebeamercolor[fg]{chair}\insertchair\par}%
+ \fi
+ \par\vspace{.2\baselineskip}
+ {\usebeamerfont{department}\usebeamercolor[fg]{department}\insertinstitute\par}%
+ \else%
+ \ifx\insertinstitute\empty
+ {\usebeamerfont{chair}\usebeamercolor[fg]{chair}\insertchair\par}%
+ \else%
+ {\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute\par}%
+ \fi%
+ \par\vspace{.2\baselineskip}
+ {\usebeamerfont{department}\usebeamercolor[fg]{department}\insertdepartment\par}
+ \fi
+ \end{minipage}
+ };
+ \node[inner~sep=0pt,outer~sep=0pt,anchor=south~west] at (authordata.north~west) {%
+ \begin{minipage}[t]{.65\paperwidth}
+ {\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle}
+ \par
+ \vspace{.2\baselineskip}
+ {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle}
+ \end{minipage}
+ };
+ \end{tikzpicture}
+ \end{beamercolorbox}
+\UR@tikzexternalenable
+}
+
+\bool_if:NTF \g_UR@alignwithbar_bool
+ {\setbeamersize{text~ margin~ left=10\UR@beamer@halfradius,text~ margin~ right=3\UR@beamer@halfradius}}
+ {\setbeamersize{text~ margin~ left=3\UR@beamer@halfradius,text~ margin~ right=3\UR@beamer@halfradius}}
+
+\def\maketitle{
+ \ifbeamer@inframe\titlepage\else\frame{\titlepage}\fi
+}
+
+
+\setbeamertemplate{navigation~symbols}{}
+
+\mode<all>
+
+\endinput
diff --git a/macros/latex/contrib/urcls/tex/beamerthemeUR.sty b/macros/latex/contrib/urcls/tex/beamerthemeUR.sty
new file mode 100644
index 0000000000..ce8eaa0762
--- /dev/null
+++ b/macros/latex/contrib/urcls/tex/beamerthemeUR.sty
@@ -0,0 +1,75 @@
+%%
+%% This is file `beamerthemeUR.sty' version 2.0 (2017/04/05),
+%% it is part of
+%% urcls -- Corporate Design for the University of Regensburg
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2014--2017 by Marei Peischl <TeX@mareipeischl.de>
+%%
+%% ----------------------------------------------------------------------------
+%% License information
+%% ----------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Marei Peischl.
+%%
+%% ============================================================================
+%%
+%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz
+%% in der Version 1.3c, verteilt und/oder verändert werden. Die aktuelle
+%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und
+%% Version 1.3c oder neuer ist Teil aller LaTeX-Distributionen ab 2005/12/01.
+%% Dieses Werk hat den LPPL-Verwaltungs-Status "maintained".
+%% Die Verwaltung liegt aktuell bei der Autorin, Marei Peischl.
+%%
+%% ----------------------------------------------------------------------------
+%% End of license information
+%% ----------------------------------------------------------------------------
+%%
+
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.0}
+\def\filedate{2017/04/05}
+
+\RequirePackage{expl3}
+\ProvidesExplPackage {beamerthemeUR} {\filedate} {\fileversion} {beamer theme for the University of Regensburg}
+
+\RequirePackage{URoptions}
+\Define@specialopt@Module
+
+\UR@DeclareColorOptions
+\UR@define@draftfinalkeys
+
+\clist_map_inline:nn {headline,logotext,alignwithbar,framenumber,externalize,coloredboxes,depcaps,cdlayout} {\Module@DeclarePassOption {#1} {beamerouterthemeUR}}
+
+\Module@DeclarePassOption {logo} [] {URrules}
+\Module@DeclarePassOption {intern} {URrules}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}}
+
+
+\Module@Process@SpecialOptions
+\exp_args:Nx \ProcessKeysOptions { \@currname.\@currext }
+\ProcessOptions*
+
+\mode<presentation>
+%
+
+\usecolortheme{UR}
+\usefonttheme{UR}
+\useoutertheme{UR}
+
+
+\setbeamertemplate{blocks}[rounded][shadow=true]
+
+\mode<all>
+
+\endinput \ No newline at end of file