commit a8adb76e50b6cee52411802daca5e79e5040167f Author: MK_Managementkompetenzen <> Date: Thu Nov 26 06:56:00 2020 +0000 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1acd4f7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +* +!*.tex +!*.pdf +!images +!images/* +!frames +!frames/* +!.gitignore +!Readme.md +!*beamer*theme* \ No newline at end of file diff --git a/Content.tex b/Content.tex new file mode 100644 index 0000000..b75b2b9 --- /dev/null +++ b/Content.tex @@ -0,0 +1,2 @@ +%all the content goes here +\input{frames/ExampleFrame.tex} \ No newline at end of file diff --git a/Packages.tex b/Packages.tex new file mode 100644 index 0000000..d5526d7 --- /dev/null +++ b/Packages.tex @@ -0,0 +1,21 @@ +%encoding +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +%language +\usepackage[ngerman]{babel} +%images +\usepackage{graphicx} +\graphicspath{ {./images/} } +%svg images +\usepackage{svg} +%quotation +\usepackage[% +left = \glqq,% +right = \grqq,% +leftsub = \glq,% +rightsub = \grq% +]{dirtytalk} +%boxes +\usepackage[framemethod=tikz]{mdframed} +%enumeration +\usepackage{enumerate} \ No newline at end of file diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..c9129c5 --- /dev/null +++ b/Readme.md @@ -0,0 +1,7 @@ +# How to use this template +1. fork template +1. refactor +1. commit + +## Notes +Requires you to enable [--shell escape](https://tex.stackexchange.com/questions/516604/how-to-enable-shell-escape-or-write18-visual-studio-code-latex-workshop) \ No newline at end of file diff --git a/Template_Presentation.pdf b/Template_Presentation.pdf new file mode 100644 index 0000000..8d06a80 Binary files /dev/null and b/Template_Presentation.pdf differ diff --git a/Template_Presentation.tex b/Template_Presentation.tex new file mode 100644 index 0000000..f9fb765 --- /dev/null +++ b/Template_Presentation.tex @@ -0,0 +1,17 @@ +\documentclass[aspectratio=169]{beamer} +\usetheme{th-owl} + +\input{Packages.tex} + +\def \TITLE{Example Title} +\def \SUBTITLE{Example Subtitle} +\def \AUTHOR{Example Author} +\def \DATE{Example Date} + +\begin{document} + + \input{TitlePage.tex} + + \input{Content.tex} + +\end{document} \ No newline at end of file diff --git a/TitlePage.tex b/TitlePage.tex new file mode 100644 index 0000000..11ce9fe --- /dev/null +++ b/TitlePage.tex @@ -0,0 +1,6 @@ +\title{\TITLE} +\subtitle{\SUBTITLE} +\author{\AUTHOR} +\date{\DATE} + +\maketitle \ No newline at end of file diff --git a/beamercolorthemeth-owl.sty b/beamercolorthemeth-owl.sty new file mode 100644 index 0000000..cec3c29 --- /dev/null +++ b/beamercolorthemeth-owl.sty @@ -0,0 +1,3 @@ +\mode +\mode + \ No newline at end of file diff --git a/beamerinnerthemeth-owl.sty b/beamerinnerthemeth-owl.sty new file mode 100644 index 0000000..214443d --- /dev/null +++ b/beamerinnerthemeth-owl.sty @@ -0,0 +1,52 @@ +\mode +% Requirement +\RequirePackage{tikz} + +\setbeamertemplate{background}{ + \begin{tikzpicture} + \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight); + \ifnum\thepage>1\relax% + \fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight); + \node [below left] at (current bounding box.north east) + {\includesvg[width=.2\paperwidth]{./images/TH_OWL_Logo_small}}; + \node[above right] (0,0) { + \footnotesize + \hspace{.05\paperwidth} + \inserttitle \space | \insertauthor \space | \insertdate + }; + \else + \node [below right] at (.55*\the\paperwidth,.6*\the\paperheight) + {\includesvg[width=.55\paperwidth]{./images/TH_OWL_Logo_tiny}}; + \fi + \definecolor{th-red}{HTML}{E50043}; + \fill[color=th-red] (0.5,0) rectangle(.05*\the\paperwidth,\the\paperheight); + \end{tikzpicture} +} + +%\setbeamertemplate{footline}{ +% \begin{tikzpicture} +% \useasboundingbox (0,0) rectangle(\th\paperwidth,.1*\the\paperheight); +% \ifnum\thpage>1\relax% +% \fi +% \end{tikzpicture} +%} + +% Title page +\defbeamertemplate*{title page}{th-owl}[1][] +{ + \begin{center} + \vspace{-.2\paperheight} + \Huge + \textbf{\inserttitle}\\ + \vspace{.05\paperheight} + \Large + \insertsubtitle\\ + \vspace{.1\paperheight} + \normalsize + \insertauthor\\ + \vspace{.03\paperheight} + \insertdate + \end{center} +} + +\mode \ No newline at end of file diff --git a/beamerouterthemeth-owl.sty b/beamerouterthemeth-owl.sty new file mode 100644 index 0000000..7a2aee4 --- /dev/null +++ b/beamerouterthemeth-owl.sty @@ -0,0 +1,21 @@ +\mode + +% Frame title +\defbeamertemplate*{frametitle}{texsx}[1][] +{ +\vskip1cm% + \begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle} + \begin{tikzpicture} + \definecolor{th-red}{HTML}{425159}; + \useasboundingbox[fill=th-red](0,0) rectangle(.7*\the\paperwidth,1.2); + \ifx\insertframesubtitle\@empty% + {\node[anchor=center, white,font=\large] at (3.2,0.61){\insertframetitle};} + \else% + {\node[anchor= center, white,font=\large] at (3.2,0.81){\insertframetitle};% + \node[anchor= center, white,font=\small] at (3.2,0.41){\insertframesubtitle};}% + \fi + \end{tikzpicture} + \end{beamercolorbox} +} + +\mode diff --git a/beamerthemeth-owl.sty b/beamerthemeth-owl.sty new file mode 100644 index 0000000..0a81543 --- /dev/null +++ b/beamerthemeth-owl.sty @@ -0,0 +1,14 @@ +\mode + +% Requirement +\RequirePackage{tikz} + +% Settings +\useinnertheme{th-owl} +\useoutertheme{th-owl} +\usecolortheme{th-owl} + +\setbeamertemplate{navigation symbols}{} +\setbeamertemplate{blocks}[rounded][shadow=true] + +\mode \ No newline at end of file diff --git a/frames/ExampleFrame.tex b/frames/ExampleFrame.tex new file mode 100644 index 0000000..bb1aa2b --- /dev/null +++ b/frames/ExampleFrame.tex @@ -0,0 +1,5 @@ +\begin{frame} + \frametitle{Example Frame Title} + \framesubtitle{Example Frame Subtitle} + Example Text +\end{frame} \ No newline at end of file diff --git a/images/TH_OWL_Logo.svg b/images/TH_OWL_Logo.svg new file mode 100644 index 0000000..e9b0538 --- /dev/null +++ b/images/TH_OWL_Logo.svg @@ -0,0 +1,58 @@ + +image/svg+xml \ No newline at end of file diff --git a/images/TH_OWL_Logo_small.svg b/images/TH_OWL_Logo_small.svg new file mode 100644 index 0000000..ba5b034 --- /dev/null +++ b/images/TH_OWL_Logo_small.svg @@ -0,0 +1,66 @@ + +image/svg+xml diff --git a/images/TH_OWL_Logo_tiny.svg b/images/TH_OWL_Logo_tiny.svg new file mode 100644 index 0000000..0cd455d --- /dev/null +++ b/images/TH_OWL_Logo_tiny.svg @@ -0,0 +1,61 @@ + +image/svg+xml