diff --git a/presentation/tud-beamer-template/TU_Logo_SW.pdf b/presentation/tud-beamer-template/TU_Logo_SW.pdf new file mode 100644 index 0000000000000000000000000000000000000000..db2af3b1ab26cc3ad842746a20b3c62e52bb28c0 Binary files /dev/null and b/presentation/tud-beamer-template/TU_Logo_SW.pdf differ diff --git a/presentation/tud-beamer-template/beamercolorthemetud.sty b/presentation/tud-beamer-template/beamercolorthemetud.sty new file mode 100644 index 0000000000000000000000000000000000000000..c68b05338afe54323d661278cf8722686693d03f --- /dev/null +++ b/presentation/tud-beamer-template/beamercolorthemetud.sty @@ -0,0 +1,144 @@ +\ProvidesPackage{beamercolorthemetud}[2011/01/17 v1 Tobias Schlemmer] +\def\tudbeamer@color@style{cd2018} +\DeclareOptionBeamer{cd2018}{% + \PassOptionsToPackage{cd2018}{tudcolors} + \def\tudbeamer@color@style{cd2018} +} +\DeclareOptionBeamer{cd2012ts}{% + \PassOptionsToPackage{cd2012ts}{tudcolors}% + \def\tudbeamer@color@style{cd2012ts} +} + +\ProcessOptionsBeamer + +\RequirePackage{tudbeamermacros}% +\iffalse +\def\tudbeamer@fixcolormodel{% + \selectcolormodel{RGB}% + \typeout{no color model}% +}% +\tudbeamer@def{colorspace@cd2018}{% + \def\tudbeamer@fixcolormodel{% + \selectcolormodel{RGB}% + \typeout{2018 color model}% + }% +} +\tudbeamer@def{colorspace@cd2012ts}{% + \def\tudbeamer@fixcolormodel{% + \selectcolormodel{cmyk}% + \typeout{2012 color model}% + }% +} +%\csname tudbeamer@colorspace@\tudbeamer@color@style\endcsname +\fi +\RequirePackage{tudcolors} + +\def\tudbeamer@setcolor#1#2{% + \edef\@tempa{{#1}{#2}}% + \expandafter\setbeamercolor\@tempa +} + +\setbeamercolor{normal text}{fg=tudbase,bg=white} +\setbeamercolor{tud titlepage normal text cd2012ts}{fg=white,bg=tudbase} +\setbeamercolor{tud titlepage normal text cd2018}{fg=white,bg=white} +\setbeamercolor{structure}{fg=tudbase} +\setbeamercolor{titleshading}{fg=tudbase,bg=tudaccent2} +\setbeamercolor{alerted text}{fg=tudalert} +\setbeamercolor{alternate palette}{fg=tudgrey} +%\setbeamercolor{frametitle}{fg=tudgrey 80} +%\setbeamercolor{framesubtitle}{use=normal text,fg=normal text.fg} + + +\setbeamercolor{date in head/foot}{parent=alternate palette} +\setbeamercolor{date/place in footline}{parent=date in head/foot} +\setbeamercolor{title in head/foot}{parent=date/place in footline} +\setbeamercolor{page number in head/foot}{parent=date/place in footline} +\setbeamercolor{page number in footline}{parent=date/place in footline} +\setbeamercolor{section in head/foot}{parent=alternate palette} +\setbeamercolor{subsection in head/foot}{parent=section in head/foot} +\setbeamercolor{upper separation line head}{parent=alternate palette} +\setbeamercolor{lower separation line head}{parent=upper separation line head} +\setbeamercolor{upper separation line foot}{parent=upper separation line head} + +\setbeamercolor{author in head/foot}{parent=section in head/foot} +\setbeamercolor{title in head/foot}{parent=subsection in head/foot} + +\setbeamercolor{logo}{use=structure,fg=structure.fg} + + +\def\darktitlepage{% + \setbeamercolor{normal text/titlepage}{fg=white,bg=tudbase}% + \setbeamercolor{title}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{subtitle}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{author/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{headline/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{logo/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{einrichtung/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{fachrichtung/titlepage}{use=einrichtung/titlepage,fg=einrichtung/titlepage.fg}% + \setbeamercolor{institut/titlepage}{use=einrichtung/titlepage,fg=einrichtung/titlepage.fg}% + \setbeamercolor{professur/titlepage}{use=einrichtung/titlepage,fg=einrichtung/titlepage.fg}% + \setbeamercolor{upper separation line head/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{lower separation line head/titlepage}% + {use=upper separation line head/titlepage,fg=upper separation line head/titlepage.fg}% + \setbeamercolor{date in head/foot/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \let\logo@DDC\logo@DDC@white + \let\logo@DDCf\logo@DDC@whitef +} + +\def\whitetitlepage{% + \setbeamercolor{normal text/titlepage} + {use=normal text,fg=normal text.fg,bg=normal text.bg} + \setbeamercolor{title}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{subtitle}{use=normal text/titlepagexo,fg=normal text/titlepage.fg}% + \setbeamercolor{author/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{headline/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{logo/titlepage}{use=normal text/titlepage,fg=normal text/titlepage.fg}% + \setbeamercolor{einrichtung/titlepage}{fg=tudgrey}% + \setbeamercolor{fachrichtung/titlepage}{use=einrichtung/titlepage,fg=einrichtung/titlepage.fg}% + \setbeamercolor{institut/titlepage}{use=einrichtung/titlepage,fg=einrichtung/titlepage.fg}% + \setbeamercolor{professur/titlepage}{use=einrichtung/titlepage,fg=einrichtung/titlepage.fg}% + \setbeamercolor{upper separation line head/titlepage}{fg=tudgrey}% + \setbeamercolor{lower separation line head/titlepage}% + {use=upper separation line head/titlepage,fg=upper separation line + head/titlepage.fg}% + \setbeamercolor{date in head/foot/titlepage}{fg=tudgrey}% + \let\logo@DDC\logo@DDC@bunt% + \let\logo@DDCf\logo@DDC@colorf + \setbeamercolor{footline}{fg=tudgrey} +} + +\setbeamercolor{part page/title}{parent=title} +\setbeamercolor{part page/subtitle}{parent=subtitle} +\def\logo@DDC@white{DDC-weiss} +\def\logo@DDC@whitef{DDC-weissf} +\def\logo@DDC@color{DDC-color} +\def\logo@DDC@color{DDC-colorf} + +\darktitlepage + +% Die folgenden Einstellungen könnnen nur sehr freie Übersetzungen des +% CD sein +\setbeamercolor{block body}{use=normal text,fg=normal text.fg,bg=tudbase 10} +%\setbeamercolor{block title}{fg=tudaccent6,bg=tudbase 20} +\setbeamercolor{block title}{fg=tudbase,bg=tudbase 20} +\setbeamercolor{block body example}{use=normal text,fg=normal text.fg,bg=tudbase 10} +\setbeamercolor{block title example}{fg=tudbase,bg=tudbase 20} + +\setbeamercolor{block body alerted}{use=normal text,fg=normal text.fg,bg=tudaccent3 10} +\setbeamercolor{block title alerted}{fg=tudalert,bg=tudaccent3 20} + + +\setbeamercolor{footline}{fg=tudgrey,bg=white} +\setbeamercolor{institute}{fg=tudgrey,bg=white} +\setbeamercolor{institute in head/foot}{fg=tudgrey,bg=white} +\setbeamercolor{date/place in head/foot}{fg=tudgrey} + +\def\tudbeamer@set@colors#1{% + \setbeamercolor{tud titlepage normal text}{parent=tud titlepage normal text #1} +} +\def\settudbeamercolors#1{% + \edef\@tempa{#1}% + \let\tudbeamer@color@style{#1}% + \expandafter\tudbeamer@set@colors\expandafter{\tudbeamer@color@style}% +} +\expandafter\tudbeamer@set@colors\expandafter{\tudbeamer@color@style}% diff --git a/presentation/tud-beamer-template/beamerfontthemetud.sty b/presentation/tud-beamer-template/beamerfontthemetud.sty new file mode 100644 index 0000000000000000000000000000000000000000..c16351e07c98b835714ee1d2f57038959a864c34 --- /dev/null +++ b/presentation/tud-beamer-template/beamerfontthemetud.sty @@ -0,0 +1,259 @@ +\ProvidesPackage{beamerfontthemetud}[2011/01/17 v1 TU Dresden font theme for Beamer class] + +\RequirePackage{ifluatex} + +\newif\if@check@tud@fonts +\@check@tud@fontstrue + +\newif\if@noDIN\@noDINfalse +\newif\if@sansmath\@sansmathtrue +\newif\if@useHeavyFont\@useHeavyFontfalse +\newif\if@useBeamerFont\@useBeamerFontfalse +\newif\if@useUniversFont\@useUniversFontfalse + +\def\tudbeamer@font@style{cd2018} +\DeclareOptionBeamer{cd2018}{% + \edef\tudbeamer@font@style{cd2018}% +} +\DeclareOptionBeamer{cd2012ts}{% + \edef\tudbeamer@font@style{cd2012ts}% + \@useUniversFonttrue +} + + +\providecommand\tudfontspackage{tudscrfonts} +\def\check@tud@fonts@tudscrfonts{ + \@check@tud@fontsfalse + \@for\@tudfontfile:=% + tudscrfonts.sty,% + 8r0m6.fd,% + 8rlun.fd,% + oml0m6.fd,% + omllun.fd,% + oms0m6.fd,% + omslun.fd,% + ot10m6.fd,% + ot1lun.fd,% + ot1lunt.fd,% + t10m6.fd,% + t1lun.fd,% + t1lunt.fd,% + ts10m6.fd,% + ts1lun.fd,% + ts1lunt.fd% + \do{% + \IfFileExists{\@tudfontfile}{}{\@check@tud@fontstrue}% + } + \if@check@tud@fonts + \def\tudfontspackage{tudfonts}% + \check@tud@fonts@tudfonts% + \fi +} + +\def\check@tud@fonts@tudfonts{% + \@check@tud@fontsfalse + \@for\@tudfontfile:=% + tudfonts.sty,% + 8raub.fd,% + 8raun.fd,% + 8rdin.fd,% + ot1aub.fd,% + ot1aun.fd,% + ot1din.fd,% + t1aub.fd,% + t1aun.fd,% + t1din.fd,% + ts1aub.fd,% + ts1aun.fd,% + ts1din.fd% + \do{% + \IfFileExists{\@tudfontfile}{}{% + \def\tudfontspackage{}% + \@useUniversFontfalse + } + } +} + +\DeclareOptionBeamer{beamerfont}{\@useBeamerFonttrue} +\DeclareOptionBeamer{cp2012ts}{ + \@useUniversFonttrue +} +\if@useBeamerFont +\else + \csname check@tud@fonts@\tudfontspackage \endcsname +\fi + + + +\DeclareOptionBeamer{noeulermath}{\PassOptionsToPackage{noeulermath}{tudfonts}} + +\DeclareOptionBeamer{noDIN}{ + \@noDINtrue + \PassOptionsToPackage{noDIN}{\tudfontspackage} +} + +\DeclareOptionBeamer{nodin}{ + \@noDINtrue + \PassOptionsToPackage{noDIN}{\tudfontspackage} + \PackageWarning{beamerfontthemetud}{Option `nodin' is obsolete use `noDIN', please!} +} + + +\DeclareOptionBeamer{serifmath}{% + \@sansmathfalse + \PassOptionsToPackage{serifmath}{\tudfontspackage} +} + +\DeclareOptionBeamer{heavyfont}{\PassOptionsToPackage{heavyfont}{\tudfontspackage}} + +\ProcessOptionsBeamer + +\if@sansmath +\else + \usefonttheme[onlymath]{serif} +\fi + +\def\tud@font@setup@beamer@tudfonts{} +\def\tud@font@setup@beamer@tudscrfonts{% + \def\dinfamily{\dinbn}% + \let\dinBold\dinfamily% +} +\AtBeginDocument{% + \providecommand*\dinfamily{% + \PackageWarning{beamerfontthemetud}{% + Neither package `tudscrfonts' nor `tudfonts' was loaded!% + }% + }% + \providecommand*\dinBold{\dinfamily}% +} + +\if@useBeamerFont +\else +\if@useUniversFont + \RequirePackage{\tudfontspackage} + \csname tud@font@setup@beamer@\tudfontspackage \endcsname +\else + \@noDINtrue + \ifluatex + % Load fontspec and define a document font: + \usefonttheme{professionalfonts} + \usepackage{fontspec} + \setmainfont{TeX Gyre Pagella} + + \RequirePackage{unicode-math} + \IfFontExistsTF{Open Sans}{% + \PackageInfo{Beamer Font Theme TUD}{Using default Open Sans font} + \setmathfont{XITS Math} + \setmainfont{Open Sans} + \setsansfont{Open Sans} +% \setmathfont{texgyrepagella-math.otf} + % \setmathfont{OpenSans} + % \setmathfont[math-style=TeX]{Latin Modern Math} + % \setmathfont{Asana Math}% + % \setmathfont[range=\mathbfsfit/{greek,Greek,latin,Latin}]{Open Sans} + % up , it , tt , bfup , bfit , bb , bbit , scr , bfscr , cal , bfcal , + % frak , bffrak , sfup , sfit , bfsfup , bfsfit , bfsf + \setmathfont[range={up}]{Open Sans} + \setmathfont[range={it}]{Open Sans Italic} + \setmathfont[range={bfup}]{Open Sans Bold} + \setmathfont[range={bfit}]{Open Sans Bold Italic} + \setmathfont[range={sfup}]{Open Sans Condensed Light} + \setmathfont[range={sfit}]{Open Sans Condensed Light Italic} + \setmathfont[range={bfsfup}]{Open Sans Light} + \setmathfont[range={bfsfit}]{Open Sans Light Italic} + \setmathfont[range=\mathfrak]{STIXGeneral} + %\setmathfont{Open Sans} + %\renewcommand*\setminus{\mathbin{\mathsf{\backslash}}} + % \setmonofont{Open Sans} + % \setmathsf{Open Sans} + % \setmathrm{Open Sans} + % \setmathtt{Open Sans} + % \setboldmathrm{Open Sans} + %\setmathfont{Asana Math} + }{% + \PackageError{Beamer Font Theme TUD}{^^J% + Die Schrift ,,Open Sans'' konnte nicht gefunden werden.^^J% + Could not load Open Sans font.% + }{% + Das bedeutet meist, dass Sie die Fonts von der TU Dresden^^J% + herunterladen und in Ihrem Fontverzeichnis installieren müssen.^^J% + Alternativ können Sie auch das entsprechende Schriftpacket (opensans)^^J% + Ihrer TeX-Distribution oder Ihres Betriebssystems installieren.^^J% + ^^J% + Please install Open Sans for your Operating system.^^J% + This usually means that you have to download the Open Sans Package^^J% + from the TU Dresden homepage.^^J% + Alternatively, you could install the corresponding font package^^J% + (opensans) for your TeX distribution or your operating system.^^J% + }% + } + \else + \RequirePackage[default]{opensans} + \fi +\fi +\fi + +\def\tudfonts@defstyle#1{% + \expandafter\def\csname tudbeamer@font@style@#1\endcsname +} + +\def\tudfontsloadstyle#1{ + \csname tudbeamer@font@style@#1\endcsname +} +\tudfonts@defstyle{cd2012ts}{% + \newcommand*\tudtitlenormalsize{\@setfontsize\tudtitlenormalsize\@xipt{13.6}} + \newcommand*\tudtitlesmall{\@setfontsize\tudtitlesmall\@xpt\@xiipt} + \newcommand*\tudtitletiny{\@setfontsize\tudtitletiny\@vipt\@viipt} + \newcommand*\tudtitleLARGE{\@setfontsize\LARGE\@xviipt{22}} + \newcommand*\tudfoottiny{\@setfontsize\tudfoottiny% + {.347309973197\tudbeamerlogoheight}% + {.347309973197\tudbeamerlogoheight}% + } + \setbeamerfont{einrichtung/titlepage}{size=\tudtitletiny,series=\bfseries} + \setbeamerfont{fachrichtung/titlepage}{size=\tudtitletiny} + \setbeamerfont{institut/titlepage}{parent=fachrichtung/titlepage} + \setbeamerfont{professur/titlepage}{parent=fachrichtung/titlepage} + \setbeamerfont{date in head/foot/titlepage}{size=\tudtitlenormalsize} + \setbeamerfont{author/titlepage}{size=\tudtitlesmall} + \setbeamerfont{subtitle}{series=\bfseries,family=\sffamily} + \setbeamerfont{frametitle}{size=\normalsize,family=\sffamily} + \setbeamerfont{framesubtitle}{size=\small,series=\bfseries,family=\sffamily} +} +\tudfonts@defstyle{cd2018}{% + \newcommand*\tudtitlenormalsize{\@setfontsize\tudtitlenormalsize{0.02963\paperheight}{0.02963\paperheight}} + \newcommand*\tudtitleLARGE{\@setfontsize\tudtitleLARGE{0.059259\paperheight}{0.059259\paperheight}} + \newcommand*\tudtitlesmall{\@setfontsize\tudtitlesmall{.0246916\paperheight}{.0046916\paperheight}} + \newcommand*\tudtitletiny{\@setfontsize\tudtitletiny{.02057638\paperheight}{.02057638\paperheight}} + \newcommand*\tudfoottiny{\@setfontsize\tudfoottiny% + {.347309973197\tudbeamerlogoheight}% + {.347309973197\tudbeamerlogoheight}% + } + \setbeamerfont{author/titlepage}{size=\tudtitlenormalsize,series=\mdseries,family=\sffamily} + \setbeamerfont{einrichtung/titlepage}{parent=author/titlepage} + \setbeamerfont{fachrichtung/titlepage}{parent=einrichtung/titlepage} + \setbeamerfont{institut/titlepage}{parent=fachrichtung/titlepage} + \setbeamerfont{professur/titlepage}{parent=fachrichtung/titlepage} + \setbeamerfont{date in head/foot/titlepage}{size=\tudtitlenormalsize,family=\sffamily} + \setbeamerfont{subtitle}{size=\tudtitlenormalsize,series=\mdseries,family=\sffamily} + \setbeamerfont{frametitle}{size=\LARGE,family=\sffamily,series=\bfseries} + \setbeamerfont{framesubtitle}{size=\LARGE,family=\sffamily,series=\mdseries} +} + +\tudfontsloadstyle{\tudbeamer@font@style} + +%\setbeamerfont{itemize/enumerate subbody}{size=\scriptsize} +%\setbeamerfont{itemize/enumerate subsubbody}{size=\scriptsize} +\setbeamerfont{description item}{parent=item,series=\bfseries} +\setbeamerfont{section in head/foot}{size=\normalsize,family=\sffamily} +\setbeamerfont{footline}{size=\tudfoottiny} +\setbeamerfont{page number in footline}{size=\tudfoottiny} +\setbeamerfont{title in head/foot}{family=\sffamily} +\setbeamerfont{block title}{size={}} +\setbeamerfont{part page/title}{parent=title} +\setbeamerfont{part page/subtitle}{parent=part page/title,series=\mdseries} + +\if@noDIN + \setbeamerfont{title}{size=\tudtitleLARGE,series=\bfseries,family=\sffamily} +\else + \setbeamerfont{title}{size=\tudtitleLARGE,series=\bfseries,family=\dinfamily} +\fi diff --git a/presentation/tud-beamer-template/beamerinnerthemetud.sty b/presentation/tud-beamer-template/beamerinnerthemetud.sty new file mode 100644 index 0000000000000000000000000000000000000000..2c82c7e9eec06d6a67c2e7008da2d5963aa29f8a --- /dev/null +++ b/presentation/tud-beamer-template/beamerinnerthemetud.sty @@ -0,0 +1,161 @@ +\ProvidesPackage{beamerinnerthemetud}[2011/01/17 v1 TU Dresden +corporate design inner theme] +\def\tudbeamer@inner@style{cd2018} +\DeclareOptionBeamer{cd2018}{\def\tudbeamer@inner@style{cd2018}} +\DeclareOptionBeamer{cd2012ts}{\def\tudbeamer@inner@style{cd2012ts}} + + +\ProcessOptionsBeamer\relax + +\setbeamertemplate{sections/subsections in toc}[default] + +\AtBeginDocument{% + \normalfont + \setlength\leftmargini{1.25em}% + \setlength\leftmarginii{1.25em}% + \setlength\leftmarginiii{1.25em}% + \setlength\labelsep{0.25em}% + \setlength\labelwidth{1em}% +} +\setbeamertemplate{items}[default] +\beamertemplatedotitem +\setbeamertemplate{itemize items}{\hbox to \labelwidth{\textbullet\hfill}} +\setbeamertemplate{itemize subitem}{\hbox to \labelwidth{--\hfill}} +\setbeamertemplate{itemize subsubitem}{\hbox to \labelwidth{--\hfill}} +\setbeamertemplate{enumerate item}{\hbox to \labelwidth{\theenumi.\hfill}} +\setbeamertemplate{enumerate subitem}{\hbox to 1.5\labelwidth{\theenumi.\theenumii.\hfill}} +\setbeamertemplate{enumerate subsubitem}{\hbox to 2\labelwidth{\theenumi.\theenumii.\theenumiii.\hfill}} + +\mode<presentation> + +%\useinnertheme[shadow=true]{rounded} +\defbeamertemplate{title page}{tud}{ + \usebeamertemplate{title page/tud}% +}% + + +% Faktor zur PPT-Vorlage: / 0,1984375 * 5,04 +\defbeamertemplate{title page/tud}{cd2012ts}{% + \usebeamercolor{normal text/titlepage}% + \usebeamerfont{normal text/titlepage}% + \vfill% + {% + % \renewcommand\baselinestretch{1}% + \usebeamerfont*{title}% + \usebeamercolor[fg]{title}% + \expandafter\setlength\expandafter\baselineskip{\f@size pt*\ratio{10pt}{10pt}}% + \MakeUppercase{\inserttitle}\par% + }\vfill% + {% + \ifx\insertsubtitle\empty + \else + \usebeamerfont*{subtitle}% + \usebeamercolor[fg]{subtitle}% + \insertsubtitle + \vfill + \fi% + \usebeamerfont*{author}% + \usebeamercolor[fg]{author/titlepage}% + \insertauthor + }% + \vfill\vfill% +} + +\defbeamertemplate*{title page/tud}{cd2018}{% + \parindent0pt + \setlength\@tempdima{0.55\paperheight-\headheight}% + \vbox to \@tempdima{ + \vfill\vfill + \usebeamercolor{normal text/titlepage}% + \usebeamerfont{normal text/titlepage}% + {% + \vfill + \usebeamerfont*{author/titlepage}% + \usebeamercolor[fg]{author/titlepage}% + \insertauthor\\ + \usebeamercolor{einrichtung/titlepage}% + \usebeamerfont*{einrichtung/titlepage}% + \usebeamertemplate{einrichtung/titlepage}% + \usebeamercolor{fachrichtung/titlepage}% + \usebeamerfont*{fachrichtung/titlepage}% + \usebeamertemplate{fachrichtung/titlepage}% + \usebeamercolor{institut/titlepage}% + \usebeamerfont*{institut/titlepage}% + \usebeamertemplate{institut/titlepage}% + \usebeamercolor{professur/titlepage}% + \usebeamerfont*{professur/titlepage}% + \usebeamertemplate{professur/titlepage}% + }% + \vfill% + {% + \usebeamerfont*{title}% + \usebeamercolor[fg]{title}% + \expandafter\setlength\expandafter\baselineskip{\f@size pt*\ratio{10pt}{10pt}}% + \inserttitle\strut\par% + }% + }% + { + \ifx\insertsubtitle\empty + \else + \usebeamerfont*{subtitle}% + \usebeamercolor[fg]{subtitle}% + \insertsubtitle + \ifx\insertdatecity\empty + \ifx\insertdate\empty + \else{} // \fi + \else{} // \fi + \fi + }% + {% + \usebeamerfont*{date in head/foot/titlepage}% + \usebeamercolor[fg]{date in head/foot/titlepage}% + \insertdatecity + \ifx\insertdatecity\empty + \else + \ifx\insertdate\empty + \else, + \fi + \fi + \insertdate% + \strut + }% + \vfill\vfill% +} + +\setbeamertemplate{title page/tud}[\tudbeamer@inner@style]% + + +\defbeamertemplate*{part page/title}{section}{% + \insertsection +} +\defbeamertemplate{part page/subtitle}{section}{% + \insertsection +} +\defbeamertemplate*{part page/subtitle}{subsection}{% + \insertsubsection +} + +\defbeamertemplate*{part page/tud}{subsection cd2018}{% + % \color{tudaccent5}\rule{\beamer@leftmargin}{1pt}% + \vbox to 0.55\paperheight{% + \vfill + % \renewcommand\baselinestretch{1}% + \usebeamertemplate***{part page/title}\strut\par% + \leavevmode\usebeamertemplate***{part page/subtitle}\strut + }% + \vfill% +} + +\defbeamertemplate{part page}{tud}{ + \usebeamertemplate{part page/tud}% +} + +\defbeamertemplate*{part page}{tud cd2018}{% +}[action]{% + \setbeamertemplate{part page/tud}[cd2018]% + \setbeamertemplate{part page}[tud]% +} + +\setbeamertemplate{title page}[tud] + +\mode<all> \ No newline at end of file diff --git a/presentation/tud-beamer-template/beamerouterthemetud.sty b/presentation/tud-beamer-template/beamerouterthemetud.sty new file mode 100644 index 0000000000000000000000000000000000000000..d59cc04b2616d3d0387f7a380e0492da8c090e51 --- /dev/null +++ b/presentation/tud-beamer-template/beamerouterthemetud.sty @@ -0,0 +1,1235 @@ +\ProvidesPackage{beamerouterthemetud}[2018/01/10 v3.0 Outer beamer theme in the Corporate Design of TU Dresden] +% Vom Nutzer anzugebende / veraenderbare Namen und Bezeichnungen + + + +%\newif\if@useGerman % explizit deutsche Namen verwenden und german-Package einbinden ? +% \newif\if@useNoGerman % explizit englische Namen verwenden +% \DeclareOptionBeamer{nogerman}{\@useNoGermantrue\@useGermanfalse} +% \DeclareOptionBeamer{german}{\@useGermantrue\@useNoGermanfalse} + +\newif\if@useHeader\@useHeadertrue +\DeclareOptionBeamer{noheader}{\@useHeaderfalse} + +\newif\if@smallRightMargin\@smallRightMarginfalse +\DeclareOptionBeamer{smallrightmargin}{\@smallRightMargintrue} + +\newif\if@usePageNum\@usePageNumtrue +\DeclareOptionBeamer{nopagenum}{\@usePageNumfalse} +\DeclareOptionBeamer{pagenum}{\@usePageNumtrue} + +\newif\if@useNoFrameTitleSection\@useNoFrameTitleSectiontrue +\DeclareOptionBeamer{section}{\@useNoFrameTitleSectionfalse} + +\newif\if@useNavBar\@useNavBarfalse +\DeclareOptionBeamer{navbar}{\@useNavBartrue} + +\newif\if@ddc\@ddcfalse +\DeclareOptionBeamer{ddc}{\@ddctrue\@ddcfooterfalse} +\newif\if@ddcfooter +\@ddcfootertrue +\DeclareOptionBeamer{ddcfooter}{\@ddcfootertrue\@ddcfalse} +\DeclareOptionBeamer{noddc}{\@ddcfooterfalse\@ddcfalse} + +\def\tudbeamer@outer@style{cd2018} +\DeclareOptionBeamer{cd2018}{\def\tudbeamer@outer@style{cd2018}} +\DeclareOptionBeamer{cd2012ts}{\def\tudbeamer@outer@style{cd2012ts}} + + +\ProcessOptionsBeamer\relax + +\RequirePackage{tudbeamermacros} +\RequirePackage{calc} + + + + + + +\def\tudbeamersetouterstyle#1{% + \edef\tudbeamer@outer@style{#1}% + \expandafter\let\expandafter\tudbeamer@titlesizes +} + +% Templates +% Aktuelles DDC-Logo: DDC_Logo_110x50_4C.pdf +% 110x50 mm +% N von DD 5,77x7,66+47,16+22,39 + + + + +\def\tudbeamer@outer@setGermanNames{% + \setbeamertemplate{page number: text and total}[german]% + \setbeamertemplate{page number: text and filetotal}[german]% + \setbeamertemplate{page number: text}[german]% + \setbeamertemplate{frame number: text and total}[german]% + \setbeamertemplate{frame number: text and filetotal}[german]% + \setbeamertemplate{frame number: text}[german]% + \setbeamertemplate{frame number: text and total and overlay}[german]% + \setbeamertemplate{frame number: text and filetotal and overlay}[german]% + \setbeamertemplate{frame number: text and overlay}[german]% +} + +\def\tudbeamer@outer@setEnglishNames{% + \setbeamertemplate{page number: text and total}[english]% + \setbeamertemplate{page number: text and filetotal}[english]% + \setbeamertemplate{page number: text}[english]% + \setbeamertemplate{frame number: text and total}[english]% + \setbeamertemplate{frame number: text and filetotal}[english]% + \setbeamertemplate{frame number: text}[english]% + \setbeamertemplate{frame number: text and total and overlay}[english]% + \setbeamertemplate{frame number: text and filetotal and overlay}[english]% + \setbeamertemplate{frame number: text and overlay}[english]% +} + + +\AtBeginDocument{% + \@ifundefined{captionsgerman}{}{\addto\captionsgerman{\tudbeamer@outer@setGermanNames}}% + \@ifundefined{captionsngerman}{}{\addto\captionsngerman{\tudbeamer@outer@setGermanNames}}% + \@ifundefined{captionsenglish}{}{\addto\captionsenglish{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionsUKenglish}{}{\addto\captionsUKenglish{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionsbritish}{}{\addto\captionsbritish{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionsamerican}{}{\addto\captionsamerican{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionsUSenglish}{}{\addto\captionsUSenglish{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionscanadian}{}{\addto\captionscanadian{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionsaustralian}{}{\addto\captionsaustralien{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captionsnewzealand}{}{\addto\captionsnewzealand{\tudbeamer@outer@setEnglishNames}}% + \@ifundefined{captions\languagename}{\tudbeamer@outer@setEnglishNames} + {\csname captions\languagename\endcsname}% +} + + +%\mode<presentation> +\def\insertslideinframe{% + \@tempcnta\beamer@slideinframe + \advance\@tempcnta by -1\relax + \ifnum\@tempcnta < 0\relax + \@tempcnta -\@tempcnta + \else + \ifnum \@tempcnta = 0 \relax + \@tempcnta = 1 + \fi + \fi + \@arabic\@tempcnta +} + +\defbeamertemplate{page layout/cd2012ts}{default}[1][0.125]{% +}[action]{% + \def\tudbeamer@outer@setlength##1##2{% + \pgfmathsetlength{##1}{##2 * (#1\paperheight)/65pt}% + }% + \tudbeamer@outer@setlength\tudbeamerlogowidth{40mm}% + \pgfmathsetlength\tudbeamerlogoheight{\tudbeamerlogowidth*0.75/2.57}% + \setlength\tudbeamerlogoleftmargin{\beamer@leftmargin-0.3333\tudbeamerlogowidth}% + \def\tudbeamerlogorightmargin{\tudbeamerlogoleftmargin}% + \pgfmathsetlength\tudbeamerlogotopmargin{#1\paperheight - + 0.020\paperheight*((#1/0.125)^2) - + \tudbeamerlogoheight + }% + %\setlength{\tudbeamerfooterpagenumwidth}{0.25\linewidth}% + \setlength{\tudbeamerfooterplacewidth}{0.25\linewidth}% + \setlength{\tudbeamerfootercontentwidth}{\paperwidth - \beamer@leftmargin-\beamer@rightmargin + -\tudbeamerfooterpagenumwidth}% + \setlength\@tempdima{0.015\paperheight}% + \edef\tudbeamer@barheight{\the\@tempdima}% + % convenience + \setlength{\@tempdima}{% + \tudbeamerlogotopmargin+ + \tudbeamerlogoheight+ + \tudbeamer@barheight+0.01pt% + }% + \edef\tudbeamer@headheight{\the\@tempdima}% + % + \if@smallRightMargin + \setlength\beamer@rightmargin{0.10\paperheight}% + \else + \setlength\beamer@rightmargin{0.15\paperheight}% + \fi + \setlength\beamer@leftmargin{0.15\paperheight}% +} + +\defbeamertemplate{page layout/cd2018}{default}[1]% +[\ifdim\paperheight>0.6875\paperwidth]{% +}[action]{% + \setlength\@tempdima{0.11\paperheight}% + \edef\tudbeamer@footheight{\the\@tempdima}% + \setlength\tudbeamerlogoleftmargin{0.04\paperwidth}% + \def\tudbeamerlogorightmargin{\tudbeamerlogoleftmargin}% + \setlength\tudbeamerlogoheight{0.048\paperheight}% + \pgfmathsetlength\tudbeamerlogowidth{\tudbeamerlogoheight * 2.57/0.75}% + \setlength\tudbeamerfootercontentwidth{0.452\paperwidth}% + % \setlength\tudbeamerfooterpagenumwidth{0.06\paperwidth}% + \edef\tudbeamer@barheight{0pt}% + % convenience + \setlength{\@tempdima}{% + \tudbeamerlogotopmargin+ + \tudbeamerlogoheight+ + \tudbeamer@barheight+0.01pt% + }% + \edef\tudbeamer@headheight{0pt}% + \pgfmathsetlength{\tudbeamerbackgroundheight}{% + \paperheight-\tudbeamer@headheight-\tudbeamer@footheight% + }% + \setlength\tudbeamerbackgroundwidth{\paperwidth}% + \def\tudbeamer@backgroundshadeangle{20}% + \def\tudbeamer@backgroundstart{\tudbeamer@footheight}% + \setlength{\tudbeamerfooterplacewidth}{0.25\linewidth}% + \setlength\tudbeamerlogotopmargin{0.0509\paperheight}% + % + #1 + \setlength\beamer@leftmargin{\tudbeamerlogoleftmargin}% + \else + \setlength\beamer@leftmargin{\tudbeamerlogoleftmargin+0.3333\tudbeamerlogowidth}% + \fi + \setlength\beamer@rightmargin{\beamer@leftmargin}% +} + +\defbeamertemplate*{page layout}{default}{% +}[action]{% + \setbeamertemplate{page layout/\tudbeamer@outer@style}[default]% +} + +\defbeamertemplate{page layout/cd2018}{titlepage}{% +}[action]{% + \def\tudbeamer@footheight{0pt}% + \setlength\tudbeamerlogotopmargin{0.0509\paperheight}% + \pgfmathsetlength\tudbeamerlogowidth{sqrt((\paperheight / 1cm)* (\paperwidth / 1cm)) * 0.1927cm}% + \pgfmathsetlength\tudbeamerlogoheight{\tudbeamerlogowidth*0.75/2.57}% + \setlength\@tempdima{0.025\paperheight}% + \edef\tudbeamer@barheight{\the\@tempdima}% + \pgfmathsetlength\tudbeamerlogoleftmargin{max(0.0717\paperwidth-0.3333*\tudbeamerlogowidth, + \tudbeamer@barheight,0.0407\paperheight)}% + \def\tudbeamerlogorightmargin{\tudbeamerlogoleftmargin}% + \setlength{\@tempdima}{% + \tudbeamerlogotopmargin+ + \tudbeamerlogoheight+ + \tudbeamer@barheight+0.01pt% + }% + \edef\tudbeamer@headheight{\the\@tempdima}% + \pgfmathsetlength{\tudbeamerbackgroundheight}{% + \paperheight-\tudbeamer@headheight% + }% + \setlength\tudbeamerbackgroundwidth{\paperwidth}% + \def\tudbeamer@backgroundshadeangle{20}% + \def\tudbeamer@backgroundstart{0pt}% + % convenience + \setlength\tudbeamerfootercontentwidth{0.452\paperwidth}% + %\setlength\tudbeamerfooterpagenumwidth{0.0579\paperwidth}% + \setlength{\tudbeamerfooterplacewidth}{0.25\linewidth}% + % + \setlength\beamer@leftmargin{\tudbeamerlogoleftmargin+0.3333\tudbeamerlogowidth}% + \setlength\beamer@rightmargin{\beamer@leftmargin}% + % +} + +\defbeamertemplate{page layout/cd2012ts}{titlepage}{% +}[action]{% + \setbeamertemplate{page layout/cd2012ts}[default][0.175]% + \setlength\@tempdima{0.025\paperheight}% + \edef\tudbeamer@barheight{\the\@tempdima}% +} + +\defbeamertemplate{page layout}{titlepage}{% +}[action]{% + \setbeamertemplate{page layout/\tudbeamer@outer@style}[titlepage]% +} + +\defbeamertemplate{page layout/cd2012ts}{partpage}{% +}[action]{% + \setbeamertemplate{page layout/cd2012ts}[default]% +} +\defbeamertemplate{page layout/cd2018}{partpage}{% +}[action]{% + \setbeamertemplate{page layout/cd2018}[default][\iffalse]% +} + +\defbeamertemplate{page layout}{partpage}{% +}[action]{% + \setbeamertemplate{page layout/\tudbeamer@outer@style}[partpage]% +} + + +\if@useNavBar\else\setbeamertemplate{navigation symbols}{}\fi % Nav-Leiste aus + + + + + +\def\logo@front{logo_weiss} +\def\logo@default{logo_blau} +\ifx\pdfoutput\undefined +\else + \ifx\pdfoutput\relax + \else + \ifcase\pdfoutput + \else + \def\logo@front{TU_Logo_SW}% + \def\logo@default{TU_Logo_SW}% + \fi + \fi +\fi + +\defbeamertemplate{einrichtung/titlepage}{empty}{% +} +\defbeamertemplate{fachrichtung/titlepage}{empty}{% +} +\defbeamertemplate{institut/titlepage}{empty}{% +} +\defbeamertemplate{professur/titlepage}{empty}{% +} + +\institute[% + \usebeamertemplate{einrichtung}% + \usebeamertemplate{fachrichtung}% + \usebeamertemplate{institut}% + \usebeamertemplate{professur}% +]{% + \usebeamertemplate{einrichtung/titlepage}% + \usebeamertemplate{fachrichtung/titlepage}% + \usebeamertemplate{institut/titlepage}% + \usebeamertemplate{professur/titlepage}% +} + +\defbeamertemplate*{einrichtung/titlepage}{default}{% + % Hier muss ein Leerzeichen folgen + \ifx\@einrichtung\empty + \else + \@einrichtung% + \ifx\@fachrichtung\empty + \ifx\@institut\empty + \ifx\@professur\empty + \else, + \fi + \else, + \fi + \else, + \fi + \fi + \strut +} +\defbeamertemplate*{fachrichtung/titlepage}{default}{% + \ifx\@fachrichtung\empty + \else + \@fachrichtung% + \ifx\@institut\empty + \ifx\@professur\empty + \else, + \fi + \else, + \fi + \fi + \strut +} +\defbeamertemplate*{institut/titlepage}{default}{% + \ifx\@institut\empty + \else + \@institut% + \ifx\@professur\empty + \else, + \fi + \fi + \strut +} +\defbeamertemplate*{professur/titlepage}{default}{% + \@professur% + \strut +} + + +\defbeamertemplate*{einrichtung}{default}{% + \ifx\@professur\@empty + \ifx\@institut\@empty + \ifx\@fachrichtung\@empty + \@einrichtung + \strut + \fi\fi\fi +} +\defbeamertemplate*{fachrichtung}{default}{% + \ifx\@professur\@empty + \ifx\@institut\@empty + \@fachrichtung + \strut + \fi\fi +} +\defbeamertemplate*{institut}{default}{% + \ifx\@professur\@empty + \@institut + \strut + \fi +} +\defbeamertemplate*{professur}{default}{% + \@professur% + \strut +} + + +\defbeamertemplate*{zweitlogo/titlepage}{default}{} +\defbeamertemplate{zweitlogo/titlepage}{logofile}[1]{% + \includegraphics[height=\tudbeamerlogoheight]{#1}% +} +\defbeamertemplate*{zweitlogo/titlepage ddc}{cd2018}{% + \@tempdima\tudbeamerlogoheight + \vbox to \tudbeamerlogoheight{% + \vss + \setbox\@tempboxa\hbox{% + \raisebox{-0.0555\@tempdima}{% + \includegraphics[height=1.111\@tempdima]{DDC_Logo_110x50_4C}% + \hskip-0.0555\@tempdima% + }% + }% + \hsize=\wd\@tempboxa + \usebox\@tempboxa + \par\vss + }% +} +\defbeamertemplate*{zweitlogo/titlepage ddc}{cd2012ts}{% + \includegraphics[height=\tudbeamerlogoheight]{DDC-weiss}% +} +\defbeamertemplate*{zweitlogo/titlepage}{ddc}{% + \usebeamertemplate{zweitlogo/titlepage ddc}% +} + +\defbeamertemplate{zweitlogo/titlepage}{freeform}[1]{% + \def\logoheight{\tudbeamerlogoheight}% + #1% +} +\setbeamertemplate{zweitlogo/titlepage ddc}[\tudbeamer@outer@style]% + +\defbeamertemplate*{zweitlogo/footline}{default}{} +\defbeamertemplate{zweitlogo/footline}{logofile}[1]{% + \def\logoheight{\tudbeamerlogoheight}% + \includegraphics[height=\logoheight]{#1}% +} +\defbeamertemplate{zweitlogo/footline}{ddc}{% + \def\logoheight{\tudbeamerlogoheight}% + \vbox to \logoheight{% + \vss + \setbox\@tempboxa\hbox{% + \includegraphics[height=1.111\logoheight]{DDC_Logo_110x50_4C}% + \hskip-0.0555\logoheight% + }% + \hsize=\wd\@tempboxa + \usebox\@tempboxa + \par\vss + }% +} +\defbeamertemplate{zweitlogo/footline}{freeform}[1]{% + \def\logoheight{\tudbeamerlogoheight}% + #1% +} + + +\defbeamertemplate*{zweitlogo/headline}{default}{} +\defbeamertemplate{zweitlogo/headline}{logofile}[1]{% + \includegraphics[height=\tudbeamerlogoheight]{#1}% +} +\defbeamertemplate{zweitlogo/headline}{ddc}{% + % \includegraphics[height=\tudbeamerlogoheight]{DDC-weiss}% + \includegraphics[height=\tudbeamerlogoheight]{DDC-09}% +} +\defbeamertemplate{zweitlogo/headline}{freeform}[1]{% + \def\logoheight{\tudbeamerlogoheight}% + #1% +} +\if@ddc +\setbeamertemplate{zweitlogo/titlepage}[ddc] +\setbeamertemplate{zweitlogo/headline}[ddc] +\else +\setbeamertemplate{zweitlogo/titlepage}[default] +\setbeamertemplate{zweitlogo/headline}[default] +\fi + + +\defbeamertemplate{headline}{titlepage}{% + \usebeamertemplate{headline/titlepage}% +} + +\defbeamertemplate*{headline/titlepage}{default}{% +}[action]{\setbeamertemplate{headline/titlepage}[tud \tudbeamer@outer@style]} + +\defbeamertemplate{headline/titlepage}{tud cd2012ts}{% + \vbox to 0.175\paperheight{% + \vskip\tudbeamerlogotopmargin + \hskip\tudbeamerlogoleftmargin + \usebeamercolor[fg]{logo/titlepage}% + \includegraphics[width=\tudbeamerlogowidth]{\logo@front}% + \hfill + \usebeamertemplate{zweitlogo/titlepage} + \hskip\beamer@rightmargin\hbox{}% + \vskip 0pt plus 1 fil\relax + }% + \usebeamercolor[fg]{upper separation line head/titlepage}% + \rule{\paperwidth}{0.3pt}\par% + \vbox to \tudbeamer@barheight{\vskip 0pt plus 1 fil + \hskip\beamer@leftmargin% + \usebeamertemplate*{einrichtung/titlepage}% + \usebeamertemplate*{fachrichtung/titlepage}% + \usebeamertemplate*{institut/titlepage}% + \usebeamertemplate*{professur/titlepage}% + \par% + \vskip 0pt plus 1 fil + }% + \usebeamercolor[fg]{lower separation line head/titlepage}% + \rule{\paperwidth}{0.3pt}\par +} + +\defbeamertemplate{headline/titlepage}{tud cd2018}{% + \vskip\tudbeamerlogotopmargin + \hskip\tudbeamerlogoleftmargin% + \usebeamercolor[fg]{logo}% + \includegraphics[width=\tudbeamerlogowidth]{\logo@default}% + \hfill + \usebeamertemplate{zweitlogo/titlepage}% + \hskip\tudbeamerlogorightmargin\hbox{}% + \par + \vskip\tudbeamer@barheight + \vskip\tudbeamer@barheight +} + + +\defbeamertemplate{background}{titlepage}{% + \usebeamertemplate{background/titlepage}% +} + +\defbeamertemplate*{background/titlepage}{default}{% +}[action]{\setbeamertemplate{background/titlepage}{\tudbeamer@outer@style}} + +\defbeamertemplate{background/titlepage}{tud cd2012ts}{% +} + +\defbeamertemplate{background/titlepage}{tud cd2018}{% + \usebeamertemplate{background/shaded}% +} + +\defbeamertemplate*{tud background shade}{default}[1][20]{% + \usebeamercolor{titleshading}% + \pgfdeclareverticalshading{tud titlepage background}% + {100bp}{ + color(0bp)=(fg); + color(25bp)=(fg); + color(75bp)=(bg); + color(100bp)=(bg)}% + \pgfpathrectangle{% + \pgfpoint{0pt}{0}% + }{% + \pgfpoint{\tudbeamerbackgroundwidth}{\tudbeamerbackgroundheight}% + }% + \pgfshadepath{tud titlepage background}{#1}% + % \pgfusepath{draw}% + \pgfusepath{discard}% +} + +\defbeamertemplate*{tud background}{shaded}[1][20]{% + \usebeamertemplate{tud background shade}% +}[action]{% + \setbeamertemplate{tud background shade}[default][#1]% +} + +\defbeamertemplate*{tud background image}{default}[2][width=\tudbeamerbackgroundwidth, +height=\tudbeamerbackgroundheight]{% + % \pgfnode{rectangle}{south east}{% + \setbox\@tempboxa\hbox{% + \begin{pgfinterruptpicture}% + \includegraphics[#1]{#2}% + \end{pgfinterruptpicture}% + }% + \pgfqboxsynced\@tempboxa +% }{backgronud image}{\pgfusepath{discard}}% +} + +\defbeamertemplate{tud background}{image}[2][width=\tudbeamerbackgroundwidth, +height=\tudbeamerbackgroundheight]{ + \usebeamertemplate{tud background image}% +}[action]{% + \setbeamertemplate{tud background image}[default][#1]{#2}% +} + +\defbeamertemplate{tud background}{image/shaded}[3][width=\tudbeamerbackgroundwidth, +height=\tudbeamerbackgroundheight]{% + \usebeamertemplate{tud background image}% + % \pgfsetfading{tud background fade}{}% + \pgfsetfillopacity{#3}% + \usebeamertemplate{tud background shade}% +}[action]{% + \setbeamertemplate{tud background image}[default][#1]{#2}% + \setbeamertemplate{tud background shade}[default]% +} + + +\defbeamertemplate*{background/shaded}{tud cd2018}{% + % The shades are automatically scaled as needed, when used in graphics context + % {\tudbeamer@title@backgroundshadelength}{color(0cm)=(red);color(\paperwidth)=(blue)}% + \usebeamercolor{normal text}% + \begin{pgfpicture}% +% \color{green}% + % \pgfusepath{fill}% +% \pgfpathrectangle{\pgfpoint{0}{0}}{\pgfpoint{\paperwidth}{\tudbeamer@title@backgroundheight}}% +% \pgfusepath{clip}% + \pgfpathrectangle{% + \pgfpoint{0pt}{0pt}% + }{% + \pgfpoint{\paperwidth}{\paperheight}% + }% + \pgfusepath{use as bounding box}% + \begin{pgfscope}% + \pgfpathrectangle{% + \pgfpoint{0pt}{\tudbeamer@backgroundstart}% + }{% + \pgfpoint{\tudbeamerbackgroundwidth}{\tudbeamerbackgroundheight}% + }% + \pgfusepath{clip}% + \pgftransformshift{\pgfpoint{0pt}{\tudbeamer@backgroundstart}}% + \usebeamertemplate{tud background}% + \end{pgfscope}% + %\pgfsetadditionalshadetransform{\pgftransformshift{-0.25\paperwidth}{0pt}}% + % \begin{pgfscope} + % \color{red}% + % \pgftransformrotate{tudbeamer@backgroundshadeangle}% + % \pgfpathrectangle{\pgfpoint{-\paperwidth}{0}}{\pgfpoint{-\paperwidth}{\tudbeamerbackgroundheight}}% + % \pgfusepath{fill}% + % \end{pgfscope} + \color{normal text.bg}% + \pgfsetfillopacity{0.6}% + \pgfpathrectangle{\pgfpoint{0}{\tudbeamer@backgroundstart+\tudbeamerbackgroundheight-\tudbeamer@barheight}}% + {\pgfpoint{\paperwidth}{\tudbeamer@barheight}}% + \pgfusepath{fill}% + \end{pgfpicture}% + % \hbox to \paperwidth{% + % \pgftransformrotate{\tudbeamer@backgroundshadeangle}% + % \pgfuseshading{tud titlepage background}% + % \vbox to \tudbeamerbackgroundheight{\hbox{\tudbeamerbackgroundheight}}% + % } +} + +\defbeamertemplate{headline}{tud header cd2012ts}{% + \vbox to 0.125\paperheight{% + \vskip\tudbeamerlogotopmargin + \hskip\tudbeamerlogoleftmargin% + \usebeamercolor[fg]{logo}% + \includegraphics[width=\tudbeamerlogowidth]{\logo@default}% + \hfill + \usebeamertemplate{zweitlogo/headline} + \hskip\beamer@rightmargin\hbox{}% + \vskip 0pt plus 1 fil\relax + }% + \usebeamercolor[fg]{upper separation line head}% + \rule{\paperwidth}{0.3pt}\par + \vskip\tudbeamer@barheight + \usebeamercolor[fg]{lower separation line head}% + \rule{\paperwidth}{0.3pt}\par +} + +\defbeamertemplate{headline}{tud header cd2018}{% +} + +\defbeamertemplate*{headline}{tud header}{% +}[action]{% + \setbeamertemplate{headline}[tud header \tudbeamer@outer@style]% +} + + + +\defbeamertemplate{headline}{tud noheader}{% + % \rule{0pt}{14.57mm} + \rule{0pt}{\the\topmarginnoheader}% +} + + +\defbeamertemplate*{date/place in footline}{default}[1][TU~Dresden]{% + \parbox[b]\tudbeamerfooterplacewidth{% + \raggedright%\mbox{ + \def\@tempa{#1}% + \ifx\@tempa\empty + \else + \@tempa + \ifx\insershorttdate\empty\else, % + \fi + \fi + \insertshortdate + %}% + \strut + }% +} + +\defbeamertemplate{title in head/foot}{tud cd2012ts}{% + \setlength\@tempdima{\tudbeamerfootercontentwidth-\tudbeamerfooterplacewidth}% + \parbox[b]{\@tempdima}{% + \centering\insertshorttitle%h + \strut + }% +} +\defbeamertemplate{title in head/foot}{tud cd2018}{% + {\def\\{, }\insertshorttitle}\strut +} +\defbeamertemplate*{title in head/foot}{tud}{% +}[action]{% + \setbeamertemplate{title in head/foot}[tud \tudbeamer@outer@style] +} + +\defbeamertemplate*{institute in head/foot}{tud}{% + \insertshortinstitute\strut + \if\empty\beamer@shortinstitute + \else + \if\empty\beamer@shortauthor + \else{} // % + \fi + \fi +} + +\defbeamertemplate*{author in head/foot}{tud}{% + \insertshortauthor\strut +} + +\defbeamertemplate*{date/place in head/foot}{tud}{% + \insertdatecity + \ifx\empty\insertdatecity + \else\ifx\empty\insertshortdate + \else, + \fi + \fi +} + +\defbeamertemplate*{date in head/foot}{tud}{% + \insertshortdate +} + +\defbeamertemplate{page number in footline}{page}[1][text and total]{% + \usebeamertemplate{page number: #1}% +} +\defbeamertemplate*{page number in footline}{frame}[1][text and total]{% + \usebeamertemplate{frame number: #1}% +} + +\defbeamertemplate*{page number: text and total}{english}{% + Page \pagenumberbox{\insertpagenumber} of \insertpresentationendpage +} +\defbeamertemplate*{page number: text and filetotal}{english}{% + Page \pagenumberbox{\insertpagenumber} of \inserttotalpagenumber +} +\defbeamertemplate*{page number: text}{english}{% + Page \pagenumberbox{\insertpagenumber}% +} +\defbeamertemplate{page number: text and total}{german}{% + Seite \pagenumberbox{\insertpagenumber}\ von \insertpresentationendpage +} +\defbeamertemplate{page number: text and filetotal}{german}{% + Seite \pagenumberbox{\insertpagenumber}\ von \inserttotalpagenumber +} +\defbeamertemplate{page number: text}{german}{% + Seite \pagenumberbox{\insertpagenumber}% +} +\defbeamertemplate*{page number: total}{default}{% + \pagenumberbox{\insertpagenumber}/\inserttotalpagenumber +} +\defbeamertemplate*{page number: only}{default}{% + \pagenumberbox{\insertpagenumber}% +} +\defbeamertemplate*{frame number: text and total}{english}{% + Slide~\framenumberbox{\insertframenumber} of~\insertpresentationendframe +} +\defbeamertemplate*{frame number: text and filetotal}{english}{% + Slide~\framenumberbox{\insertframenumber} of~\inserttotalframenumber +} +\defbeamertemplate*{frame number: text and total and overlay}{english}{% + Slide \framenumberbox{\insertframenumber}.\insertslideinframe{} of~\insertpresentationendframe +} +\defbeamertemplate*{frame number: text and filetotal and overlay}{english}{% + Slide \framenumberbox{\insertframenumber}.\insertslideinframe{} of \inserttotalframenumber +} +\defbeamertemplate*{frame number: text}{english}{% + Slide~\framenumberbox{\insertframenumber}% +} +\defbeamertemplate*{frame number: text and overlay}{english}{% + Slide \framenumberbox{\insertframenumber}.\insertslideinframe% +} +\defbeamertemplate{frame number: text and total}{german}{% + Folie \framenumberbox{\insertframenumber} von \insertpresentationendframe +} +\defbeamertemplate{frame number: text and filetotal}{german}{% + Folie \framenumberbox{\insertframenumber} von \inserttotalframenumber +} +\defbeamertemplate{frame number: text and total and overlay}{german}{% + Folie \framenumberbox{\insertframenumber}.\insertslideinframe{} von \insertpresentationendframe +} +\defbeamertemplate{frame number: text and filetotal and overlay}{german}{% + Folie \framenumberbox{\insertframenumber}.\insertslideinframe{} von \inserttotalframenumber +} +\defbeamertemplate{frame number: text}{german}{% + Folie~\framenumberbox{\insertframenumber}% +} +\defbeamertemplate{frame number: text and overlay}{german}{% + Folie \framenumberbox{\insertframenumber}.\insertslideinframe% +} +\defbeamertemplate*{frame number: total}{default}{% + \framenumberbox{\insertframenumber}/\insertpresentationendframe +} +\defbeamertemplate*{frame number: filetotal}{default}{% + \framenumberbox{\insertframenumber}/\inserttotalframenumber +} +\defbeamertemplate*{frame number: total and overlay}{default}{% + \framenumberbox{\insertframenumber}.\insertslideinframe/\insertpresentationendframe +} +\defbeamertemplate*{frame number: filetotal and overlay}{default}{% + \framenumberbox{\insertframenumber}.\insertslideinframe/\inserttotalframenumber +} +\defbeamertemplate*{frame number: only}{default}{% + \framenumberbox{\insertframenumber}% +} +\defbeamertemplate*{frame number: overlay}{default}{% + \framenumberbox{\insertframenumber}.\insertslideinframe +} + +\defbeamertemplate{footline}{titlepage}{% + \usebeamertemplate{footline/titlepage}% +} + +\defbeamertemplate{footline/titlepage}{tud cd2018}{% +} + + +\defbeamertemplate{footline/titlepage}{tud cd2012ts}{% + % \vfill + \hbox to \textwidth{% + \hskip\beamer@leftmargin + \usebeamerfont*{date in head/foot/titlepage}% + \usebeamercolor[fg]{date in head/foot/titlepage}% + \insertdatecity + \ifx\insertdatecity\empty + \else + \ifx\insertdate\empty + \else, + \fi + \fi + \insertdate% + \strut + \hskip 0pt plus 1 fil\relax + \if@ddcfooter + \includegraphics[height=0.424\tudbeamerlogowidth]{DDC-weissf}% + \fi + \hskip\beamer@rightmargin + }% + \vskip0.125\paperheight +} + +\defbeamertemplate*{upper separation line foot}{default}{% + \rule{\paperwidth}{0.3pt}\par + \vskip 0.1em\relax +} +\defbeamertemplate{footline}{tud pagenum cd2012ts}{% + \usebeamertemplate***{upper separation line foot}% + \usebeamerfont{footline}% + \hbox to \paperwidth{% + \hskip\beamer@leftmargin + \usebeamertemplate***{date/place in footline}% + \hskip 0pt plus 1 fil minus 1 fil\relax + \usebeamertemplate***{title in head/foot}% + \hskip 0pt plus 1 fil minus 1 fil\relax + \tudbeamermakefooterbox\tudbeamerfooterpagenumwidth{% + \setbox\@tempboxa\hbox{\usebeamertemplate***{page number in footline}}% + \@tempdima\wd\@tempboxa\relax + \ifdim \@tempdima>\tudbeamer@footerpagenumwidth + \tudbeamer@footerpagenumwidth\@tempdima + \tudbeamerfooterpagenumwidth\@tempdima + \fi + \hbox to \tudbeamerfooterpagenumwidth{\unhbox\@tempboxa\hfill}% + }% + \hskip\beamer@rightmargin + }% +} + +\defbeamertemplate{footline}{tud pagenum cd2018}{% + \usebeamertemplate***{upper separation line foot}% + \vbox to \tudbeamer@footheight{% + \setlength\@tempdima{\tudbeamer@footheight-\tudbeamerlogoheight}% + \vskip 0.45\@tempdima% + \setbox\@tempboxa\hbox to \paperwidth{% + \usebeamerfont{footline}% + \hskip\tudbeamerlogoleftmargin + \vbox to \tudbeamerlogoheight {% + \hsize=\tudbeamerlogowidth + \usebeamercolor[fg]{logo}% + \includegraphics[width=\tudbeamerlogowidth]{\logo@default}% + \par + }% + \hfill + \vbox to \tudbeamerlogoheight{% + \hsize=1em\relax + \usebeamercolor[fg]{footline}% + \def\\{, }% + \setbox\@tempboxa\hbox{% + \usebeamertemplate***{title in head/foot}\strut + }% + \ifdim\wd\@tempboxa > \hsize\relax + \hsize=\wd\@tempboxa + \fi + \usebox\@tempboxa + \par + % \leavevmode + \setbox\@tempboxa\hbox{% + \usebeamertemplate***{institute in head/foot}% + \usebeamertemplate***{author in head/foot}\strut + }% + \ifdim\wd\@tempboxa > \hsize\relax + \hsize=\wd\@tempboxa + \fi + \usebox\@tempboxa + \par + \setbox\@tempboxa\hbox{% + \usebeamertemplate***{date/place in head/foot}\strut% + \usebeamertemplate***{date in head/foot}\strut + }% + \ifdim\wd\@tempboxa > \hsize\relax + \hsize=\wd\@tempboxa + \fi + \usebox\@tempboxa + \par% + \vss + \ifdim\hsize > \tudbeamerfootercontentwidth\relax + \hsize=\tudbeamerfootercontentwidth + \fi + }% + \hfill + \tudbeamermakefooterbox\tudbeamerfooterpagenumwidth{% + \setbox\@tempboxa\hbox{\usebeamertemplate***{page number in footline}}% + \@tempdima\wd\@tempboxa\relax + \ifdim \@tempdima>\tudbeamer@footerpagenumwidth + \global\tudbeamer@footerpagenumwidth\@tempdima + \global\tudbeamerfooterpagenumwidth\@tempdima + \fi + \hbox to \tudbeamerfooterpagenumwidth{\unhbox\@tempboxa\hfill}% + }% + \hfill + \setbox\@tempboxa\hbox{\usebeamertemplate{zweitlogo/titlepage}}% + \vbox to \tudbeamerlogoheight{% + \hsize=\wd\@tempboxa + \vss + \usebox\@tempboxa\par + \vss + } + \hskip\tudbeamerlogoleftmargin + }% + %\vskip\ht\@tempboxa + \usebox\@tempboxa + \vfill + }% +} + +\defbeamertemplate{footline}{tud nopagenum cd2018}{% + \usebeamertemplate***{upper separation line foot}% + \vbox to \tudbeamer@footheight{% + \setlength\@tempdima{\tudbeamer@footheight-\tudbeamerlogoheight}% + \vskip 0.45\@tempdima% + \setbox\@tempboxa\hbox to \paperwidth{% + \usebeamerfont{footline}% + \hskip\tudbeamerlogoleftmargin + \vbox to \tudbeamerlogoheight {% + \hsize=\tudbeamerlogowidth + \usebeamercolor[fg]{logo}% + \includegraphics[width=\tudbeamerlogowidth]{\logo@default}% + \par + }% + \hfill + \vbox to \tudbeamerlogoheight{% + \hsize=1em\relax + \usebeamercolor[fg]{footline}% + \def\\{, }% + \setbox\@tempboxa\hbox{% + \usebeamertemplate***{title in head/foot}\strut + }% + \ifdim\wd\@tempboxa > \hsize\relax + \hsize=\wd\@tempboxa + \fi + \usebox\@tempboxa + \par + % \leavevmode + \setbox\@tempboxa\hbox{% + \usebeamertemplate***{institute in head/foot}% + \usebeamertemplate***{author in head/foot}\strut + }% + \ifdim\wd\@tempboxa > \hsize\relax + \hsize=\wd\@tempboxa + \fi + \usebox\@tempboxa + \par + \setbox\@tempboxa\hbox{% + \usebeamertemplate***{date/place in head/foot}\strut% + \usebeamertemplate***{date in head/foot}\strut + }% + \ifdim\wd\@tempboxa > \hsize\relax + \hsize=\wd\@tempboxa + \fi + \usebox\@tempboxa + \par% + \vss + \ifdim\hsize > \tudbeamerfootercontentwidth\relax + \hsize=\tudbeamerfootercontentwidth + \fi + }% + \hfill + \setbox\@tempboxa\hbox{\usebeamertemplate{zweitlogo/titlepage}}% + \vbox to \tudbeamerlogoheight{% + \hsize=\wd\@tempboxa + \vss + \usebox\@tempboxa\par + \vss + } + \hskip\tudbeamerlogoleftmargin + }% + %\vskip\ht\@tempboxa + \usebox\@tempboxa + \vfill + }% +} + +\defbeamertemplate*{footline}{tud pagenum}{% +}[action]{% + \setbeamertemplate{footline}[tud pagenum \tudbeamer@outer@style]% +} + +\defbeamertemplate{footline}{tud nopagenum cd2012ts}{% + \usebeamertemplate***{upper separation line foot}% + \usebeamerfont{footline}% + \hbox{% + \hskip\beamer@leftmargin + \usebeamertemplate***{date/place in footline}% + \hskip 0pt plus 1 fil minus 1 fil\relax + \usebeamertemplate***{title in head/foot}% + \hskip 0pt plus 1 fil minus 1 fil\relax + \kern\tudbeamerfooterpagenumwidth% + \hskip\beamer@rightmargin + }% +} + +\defbeamertemplate{footline}{tud nopagenum}{% +}[action]{% + \setbeamertemplate{footline}[tud nopagenum \tudbeamer@outer@style]% +} + + +\defbeamertemplate{frametitle}{tud titlesection}{% +% \vskip0.3ex% + \ifx\insertframetitle\empty + \else + \usebeamercolor[fg]{section in head/foot}% + \usebeamerfont{section in head/foot}% + \ifx\insertsection\empty + \strut\hfill\\ + \else + \arabic{section} \insertsection\strut\\ + \fi + \usebeamercolor[fg]{frametitle}% + \usebeamerfont{frametitle}% + \insertframetitle + \ifx\insertframesubtitle\empty + \else + \strut\\% + \fi + \fi + \ifx\insertframesubtitle\empty + \else + \vskip0.3ex + \usebeamercolor[fg]{framesubtitle}% + \usebeamerfont{framesubtitle}% + \insertframesubtitle% + \fi + \strut + \usebeamerfont*{normal text}% +} + +\defbeamertemplate{frametitle}{tud notitlesection}{% + \ifx\insertframetitle\empty + \else + \usebeamercolor[fg]{frametitle}% + \usebeamerfont{frametitle}% + \insertframetitle + \ifx\insertframesubtitle\empty + \else + \\% + \fi + \fi + \ifx\insertframesubtitle\empty + \else + \vskip0.3ex + \usebeamercolor[fg]{framesubtitle}% + \usebeamerfont {framesubtitle}% + \insertframesubtitle% + \fi + \usebeamerfont* {normal text}% + \usebeamercolor*{normal text}% +} + +\defbeamertemplate*{frametitle}{tud cd2018}{% + \vskip 0.05\paperheight + \ifx\insertframetitle\empty + \else + \usebeamercolor[fg]{frametitle}% + \usebeamerfont{frametitle}% + \insertframetitle + \ifx\insertframesubtitle\empty + \else + \\% + \fi + \fi + \ifx\insertframesubtitle\empty + \else + \vskip0.3ex + \usebeamercolor[fg]{framesubtitle}% + \usebeamerfont {framesubtitle}% + \insertframesubtitle% + \fi + \usebeamerfont* {normal text}% + \usebeamercolor*{normal text}% +} +%\beamertemplateshadingbackground{white}{white} +\setbeamercolor{normal text}{bg=white}% +\if@useHeader% +\setbeamertemplate{headline}[tud header]% +\else +\setbeamertemplate{headline}[tud noheader]% +\fi + +\setbeamertemplate{headline/titlepage}[tud \tudbeamer@outer@style]% +\setbeamertemplate{background/titlepage}[tud \tudbeamer@outer@style]% +\setbeamertemplate{footline/titlepage}[tud \tudbeamer@outer@style]% + +\if@usePageNum% +\setbeamertemplate{footline}[tud pagenum]% +\else +\setbeamertemplate{footline}[tud nopagenum]% +\fi + +\if@useNoFrameTitleSection +%\setbeamertemplate{frametitle}[tud notitlesection]% +\else +%\setbeamertemplate{frametitle}[tud titlesection]% +\fi + + +\def\maketitle{% + \ifbeamer@inframe{% + \PackageError{beamerouterthemetud}{Cannot set page style.^^J + \space Use \string\maketitle \space outside of any frame, please.^^J + ^^J + \space Die Titelseite konnte nicht konfiguriert werden.^^J + \space Verwenden Sie bitte \string\maketitle \space außerhalb von Folien. + }% + {% + \space See the TUD beamer style examples for further information. + \space http://GitHub.com/tud-cd/tud-cd + }% + \titlepage + }% + \else + {% + \setbeamertemplate{page layout}[titlepage]% + \tudbeamer@setcolor{background canvas}{parent=tud titlepage normal text \tudbeamer@outer@style}% + \tudbeamer@setcolor{normal text}{parent=tud titlepage normal text \tudbeamer@outer@style}% + \setbeamertemplate{headline}[titlepage]% + \setbeamertemplate{footline}[titlepage]% + \setbeamertemplate{sidebar left}[default]% + \setbeamertemplate{sidebar right}[default]% + \restoregeometry + \newgeometry{left=\beamer@leftmargin, + right=\beamer@rightmargin, + head=0pt,top=0pt, + headsep=0pt, + vmargin=0cm}% + \setbeamertemplate{background}[titlepage]% + \beamer@calculateheadfoot + \frame{\titlepage}% + \restoregeometry% does not work fully. + }% + \iftrue + \newgeometry{left=\beamer@leftmargin, + right=\beamer@rightmargin, + head=0pt,top=0pt, + headsep=0pt, + vmargin=0cm}% + \else + \restoregeometry + \fi + \beamer@calculateheadfoot + \fi +} + + +\long\def\partpage#1{% + \ifbeamer@inframe{% + \PackageError{outer theme TUD}{Cannot set page style.^^J + \spaces Use \string maketitle outside of any frame, please.^^J + ^^J + \spaces Die Titelseite konnte nicht konfiguriert werden.^^J + \spaces Verwenden Sie bitte \string\maketitle außerhalb von Folien. + }% + \titlepage + }% + \else + {% + \setbeamertemplate{page layout}[partpage]% + \tudbeamer@setcolor{normal text}{parent=tud titlepage normal text \tudbeamer@outer@style}% + \tudbeamer@setcolor{background canvas}{parent=tud titlepage normal text \tudbeamer@outer@style}% + \setbeamertemplate{headline}[tud header]% + \setbeamertemplate{footline}[tud pagenum]% + \setbeamertemplate{sidebar left}[default]% + \setbeamertemplate{sidebar right}[default]% + \restoregeometry + \newgeometry{left=\beamer@leftmargin, + right=\beamer@rightmargin, + head=0pt,top=0pt, + headsep=0pt, + vmargin=0cm}% + \setbeamertemplate{background}[titlepage]% + \beamer@calculateheadfoot + \frame{#1}% + \restoregeometry% does not work fully. + }% + \iftrue + \newgeometry{left=\beamer@leftmargin, + right=\beamer@rightmargin, + head=0pt,top=0pt, + headsep=0pt, + vmargin=0cm}% + \else + \restoregeometry + \fi + \beamer@calculateheadfoot + \fi +} + +\iffalse +\AtEndDocument{% + \clearpage + \beamer@tempcount=\c@page\advance\beamer@tempcount by -1% + \if@filesw + \immediate\write\@auxout{\string\@writefile{nav}% + {\noexpand\headcommand{\noexpand\beamer@partpages{\the\beamer@partstartpage}{\the\beamer@tempcount}}}}% + \immediate\write\@auxout{\string\@writefile{nav}% + {\noexpand\headcommand{\noexpand\beamer@subsectionpages{\the\beamer@subsectionstartpage}{\the\beamer@tempcount}}}}% + \immediate\write\@auxout{\string\@writefile{nav}% + {\noexpand\headcommand{\noexpand\beamer@sectionpages{\the\beamer@sectionstartpage}{\the\beamer@tempcount}}}}% + \immediate\write\@auxout{\string\@writefile{nav}% + {\noexpand\headcommand{\noexpand\beamer@documentpages{\the\beamer@tempcount}}}} + \immediate\write\@auxout{\string\@writefile{nav}% + {\noexpand\headcommand{\noexpand\def\noexpand\inserttotalframenumber{\the\c@framenumber}}}} + \addtocounter{page}{-1} + \immediate\write\@auxout{\string\@writefile{nav}% + {\noexpand\headcommand{\noexpand\def\noexpand\inserttotalpagenumber{\thepage}}}} + \newwrite\tf@nav + \immediate\openout\tf@nav\jobname.nav\relax + \newwrite\tf@toc + \immediate\openout\tf@toc\jobname.toc\relax + \newwrite\tf@snm + \immediate\openout\tf@snm\jobname.snm\relax + \fi% +} +\fi + +\mode<all> +\tudbeamersetouterstyle{\tudbeamer@outer@style} +% The following lines are not ok: +%\AtBeginDocument{\setbeamersize{sidebar width left=0pt, +% sidebar width right=0pt}}% + +%\loggingoutput +%\errorcontextlines\maxdimen diff --git a/presentation/tud-beamer-template/beamerthemetud.sty b/presentation/tud-beamer-template/beamerthemetud.sty new file mode 100644 index 0000000000000000000000000000000000000000..9476b6f62c7695f5430ce2e4026fce11fb03902c --- /dev/null +++ b/presentation/tud-beamer-template/beamerthemetud.sty @@ -0,0 +1,45 @@ +\ProvidesPackage{beamerthemetud}[2011/01/17] + + +\DeclareOptionBeamer{noeulermath}{\PassOptionsToPackage{noeulermath}{beamerfontthemetud}} +\DeclareOptionBeamer{noDIN}{\PassOptionsToPackage{noDIN}{beamerfontthemetud}} +\DeclareOptionBeamer{nodin}{\PassOptionsToPackage{nodin}{beamerfontthemetud}} +\DeclareOptionBeamer{serifmath}{\PassOptionsToPackage{serifmath}{beamerfontthemetud}} +\DeclareOptionBeamer{heavyfont}{\PassOptionsToPackage{heavyfont}{beamerfontthemetud}} +\DeclareOptionBeamer{beamerfont}{\PassOptionsToPackage{beamerfont}{beamerfontthemetud}} + +\DeclareOptionBeamer{noheader}{\PassOptionsToPackage{noheader}{beamerouterthemetud}} +\DeclareOptionBeamer{smallrightmargin}{\PassOptionsToPackage{smallrightmargin}{beamerouterthemetud}} +\DeclareOptionBeamer{pagenum}{\PassOptionsToPackage{pagenum}{beamerouterthemetud}} +\DeclareOptionBeamer{nopagenum}{\PassOptionsToPackage{nopagenum}{beamerouterthemetud}} +\DeclareOptionBeamer{section}{\PassOptionsToPackage{section}{beamerouterthemetud}} +\DeclareOptionBeamer{navbar}{\PassOptionsToPackage{navbar}{beamerouterthemetud}} +\DeclareOptionBeamer{noddc}{\PassOptionsToPackage{noddc}{beamerouterthemetud}} +\DeclareOptionBeamer{ddc}{\PassOptionsToPackage{ddc}{beamerouterthemetud}} +\DeclareOptionBeamer{ddcfooter}{\PassOptionsToPackage{ddcfooter}{beamerouterthemetud}} +\DeclareOptionBeamer{cd2012ts}{ + \PassOptionsToPackage{cd2012ts}{beamerouterthemetud} + \PassOptionsToPackage{cd2012ts}{beamerinnerthemetud} + \PassOptionsToPackage{cd2012ts}{beamerfontthemetud} + \PassOptionsToPackage{cd2012ts}{beamercolorthemetud} +} +\DeclareOptionBeamer{cd2018}{ + \PassOptionsToPackage{cd2018}{beamerouterthemetud} + \PassOptionsToPackage{cd2018}{beamerinnerthemetud} + \PassOptionsToPackage{cd2018}{beamerfontthemetud} + \PassOptionsToPackage{cd2018}{beamercolorthemetud} +} +\DeclareOptionBeamer{cd2018}{ + \PassOptionsToPackage{cd2018}{beamerouterthemetud} + \PassOptionsToPackage{cd2018}{beamerinnerthemetud} + \PassOptionsToPackage{cd2018}{beamerfontthemetud} + \PassOptionsToPackage{cd2018}{beamercolorthemetud} +} + +\ProcessOptionsBeamer + + +\usecolortheme{tud} +\usefonttheme{tud} +\useoutertheme{tud} +\useinnertheme{tud} diff --git a/presentation/tud-beamer-template/main.pdf b/presentation/tud-beamer-template/main.pdf new file mode 100644 index 0000000000000000000000000000000000000000..3281e8d5208cfdf354227d4465097ae7173d0484 Binary files /dev/null and b/presentation/tud-beamer-template/main.pdf differ diff --git a/presentation/tud-beamer-template/main.tex b/presentation/tud-beamer-template/main.tex new file mode 100644 index 0000000000000000000000000000000000000000..700ede6626db49e4a766327eed9c08af42558d41 --- /dev/null +++ b/presentation/tud-beamer-template/main.tex @@ -0,0 +1,44 @@ +\documentclass[hyperref={pdfpagelabels=false},t,10pt]{beamer} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\usepackage[T1]{fontenc} +\usepackage[default,scale=.95]{opensans} + + +\usetheme[cd2018]{tud} +\setbeamercolor{normal text}{fg=black} +\colorlet{alert}{cdblue} +\setbeamercolor{alerted text}{fg=cdblue} +\setbeamerfont{frametitle}{size=\Large,family=\sffamily,series=\sbseries} + + +\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont} +\DeclareTextFontCommand{\textsb}{\sbseries} + + +\title{Automated Testing of OpenAPI Interfaces Using Attribute Grammars} +\author[Jueun Park]{Jueun Park} +\institute{Technische Universit\"at Dresden} +\datecity{Defense Presentation} +\date{25. 11. 2021} + + +\begin{document} + +%%%% Uncomment the following line to set background image to main slide +%%%% (parameter sets transparency) +%\setbeamertemplate{tud background}[image/shaded]{background.jpg}{0.5} +\addtocounter{framenumber}{-1} +\maketitle + +\begin{frame} + \frametitle{Example Slide} + + \begin{itemize} + \item This is an example slide. + \item This is the second item on the example slide. + \end{itemize} +\end{frame} + + +\end{document} diff --git a/presentation/tud-beamer-template/sansgreek.tex b/presentation/tud-beamer-template/sansgreek.tex new file mode 100644 index 0000000000000000000000000000000000000000..e60e272d4150d6c3e38fdaf612ad55323665c195 --- /dev/null +++ b/presentation/tud-beamer-template/sansgreek.tex @@ -0,0 +1,44 @@ +\DeclareFontEncoding{LGR}{}{} +\DeclareSymbolFont{sfgreek}{LGR}{cmss}{m}{n} +\SetSymbolFont{sfgreek}{bold}{LGR}{cmss}{bx}{n} +\DeclareMathSymbol{\alpha}{\mathord}{sfgreek}{`a} +\DeclareMathSymbol{\beta}{\mathord}{sfgreek}{`b} +\DeclareMathSymbol{\gamma}{\mathord}{sfgreek}{`g} +\DeclareMathSymbol{\delta}{\mathord}{sfgreek}{`d} +\DeclareMathSymbol{\epsilon}{\mathord}{sfgreek}{`e} +\DeclareMathSymbol{\zeta}{\mathord}{sfgreek}{`z} +\DeclareMathSymbol{\eta}{\mathord}{sfgreek}{`h} +\DeclareMathSymbol{\theta}{\mathord}{sfgreek}{`j} +\DeclareMathSymbol{\iota}{\mathord}{sfgreek}{`i} +\DeclareMathSymbol{\kappa}{\mathord}{sfgreek}{`k} +\DeclareMathSymbol{\lambda}{\mathord}{sfgreek}{`l} +\DeclareMathSymbol{\mu}{\mathord}{sfgreek}{`m} +\DeclareMathSymbol{\nu}{\mathord}{sfgreek}{`n} +\DeclareMathSymbol{\xi}{\mathord}{sfgreek}{`x} +\DeclareMathSymbol{\omicron}{\mathord}{sfgreek}{`o} +\DeclareMathSymbol{\pi}{\mathord}{sfgreek}{`p} +\DeclareMathSymbol{\rho}{\mathord}{sfgreek}{`r} +\DeclareMathSymbol{\sigma}{\mathord}{sfgreek}{`s} +\DeclareMathSymbol{\tau}{\mathord}{sfgreek}{`t} +\DeclareMathSymbol{\upsilon}{\mathord}{sfgreek}{`u} +\DeclareMathSymbol{\phi}{\mathord}{sfgreek}{`f} +\DeclareMathSymbol{\chi}{\mathord}{sfgreek}{`q} +\DeclareMathSymbol{\psi}{\mathord}{sfgreek}{`y} +\DeclareMathSymbol{\omega}{\mathord}{sfgreek}{`w} +\let\varepsilon\epsilon +\let\vartheta\theta +\let\varpi\pi +\let\varrho\rho +\DeclareMathSymbol{\varsigma}{\mathord}{sfgreek}{`c} +\let\varphi\phi +\DeclareMathSymbol{\Gamma}{\mathalpha}{sfgreek}{`G} +\DeclareMathSymbol{\Delta}{\mathalpha}{sfgreek}{`D} +\DeclareMathSymbol{\Theta}{\mathalpha}{sfgreek}{`J} +\DeclareMathSymbol{\Lambda}{\mathalpha}{sfgreek}{`L} +\DeclareMathSymbol{\Xi}{\mathalpha}{sfgreek}{`X} +\DeclareMathSymbol{\Pi}{\mathalpha}{sfgreek}{`P} +\DeclareMathSymbol{\Sigma}{\mathalpha}{sfgreek}{`S} +\DeclareMathSymbol{\Upsilon}{\mathalpha}{sfgreek}{`U} +\DeclareMathSymbol{\Phi}{\mathalpha}{sfgreek}{`F} +\DeclareMathSymbol{\Psi}{\mathalpha}{sfgreek}{`Y} +\DeclareMathSymbol{\Omega}{\mathalpha}{sfgreek}{`W} diff --git a/presentation/tud-beamer-template/sbmacros.sty b/presentation/tud-beamer-template/sbmacros.sty new file mode 100644 index 0000000000000000000000000000000000000000..722342531b6b597119f37cbea40144151fccb985 --- /dev/null +++ b/presentation/tud-beamer-template/sbmacros.sty @@ -0,0 +1,411 @@ +\usepackage{xspace} +\usepackage{todonotes} +\usepackage{etoolbox} + +\providecommand{\comment}[1]{% +\GenericWarning{\relax}{LaTeX Warning: There is a comment: '#1'}% +\todo[inline]{#1}% +\xspace% +} + +\newcommand{\revcomment}[1]{% +\todo[inline,color=red]{#1}% +} + +\makeatletter +\newcommand{\ensureboldmath}[1]{{% +\ifdefstring{\protect\f@series}{bx}{% +\ensuremath{\boldsymbol{#1}}% +}{% +\ifdefstring{\f@series}{bx}{% +\ensuremath{\boldsymbol{#1}}% +}{% +\ensuremath{#1}% +}% +}% +}} +\makeatother + +\newcommand{\eg}{e.g.\ } +\newcommand{\ie}{i.e.\ } +\newcommand{\wrt}{w.r.t.\ } +\newcommand{\cf}{cf.\ } + +\def\define#1#2#3% +{% +\renewcommand*{\do}[1]{% + \expandafter\newcommand\csname + #1\endcsname{#2} +} +\docsvlist{#3} +} + +\def\definearg#1#2#3% +{% +\renewcommand*{\do}[1]{% + \expandafter\newcommand\csname + #1\endcsname[1]{#2} +} +\docsvlist{#3} +} + +% calligraphic letters +\define{#1mc} +{{\ensuremath{\mathcal{#1}}}\xspace} +{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z} + +% fraktur letters +\define{#1mf} +{{\ensuremath{\mathfrak{#1}}}\xspace} +{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z, +a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z} + +% boldface letters +\newcommand{\Abf}{\ensuremath{\mathbf{A}}\xspace} +\newcommand{\Bbf}{\ensuremath{\mathbf{B}}\xspace} +\newcommand{\Cbf}{\ensuremath{\mathbf{C}}\xspace} +\newcommand{\Dbf}{\ensuremath{\mathbf{D}}\xspace} +\newcommand{\Ebf}{\ensuremath{\mathbf{E}}\xspace} +\newcommand{\Fbf}{\ensuremath{\mathbf{F}}\xspace} +\newcommand{\Gbf}{\ensuremath{\mathbf{G}}\xspace} +\newcommand{\Hbf}{\ensuremath{\mathbf{H}}\xspace} +\newcommand{\Ibf}{\ensuremath{\mathbf{I}}\xspace} +\newcommand{\Jbf}{\ensuremath{\mathbf{J}}\xspace} +\newcommand{\Kbf}{\ensuremath{\mathbf{K}}\xspace} +\newcommand{\Lbf}{\ensuremath{\mathbf{L}}\xspace} +\newcommand{\Mbf}{\ensuremath{\mathbf{M}}\xspace} +\newcommand{\Nbf}{\ensuremath{\mathbf{N}}\xspace} +\newcommand{\Obf}{\ensuremath{\mathbf{O}}\xspace} +\newcommand{\Pbf}{\ensuremath{\mathbf{P}}\xspace} +\newcommand{\Qbf}{\ensuremath{\mathbf{Q}}\xspace} +\newcommand{\Rbf}{\ensuremath{\mathbf{R}}\xspace} +\newcommand{\Sbf}{\ensuremath{\mathbf{S}}\xspace} +\newcommand{\Tbf}{\ensuremath{\mathbf{T}}\xspace} +\newcommand{\Ubf}{\ensuremath{\mathbf{U}}\xspace} +\newcommand{\Vbf}{\ensuremath{\mathbf{V}}\xspace} +\newcommand{\Wbf}{\ensuremath{\mathbf{W}}\xspace} +\newcommand{\Xbf}{\ensuremath{\mathbf{X}}\xspace} +\newcommand{\Ybf}{\ensuremath{\mathbf{Y}}\xspace} +\newcommand{\Zbf}{\ensuremath{\mathbf{Z}}\xspace} +% small +\newcommand{\abf}{\ensuremath{\mathbf{a}}\xspace} +\newcommand{\bbf}{\ensuremath{\mathbf{b}}\xspace} +\newcommand{\cbf}{\ensuremath{\mathbf{c}}\xspace} +\newcommand{\dbf}{\ensuremath{\mathbf{d}}\xspace} +\newcommand{\ebf}{\ensuremath{\mathbf{e}}\xspace} +\newcommand{\fbf}{\ensuremath{\mathbf{f}}\xspace} +\newcommand{\gbf}{\ensuremath{\mathbf{g}}\xspace} +\newcommand{\hbf}{\ensuremath{\mathbf{h}}\xspace} +\newcommand{\ibf}{\ensuremath{\mathbf{i}}\xspace} +\newcommand{\jbf}{\ensuremath{\mathbf{j}}\xspace} +\newcommand{\kbf}{\ensuremath{\mathbf{k}}\xspace} +\newcommand{\lbf}{\ensuremath{\mathbf{l}}\xspace} +\newcommand{\mbf}{\ensuremath{\mathbf{m}}\xspace} +\newcommand{\nbf}{\ensuremath{\mathbf{n}}\xspace} +\newcommand{\obf}{\ensuremath{\mathbf{o}}\xspace} +\newcommand{\pbf}{\ensuremath{\mathbf{p}}\xspace} +\newcommand{\qbf}{\ensuremath{\mathbf{q}}\xspace} +\newcommand{\rbf}{\ensuremath{\mathbf{r}}\xspace} +\newcommand{\sbf}{\ensuremath{\mathbf{s}}\xspace} +\newcommand{\tbf}{\ensuremath{\mathbf{t}}\xspace} +\newcommand{\ubf}{\ensuremath{\mathbf{u}}\xspace} +\newcommand{\vbf}{\ensuremath{\mathbf{v}}\xspace} +\newcommand{\wbf}{\ensuremath{\mathbf{w}}\xspace} +\newcommand{\xbf}{\ensuremath{\mathbf{x}}\xspace} +\newcommand{\ybf}{\ensuremath{\mathbf{y}}\xspace} +\newcommand{\zbf}{\ensuremath{\mathbf{z}}\xspace} + +% sans serif letters +\newcommand{\Asf}{\ensuremath{\mathsf{A}}\xspace} +\newcommand{\Bsf}{\ensuremath{\mathsf{B}}\xspace} +\newcommand{\Csf}{\ensuremath{\mathsf{C}}\xspace} +\newcommand{\Dsf}{\ensuremath{\mathsf{D}}\xspace} +\newcommand{\Esf}{\ensuremath{\mathsf{E}}\xspace} +\newcommand{\Fsf}{\ensuremath{\mathsf{F}}\xspace} +\newcommand{\Gsf}{\ensuremath{\mathsf{G}}\xspace} +\newcommand{\Hsf}{\ensuremath{\mathsf{H}}\xspace} +\newcommand{\Isf}{\ensuremath{\mathsf{I}}\xspace} +\newcommand{\Jsf}{\ensuremath{\mathsf{J}}\xspace} +\newcommand{\Ksf}{\ensuremath{\mathsf{K}}\xspace} +\newcommand{\Lsf}{\ensuremath{\mathsf{L}}\xspace} +\newcommand{\Msf}{\ensuremath{\mathsf{M}}\xspace} +\newcommand{\Nsf}{\ensuremath{\mathsf{N}}\xspace} +\newcommand{\Osf}{\ensuremath{\mathsf{O}}\xspace} +\newcommand{\Psf}{\ensuremath{\mathsf{P}}\xspace} +\newcommand{\Qsf}{\ensuremath{\mathsf{Q}}\xspace} +\newcommand{\Rsf}{\ensuremath{\mathsf{R}}\xspace} +\newcommand{\Ssf}{\ensuremath{\mathsf{S}}\xspace} +\newcommand{\Tsf}{\ensuremath{\mathsf{T}}\xspace} +\newcommand{\Usf}{\ensuremath{\mathsf{U}}\xspace} +\newcommand{\Vsf}{\ensuremath{\mathsf{V}}\xspace} +\newcommand{\Wsf}{\ensuremath{\mathsf{W}}\xspace} +\newcommand{\Xsf}{\ensuremath{\mathsf{X}}\xspace} +\newcommand{\Ysf}{\ensuremath{\mathsf{Y}}\xspace} +\newcommand{\Zsf}{\ensuremath{\mathsf{Z}}\xspace} +% small +\newcommand{\asf}{\ensuremath{\mathsf{a}}\xspace} +\providecommand{\bsf}{\ensuremath{\mathsf{b}}\xspace} +\newcommand{\csf}{\ensuremath{\mathsf{c}}\xspace} +\newcommand{\dsf}{\ensuremath{\mathsf{d}}\xspace} +\newcommand{\esf}{\ensuremath{\mathsf{e}}\xspace} +\newcommand{\fsf}{\ensuremath{\mathsf{f}}\xspace} +\newcommand{\gsf}{\ensuremath{\mathsf{g}}\xspace} +\newcommand{\hsf}{\ensuremath{\mathsf{h}}\xspace} +\newcommand{\isf}{\ensuremath{\mathsf{i}}\xspace} +\newcommand{\jsf}{\ensuremath{\mathsf{j}}\xspace} +\newcommand{\ksf}{\ensuremath{\mathsf{k}}\xspace} +\newcommand{\lsf}{\ensuremath{\mathsf{l}}\xspace} +\newcommand{\msf}{\ensuremath{\mathsf{m}}\xspace} +\newcommand{\nsf}{\ensuremath{\mathsf{n}}\xspace} +\newcommand{\osf}{\ensuremath{\mathsf{o}}\xspace} +\newcommand{\psf}{\ensuremath{\mathsf{p}}\xspace} +\newcommand{\qsf}{\ensuremath{\mathsf{q}}\xspace} +\newcommand{\rsf}{\ensuremath{\mathsf{r}}\xspace} +\newcommand{\ssf}{\ensuremath{\mathsf{s}}\xspace} +\newcommand{\tsf}{\ensuremath{\mathsf{t}}\xspace} +\newcommand{\usf}{\ensuremath{\mathsf{u}}\xspace} +\newcommand{\vsf}{\ensuremath{\mathsf{v}}\xspace} +\newcommand{\wsf}{\ensuremath{\mathsf{w}}\xspace} +\newcommand{\xsf}{\ensuremath{\mathsf{x}}\xspace} +\newcommand{\ysf}{\ensuremath{\mathsf{y}}\xspace} +\newcommand{\zsf}{\ensuremath{\mathsf{z}}\xspace} + +% mathbb letters +\newcommand{\Abb}{\ensuremath{\mathbb{A}}\xspace} +\providecommand{\Bbb}{\ensuremath{\mathbb{B}}\xspace} +\newcommand{\Cbb}{\ensuremath{\mathbb{C}}\xspace} +\newcommand{\Dbb}{\ensuremath{\mathbb{D}}\xspace} +\newcommand{\Ebb}{\ensuremath{\mathbb{E}}\xspace} +\newcommand{\Fbb}{\ensuremath{\mathbb{F}}\xspace} +\newcommand{\Gbb}{\ensuremath{\mathbb{G}}\xspace} +\newcommand{\Hbb}{\ensuremath{\mathbb{H}}\xspace} +\newcommand{\Ibb}{\ensuremath{\mathbb{I}}\xspace} +\newcommand{\Jbb}{\ensuremath{\mathbb{J}}\xspace} +\newcommand{\Kbb}{\ensuremath{\mathbb{K}}\xspace} +\newcommand{\Lbb}{\ensuremath{\mathbb{L}}\xspace} +\newcommand{\Mbb}{\ensuremath{\mathbb{M}}\xspace} +\newcommand{\Nbb}{\ensuremath{\mathbb{N}}\xspace} +\newcommand{\Obb}{\ensuremath{\mathbb{O}}\xspace} +\newcommand{\Pbb}{\ensuremath{\mathbb{P}}\xspace} +\newcommand{\Qbb}{\ensuremath{\mathbb{Q}}\xspace} +\newcommand{\Rbb}{\ensuremath{\mathbb{R}}\xspace} +\newcommand{\Sbb}{\ensuremath{\mathbb{S}}\xspace} +\newcommand{\Tbb}{\ensuremath{\mathbb{T}}\xspace} +\newcommand{\Ubb}{\ensuremath{\mathbb{U}}\xspace} +\newcommand{\Vbb}{\ensuremath{\mathbb{V}}\xspace} +\newcommand{\Wbb}{\ensuremath{\mathbb{W}}\xspace} +\newcommand{\Xbb}{\ensuremath{\mathbb{X}}\xspace} +\newcommand{\Ybb}{\ensuremath{\mathbb{Y}}\xspace} +\newcommand{\Zbb}{\ensuremath{\mathbb{Z}}\xspace} + +\renewcommand{\epsilon}{\varepsilon} +\newcommand{\eps}{\epsilon} +\renewcommand{\phi}{\varphi} +\renewcommand{\rho}{\varrho} +\newcommand{\ch}{\ensuremath{\checkmark}} + +% complexity classes +\newcommand{\ACzero}{\ensuremath{\textsc{AC}^0}\xspace} +\newcommand{\NCone}{\ensuremath{\textsc{NC}^1}\xspace} +\newcommand{\ALogTime}{\ensuremath{\textsc{ALogTime}}\xspace} +\newcommand{\LogSpace}{\ensuremath{\textsc{LogSpace}}\xspace} +\newcommand{\PTime}{\textsc{P}\xspace} +\newcommand{\NP}{\textsc{NP}\xspace} +\newcommand{\coNP}{\textsc{co-NP}\xspace} +\newcommand{\PSpace}{\textsc{PSpace}\xspace} +\newcommand{\NPSpace}{\textsc{NPSpace}\xspace} +\newcommand{\ExpTime}{\textsc{ExpTime}\xspace} +\newcommand{\NExpTime}{\textsc{NExpTime}\xspace} +\newcommand{\coNExpTime}{\textsc{co-NExpTime}\xspace} +\newcommand{\ExpSpace}{\textsc{ExpSpace}\xspace} +\newcommand{\TwoExpTime}{\textsc{2-ExpTime}\xspace} +\newcommand{\TwoNExpTime}{\textsc{2-NExpTime}\xspace} +\newcommand{\coTwoNExpTime}{\textsc{co-2-NExpTime}\xspace} +\newcommand{\TwoExpSpace}{\textsc{2-ExpSpace}\xspace} +\newcommand{\ThreeExpTime}{\textsc{3-ExpTime}\xspace} + +% DLs +\newcommand{\kLU}{\kern+0.015em} +\newcommand{\kLC}{\kern-0.02em} +\newcommand{\kIE}{\kern-0.11em} +\newcommand{\kIA}{\kern-0.14em} +\newcommand{\kIS}{\kern-0.095em} +\newcommand{\kIN}{\kern-0.06em} +\newcommand{\kHI}{\kern-0.015em} +\newcommand{\kHO}{\kern-0.1em} +\newcommand{\kOI}{\kern-0.03em} +\newcommand{\kCH}{\kern-0.08em} +\newcommand{\kUH}{\kern-0.08em} +\newcommand{\kCI}{\kern-0.08em} +\newcommand{\kCO}{\kern-0.12em} +\newcommand{\kIQ}{\kern-0.18em} +\newcommand{\kOQ}{\kern-0.15em} +\newcommand{\kSO}{\kern-0.12em} +\newcommand{\kRO}{\kern-0.05em} +\newcommand{\kSR}{\kern-0.05em} +\newcommand{\kRI}{\kern-0.02em} +\newcommand{\DLLite}{\textit{DL-Lite}\xspace} +\newcommand{\FL}{\ensuremath{\Fmc\kern-0.28em \Lmc}\xspace} +\newcommand{\FLz}{\ensuremath{\FL_0}\xspace} +\newcommand{\EL}{\ensuremath{\Emc\kern-0.22em \Lmc}\xspace} +\newcommand{\ELp}{\ensuremath{\EL^+}\xspace} +\newcommand{\ELpp}{\ensuremath{\EL^{++}}\xspace} +\newcommand{\NEL}{\ensuremath{\Nmf\EL}\xspace} +\newcommand{\IEL}{\ensuremath{\Imf\kIE\EL}\xspace} +\newcommand{\IELC}{\ensuremath{\Imf\kIE\EL\kLC\Cmc}\xspace} +\newcommand{\ELU}{\ensuremath{\EL\kLU\Umc}\xspace} +\newcommand{\IELU}{\ensuremath{\Imf\kIE\ELU}\xspace} +\newcommand{\ELC}{\ensuremath{\EL\kLC\Cmc}\xspace} +\newcommand{\CU}{\ensuremath{\Cmc\kern-0.03em \Umc}\xspace} +\newcommand{\ELCU}{\ensuremath{\EL\kLC\CU}\xspace} +\newcommand{\AL}{\ensuremath{\Amc\kern-0.02em \Lmc}\xspace} +\newcommand{\NAL}{\ensuremath{\Nmf\AL}\xspace} +\newcommand{\IAL}{\ensuremath{\Imf\kIA\AL}\xspace} +\newcommand{\ALU}{\ensuremath{\AL\kLU\Umc}\xspace} +\newcommand{\ALC}{\ensuremath{\AL\kLC\Cmc}\xspace} +\newcommand{\ALCH}{\ensuremath{\ALC\kCH\Hmc}\xspace} +\newcommand{\ALCI}{\ensuremath{\ALC\kCI\Imc}\xspace} +\newcommand{\ALCO}{\ensuremath{\ALC\kCO\Omc}\xspace} +\newcommand{\ALCN}{\ensuremath{\ALC\kern-0.1em \Nmc}\xspace} +\newcommand{\ALCQ}{\ensuremath{\ALC\kern-0.16em \Qmc}\xspace} +\newcommand{\ALCHI}{\ensuremath{\ALCH\kHI\Imc}\xspace} +\newcommand{\ALCHO}{\ensuremath{\ALCH\kHO\Omc}\xspace} +\newcommand{\ALCOI}{\ensuremath{\ALCO\kOI\Imc}\xspace} +\newcommand{\ALCHOI}{\ensuremath{\ALCH\kHO\OI}\xspace} +\newcommand{\IALC}{\ensuremath{\Imf\kIA\ALC}\xspace} +\newcommand{\IALU}{\ensuremath{\Imf\kIA\ALU}\xspace} +\newcommand{\IALUHO}{\ensuremath{\Imf\kIA\ALU\kUH\Hmc\kHO\Omc}\xspace} +\newcommand{\IALUHI}{\ensuremath{\Imf\kIA\ALU\kUH\Hmc\kHI\Imc}\xspace} +\newcommand{\IALCHI}{\ensuremath{\Imf\kIA\ALCHI}\xspace} +\newcommand{\IALCHO}{\ensuremath{\Imf\kIA\ALCHO}\xspace} +\newcommand{\ALCIQ}{\ensuremath{\ALCI\kIQ\Qmc}\xspace} +\newcommand{\ALCOQ}{\ensuremath{\ALCO\kOQ\Qmc}\xspace} +\newcommand{\ALCOIF}{\ensuremath{\ALCO\kOI\Imc\kern-0.06em \Fmc}\xspace} +\newcommand{\ALCOIQ}{\ensuremath{\ALCO\kOI\Imc\kIQ\Qmc}\xspace} +\newcommand{\ALCHOQ}{\ensuremath{\ALCHO\kOQ\Qmc}\xspace} +\newcommand{\ALCHOIQ}{\ensuremath{\ALCHOI\kIQ\Qmc}\xspace} +\providecommand{\SI}{\ensuremath{\Smc\kern-0.05em \Imc}\xspace} +\newcommand{\SH}{\ensuremath{\Smc\kern-0.06em \Hmc}\xspace} +\newcommand{\SO}{\ensuremath{\Smc\kSO\Omc}\xspace} +\newcommand{\SOI}{\ensuremath{\Smc\kSO\OI}\xspace} +\newcommand{\SOQ}{\ensuremath{\SO\kOQ\Qmc}\xspace} +\newcommand{\SC}{\ensuremath{\Smc\kern-0.08em \Cmc}\xspace} +\newcommand{\SCH}{\ensuremath{\SC\kCH\Hmc}\xspace} +\newcommand{\SCI}{\ensuremath{\SC\kCI\Imc}\xspace} +\newcommand{\SCO}{\ensuremath{\SC\kCO\Omc}\xspace} +\newcommand{\SCHI}{\ensuremath{\SCH\kHI\Imc}\xspace} +\newcommand{\SCHO}{\ensuremath{\SCH\kHO\Omc}\xspace} +\newcommand{\IS}{\ensuremath{\Imf\kIS\Smc}\xspace} +\newcommand{\ISI}{\ensuremath{\Imf\kIS\SI}\xspace} +\newcommand{\ISC}{\ensuremath{\Imf\kIS\SC}\xspace} +\newcommand{\ISU}{\ensuremath{\Imf\kIS\Smc\Umc}\xspace} +\newcommand{\OI}{\ensuremath{\Omc\kOI\Imc}\xspace} +\newcommand{\OIN}{\ensuremath{\OI\kIN\Nmc}\xspace} +\newcommand{\OIQ}{\ensuremath{\OI\kIQ\Qmc}\xspace} +\newcommand{\ISCH}{\ensuremath{\Imf\kIS\SCH}\xspace} +\newcommand{\ISCI}{\ensuremath{\Imf\kIS\SCI}\xspace} +\newcommand{\ISCO}{\ensuremath{\Imf\kIS\SCO}\xspace} +\newcommand{\SHI}{\ensuremath{\SH\kHI\Imc}\xspace} +\newcommand{\ISHI}{\ensuremath{\Imf\kIS\SHI}\xspace} +\newcommand{\ISCHI}{\ensuremath{\Imf\kIS\SCHI}\xspace} +\newcommand{\SHIN}{\ensuremath{\SHI\kIN\Nmc}\xspace} +\newcommand{\SHIQ}{\ensuremath{\SHI\kIQ\Qmc}\xspace} +\newcommand{\SHO}{\ensuremath{\SH\kHO\Omc}\xspace} +\newcommand{\SHQ}{\ensuremath{\SH\kern-0.18em \Qmc}\xspace} +\newcommand{\SHOQ}{\ensuremath{\SHO\kOQ\Qmc}\xspace} +\newcommand{\ISHO}{\ensuremath{\Imf\kIS\SHO}\xspace} +\newcommand{\ISCHO}{\ensuremath{\Imf\kIS\SCHO}\xspace} +\newcommand{\SHOI}{\ensuremath{\SH\kHO\OI}\xspace} +\newcommand{\SHOIN}{\ensuremath{\SH\kHO\OIN}\xspace} +\newcommand{\SCHIN}{\ensuremath{\SCH\kHI\Imc\kIN\Nmc}\xspace} +\newcommand{\SCHOIN}{\ensuremath{\SCH\kHO\OIN}\xspace} +\newcommand{\SCHOIQ}{\ensuremath{\SCH\kHO\OIQ}\xspace} +\newcommand{\ISHOI}{\ensuremath{\Imf\kIS\SHOI}\xspace} +\newcommand{\ISUI}{\ensuremath{\ISU\kern-0.06em \Imc}\xspace} +\newcommand{\ISUO}{\ensuremath{\ISU\kern-0.14em \Omc}\xspace} +\newcommand{\ISUHO}{\ensuremath{\ISU\kUH\Hmc\kHO\Omc}\xspace} +\newcommand{\ISUHOI}{\ensuremath{\ISU\kUH\Hmc\kHO\OI}\xspace} +\newcommand{\ISCHOI}{\ensuremath{\ISCH\kHO\OI}\xspace} +\newcommand{\SHOIQ}{\ensuremath{\SH\kHO\OIQ}\xspace} +\newcommand{\RO}{\ensuremath{\Rmc\kRO\Omc}\xspace} +\newcommand{\ROI}{\ensuremath{\RO\kOI\Imc}\xspace} +\newcommand{\ROIQ}{\ensuremath{\Rmc\kRO\OIQ}\xspace} +\newcommand{\ROQ}{\ensuremath{\RO\kOQ\Qmc}\xspace} +\newcommand{\RIQ}{\ensuremath{\Rmc\kRI\Imc\kIQ\Qmc}\xspace} +\newcommand{\SROIQ}{\ensuremath{\Smc\kSR\ROIQ}\xspace} +\newcommand{\SROI}{\ensuremath{\Smc\kSR\ROI}\xspace} +\newcommand{\SRIQ}{\ensuremath{\Smc\kSR\RIQ}\xspace} +\newcommand{\SROQ}{\ensuremath{\Smc\kSR\ROQ}\xspace} +\newcommand{\SCROIQ}{\ensuremath{\SC\kern-0.08em \ROIQ}\xspace} +\newcommand{\ISCROIQ}{\ensuremath{\ISC\kern-0.08em \ROIQ}\xspace} + +% DL stuff +\newcommand{\NC}{\ensuremath{\mathsf{N_C}}\xspace} +\newcommand{\NRC}{\ensuremath{\mathsf{N_{RC}}}\xspace} +\newcommand{\NR}{\ensuremath{\mathsf{N_R}}\xspace} +\newcommand{\NRR}{\ensuremath{\mathsf{N_{RR}}}\xspace} +\newcommand{\NRM}{\ensuremath{\mathsf{N_R^-}}\xspace} +\newcommand{\NI}{\ensuremath{\mathsf{N_I}}\xspace} +\newcommand{\axiom}[1]{\ensuremath{\langle #1\rangle}\xspace} +\newcommand{\assert}[2]{\ensuremath{#1\hspace{0.08em}{:}\hspace{0.05em}#2}\xspace} +\newcommand{\sR}{\ensuremath{\sqsubseteq_\Rmc}\xspace} +\newcommand{\trans}{\ensuremath{\mathsf{trans}}\xspace} +\newcommand{\inv}[1]{\ensuremath{\overline{#1}}\xspace} +\newcommand{\tr}{\mathrel{\triangleright}} +\newcommand{\sub}{\ensuremath{\mathsf{sub}}\xspace} +\newcommand{\rol}{\ensuremath{\mathsf{rol}}\xspace} +\newcommand{\rd}{\ensuremath{\mathsf{rd}}\xspace} +\newcommand{\atLeast}[3]{\ensuremath{{\ge}#1\,#2.#3}\xspace} +\newcommand{\atMost}[3]{\ensuremath{{\le}#1\,#2.#3}\xspace} + +% t-norms and related operators +\newcommand{\norm}{\ensuremath{\otimes}\xspace} +\newcommand{\Go}{\ensuremath{\mathsf{G}}\xspace} +\newcommand{\Lu}{\ensuremath{\textup{\textsf{\L}}}\xspace} +\renewcommand{\Pr}{\ensuremath{\mathsf{\Pi}}\xspace} +\newcommand{\Za}{\ensuremath{\mathsf{Z}}\xspace} +\newcommand{\ra}{\ensuremath{\Rightarrow}\xspace} +\newcommand{\rneg}{{\ensuremath{\ominus}}\xspace} +\newcommand{\conorm}{\ensuremath{\oplus}\xspace} +\newcommand{\dneg}{{\ensuremath{\sim}}\xspace} +\newcommand{\cneg}{\ensuremath{\boxminus}\xspace} +\newcommand{\KD}{\ensuremath{\Rightarrow_{\mathsf{KD}}}\xspace} + +% lattices +\newcommand{\zer}{\ensuremath{\mathbf{0}}\xspace} +\newcommand{\one}{\ensuremath{\mathbf{1}}\xspace} +\newcommand{\bigland}{\bigwedge} +\newcommand{\biglor}{\bigvee} +\newcommand{\two}{\ensuremath{\mathbf{2}}\xspace} +\newcommand{\four}{\ensuremath{\mathbf{4}}\xspace} + +% fuzzy DLs +\newcommand{\fuzz}[1]{\ensureboldmath{\otimes\text{-}#1}\xspace} +\newcommand{\latt}[1]{\ensureboldmath{L\text{-}#1}\xspace} +\newcommand{\Zade}[1]{\ensureboldmath{\Za\text{-}#1}\xspace} +\newcommand{\Goed}[1]{\ensureboldmath{\Go\text{-}#1}\xspace} +\newcommand{\Gn}[1]{\ensureboldmath{\Go_n\text{-}#1}\xspace} +\newcommand{\Luk}[1]{\ensureboldmath{\Lu\text{-}#1}\xspace} +\newcommand{\Ln}[1]{\ensureboldmath{\Lu_n\text{-}#1}\xspace} +\newcommand{\Lzb}[1]{\ensureboldmath{\Lu^{(0,b)}\text{-}#1}\xspace} +\newcommand{\nLzb}[1]{\ensureboldmath{\overline{\Lu^{(0,b)}}\text{-}#1}\xspace} +\newcommand{\Lab}[1]{\ensureboldmath{\Lu^{(a,b)}\text{-}#1}\xspace} +\newcommand{\nLab}[1]{\ensureboldmath{\overline{\Lu^{(a,b)}}\text{-}#1}\xspace} +\newcommand{\Prod}[1]{\ensureboldmath{\Pr\text{-}#1}\xspace} +\newcommand{\Pzb}[1]{\ensureboldmath{\Pr^{(0,b)}\text{-}#1}\xspace} +\newcommand{\nPzb}[1]{\ensureboldmath{\overline{\Pr^{(0,b)}}\text{-}#1}\xspace} +\newcommand{\Pab}[1]{\ensureboldmath{\Pr^{(a,b)}\text{-}#1}\xspace} +\newcommand{\nPab}[1]{\ensureboldmath{\overline{\Pr^{(a,b)}}\text{-}#1}\xspace} + +% temporal operators +\newcommand{\Next}{\ensuremath{{\ocircle}}\xspace} +\newcommand{\Previous}{\ensuremath{\Next^-}\xspace} +\DeclareMathOperator*{\Since}{\mathsf{S}} +\DeclareMathOperator*{\Until}{\mathsf{U}} +\newcommand{\Diamondm}{\ensuremath{\Diamond^-}\xspace} +\newcommand{\Boxm}{\ensuremath{\Box^-}\xspace} +\newcommand{\first}{\ensuremath{\mathsf{first}}\xspace} +\newcommand{\last}{\ensuremath{\mathsf{last}}\xspace} + +% temporal stuff +\newcommand{\pa}[1]{\ensuremath{#1^\mathsf{p}}\xspace} diff --git a/presentation/tud-beamer-template/tudbeamermacros.sty b/presentation/tud-beamer-template/tudbeamermacros.sty new file mode 100644 index 0000000000000000000000000000000000000000..0443c8967000ef9570e4100da99ff9e413688cf6 --- /dev/null +++ b/presentation/tud-beamer-template/tudbeamermacros.sty @@ -0,0 +1,221 @@ +\ProvidesPackage{tudbeamermacros}[2018/01/10 v1.0 common macros for the beamer styles of TU Dresden] + +\newcommand*\tudbeamer@savesizes[1]{% + \edef#1{% + \noexpand\tudbeamer@logowidth\the\tudbeamer@logowidth\relax + \noexpand\tudbeamer@logoleftmargin\the\tudbeamer@logoleftmargin\relax + \noexpand\tudbeamer@logotopmargin\the\tudbeamer@logotopmargin\relax + }% +} + +\newcommand*\tudsavebeamertemplate[2]{% + \expandafter\let\expandafter#2\csname beamer@@tmpl@#1\endcsname +} + +\newcommand*\tudrestorebeamertemplate[2]{% + \expandafter\let\csname beamer@@tmpl@#1\endcsname#2 +} + +\providecommand\tudsavebeamercolor[2]{ + \expandafter\let\expandafter\@tempa\csname beamer@thcuse@#1\endcsname% + \expandafter\let\csname tud@color@#2@thcuse@#1\endcsname\@tempa + \expandafter\let\expandafter\@tempa\csname beamer@thcinherits@#1\endcsname% + \expandafter\let\csname tud@color@#2@thcinherits@#1\endcsname\@tempa + \expandafter\let\expandafter\@tempa\csname beamer@thcfg@#1\endcsname% + \expandafter\let\csname tud@color@#2@thcfg@#1\endcsname\@tempa + \expandafter\let\expandafter\@tempa\csname beamer@thcbg@#1\endcsname% + \expandafter\let\csname tud@color@#2@thcbg@#1\endcsname\@tempa +} + +\providecommand\tudrestorebeamercolor[2]{ + \expandafter\let\expandafter\@tempa\csname tud@color@#2@thcuse@#1\endcsname% + \expandafter\let\csname beamer@thcuse@#1\endcsname\@tempa + \expandafter\let\expandafter\@tempa\csname tud@color@#2@thcinherits@#1\endcsname% + \expandafter\let\csname beamer@thcinherits@#1\endcsname\@tempa + \expandafter\let\expandafter\@tempa\csname tud@color@#2@thcfg@#1\endcsname% + \expandafter\let\csname beamer@thcfg@#1\endcsname\@tempa + \expandafter\let\expandafter\@tempa\csname tud@color@#2@thcbg@#1\endcsname% + \expandafter\let\csname beamer@thcbg@#1\endcsname\@tempa +} + + +\providecommand*\tudbeamer@def[1]{% + \expandafter\newcommand\expandafter*% + \csname tudbeamer@#1\endcsname% +} + + + +\newcommand*\@einrichtung{} +\newcommand*\@fachrichtung{} +\newcommand*\@institut{} +\newcommand*\@professur{} + +\newcommand*{\einrichtung}[1]{\renewcommand*{\@einrichtung}{#1}} +\newcommand*{\fachrichtung}[1]{\renewcommand*{\@fachrichtung}{#1}} +\newcommand*{\institut}[1]{\renewcommand*{\@institut}{#1}} +\newcommand*{\professur}[1]{\renewcommand*{\@professur}{#1}} + +\newcommand*{\datecity}[1]{\renewcommand*{\insertdatecity}{#1}} + + +\newlength\tudbeamerlogotopmargin +\newlength\tudbeamerlogoleftmargin +\newlength\tudbeamerlogowidth +\newlength\tudbeamerlogoheight +\newlength\tudbeamerfooterplacewidth +\newlength\tudbeamerfootercontentwidth +\newlength\tudbeamerfooterpagenumwidth% Layout width +\newlength\tudbeamer@footerpagenumwidth% measurement of page number width +\newlength\tudbeamerbackgroundheight +\newlength\tudbeamerbackgroundwidth + +\setlength\tudbeamer@footerpagenumwidth{0pt} + + +% frame title +\gdef\frame@title@section{} +\def\frametitle{\secdef\tud@frametitlea\tud@frametitles} +\newcommand<>\tud@frametitlea{\gdef\frame@title@section{\ifnum\c@section>9\else 0\fi\arabic{section}\,\,}\alt#1{\@dblarg\beamer@@frametitle}{\beamer@gobbleoptional}} +\newcommand<>\tud@frametitles{\gdef\frame@title@section{}\alt#1{\@dblarg\beamer@@frametitle}{\beamer@gobbleoptional}} + +\def\printpagelayout{% + \typeout{paper: \the\paperwidth\space x \the\paperheight\space ^^J + text: \the\textwidth\space x \the\textheight^^J + margins: \the\evensidemargin, \the\oddsidemargin^^J + top: \the\topmargin, \the\topskip^^J + head: \the\headheight, \the\headsep^^J + foot: \the\footskip,^^J + baseline: \the\baselineskip,^^J + marginpar: \the\marginparwidth, \the\marginparsep^^J + cols: \the\columnsep, \the\hoffset, \the\voffset^^J + geometry: \the\Gm@layoutwidth\space x \the\Gm@layoutheight\space + + \the\Gm@layouthoffset\space + \the\Gm@layoutvoffset^^J}% + \typeout{\if@twocolumn 2col \else 1col \fi}% + \typeout{\if@twoside 2side \else 1side \fi}% + \typeout{\if@mparswitch mpar \else no mpar \fi}% + \typeout{\if@reversemargin reverse margin \else margin \fi}% + \typeout{col: ht \the\@colht room \the\@colroom^^J + size: \the\hsize x \the\vsize^^J + colwidth: \the\columnwidth^^J + linewidth: \the\linewidth ^^J + }% + \typeout{bindekorrektur: \the\Gm@bindingoffset^^J + wd mp: \the\Gm@wd@mp + odd mp: \the\Gm@odd@mp + even mp: \the\Gm@even@mp + }% +} + +\def\tudbeamer@save@length#1{% + \noexpand\setlength#1{\the#1}% +} + +\newcommand\tudbeamer@savelayout[1]{% + \savegeometry{#1}% + \expandafter\edef\csname tudbeamer@savedlayout@#1\endcsname{% + \tudbeamer@save@length\@colht + \tudbeamer@save@length\@colroom + \tudbeamer@save@length\hsize + \tudbeamer@save@length\vsize + \tudbeamer@save@length\columnwidth + \tudbeamer@save@length\linewidth + %\tudbeamer@save@length\Gm@lmargin + %\tudbeamer@save@length\Gm@rmargin + }% +} +\newcommand\tudbeamer@loadlayout[1]{% + \loadgeometry{#1}% + \csname tudbeamer@savedlayout@#1\endcsname +} + +\newcommand\tudbeamermakefooterbox[2]{% + \vbox to \tudbeamerlogoheight{% + \hsize=#1\relax + \setbox\@tempboxa\vbox{% + \hsize=#1\relax + \lineskip=0pt + \lineskiplimit 0pt + \centering + \strut + #2\relax + \strut\\% + \ifdim\vsize > 2.1\baselineskip + \vsize=3\baselineskip + \fi + }% + \setlength\@tempdima{0.4\tudbeamerlogoheight}% + \setlength\@tempdimb{\ht\@tempboxa}% + \ifdim\@tempdimb>\@tempdima + \usebox\@tempboxa + \else + \vfill + \usebox\@tempboxa + \vfill + \fi + \vss + }% +} + +\def\framenumberbox#1{% + \hphantom{\insertpresentationendframe}\llap{#1}% +} +\def\pagenumberbox#1{% + \hphantom{\insertpresentationendframe}\llap{#1}% +} + +\newcommand\tudbeamersetpagenumberwidths[2]{% + \def\insertpresentationendframe{#1}% + \def\insertpresentationendpage{#2}% +} + +\newcommand{\tudbeamer@appendixstart}{% + \edef\insertpresentationendframe{\insertframenumber}% + \edef\insertpresentationendpage{\insertpagenumber}% + \immediate\write\@auxout{\string\@writefile{nav}% + {% + \noexpand\headcommand{% + \noexpand\tudbeamersetpagenumberwidths{\insertpresentationendframe}% + {\insertpresentationendpage}% + }% + }% + }% + \immediate\write\@auxout{% + \noexpand\def\noexpand\settudbeamerfooterpagenumwidth{% + \noexpand\setlength\noexpand\tudbeamerfooterpagenumwidth{\the\tudbeamer@footerpagenumwidth}% + }% + } + \let\tudbeamer@enddocument\relax + \let\settudbeamerfooterpagenumwidth\settudbeamerfooterpagenumendwidth + \settudbeamerfooterpagenumwidth +} + +\newcommand\settudbeamerfooterpagenumwidth{ + \setlength\tudbeamerfooterpagenumwidth{2em}% +} +\let\settudbeamerfooterpagenumendwidth\settudbeamerfooterpagenumwidth +\providecommand{\framenumberbox}[1]{\hbox{#1}} +\providecommand{\pagenumberbox}[1]{\hbox{#1}} +\providecommand{\insertpresentationendframe}{??} +\providecommand{\insertpresentationendpage}{??} +\providecommand*{\insertdatecity}{Dresden} +\providecommand*\inserttotalpagenumber{??} +\providecommand*\inserttotalframenumber{??} +\let\tudbeamer@origappendix\appendix +\def\appendix{% + \tudbeamer@appendixstart + \tudbeamer@origappendix +} + +\newcommand{\tudbeamer@enddocument}{\tudbeamer@appendixstart} +\AtEndDocument{ + \immediate\write\@auxout{% + \noexpand\def\noexpand\settudbeamerfooterpagenumendwidth{% + \noexpand\setlength\noexpand\tudbeamerfooterpagenumwidth{\the\tudbeamer@footerpagenumwidth}% + }% + } + \immediate\write\@auxout{% + \noexpand\global\noexpand\def\noexpand\inserttotalpagenumber{\insertpagenumber}% + } + \tudbeamer@enddocument +} diff --git a/presentation/tud-beamer-template/tudcolors.sty b/presentation/tud-beamer-template/tudcolors.sty new file mode 100644 index 0000000000000000000000000000000000000000..fb3a7b9fc47f187a18680bb6973510a23565a115 --- /dev/null +++ b/presentation/tud-beamer-template/tudcolors.sty @@ -0,0 +1,322 @@ +%% LaTeX-Paket für die TUD-Farben +%% +%% Tobias Schlemmer (tobias.schlemmer@mailbox.tu-dresden.de) +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tudcolors}[2012/02/05 v2.0.1 TU Dresden CD-Farben Tobias.Schlemmer@mailbox.tu-dresden.de] +\def\tudcolorscheme#1{% + \edef\tudcolor@scheme{#1}% +} +\def\tudcolormodel#1{% + \edef\tudcolor@model{#1}% +} +\DeclareOption{rgb}{% + \PassOptionsToPackage{\CurrentOption}{xcolor}% + \tudcolormodel{\CurrentOption}% +} +\DeclareOption{cmyk}{% + \PassOptionsToPackage{\CurrentOption}{xcolor}% + \tudcolormodel{\CurrentOption}% +} +\DeclareOption{RGB}{% + \PassOptionsToPackage{\CurrentOption}{xcolor}% + \tudcolormodel{\CurrentOption}% +} +\DeclareOption{HTML}{% + \PassOptionsToPackage{\CurrentOption}{xcolor}% + \tudcolormodel{\CurrentOption}% +} +\DeclareOption{cd2018}{\tudcolorscheme{\CurrentOption}} +\DeclareOption{cd2012ts}{\tudcolorscheme{\CurrentOption}} +\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{xcolor}} +\ProcessOptions\relax +\@ifundefined{tudcolor@model}{% + \PassOptionsToPackage{natural}{xcolor}% +}{} +\RequirePackage{xcolor} +\@ifundefined{tudcolor@model}{}{% + \selectcolormodel{\tudcolor@model}% +} + +\@ifundefined{tudcolor@scheme}{% + \def\tudcolor@scheme{cd2018}% +}{} +\def\tudcolors@define@scheme#1{% + \expandafter\def\csname tudcolors@scheme@#1\endcsname% +} + +\def\tudcolorselect{% + \expandafter\csname tudcolors@scheme@\tudcolor@scheme\endcsname% +} + +\def\tudcolor@defineshape#1#2{ + \colorlet{#1 #2}{#1!#2} +} + +\def\tudcolors@expand#1{% + \tudcolor@defineshape{#1}{100} + \tudcolor@defineshape{#1}{90} + \tudcolor@defineshape{#1}{80} + \tudcolor@defineshape{#1}{70} + \tudcolor@defineshape{#1}{60} + \tudcolor@defineshape{#1}{50} + \tudcolor@defineshape{#1}{40} + \tudcolor@defineshape{#1}{30} + \tudcolor@defineshape{#1}{20} + \tudcolor@defineshape{#1}{10} +} +\def\tudcolors@define#1#2#3{% + \definecolor{#1}{#2}{#3}% + \tudcolors@expand{#1}% +} +\def\tudcolors@let#1#2{% + \colorlet{#2}{#1}% + \tudcolors@expand{#2}% +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Farbdefinitionen entsprechend dem Farbregister auf +%%% http://tu-dresden.de/service/cd/6_handbuch/handbuch_farbregister.pdf +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Hausfarben +% Dunkelblau +\definecolor{HKS41K100}{rgb/cmyk}{0.0431373,0.164706,0.317647/1.00, 0.70, 0.10, 0.50} +\definecolor{HKS41K90}{rgb/cmyk}{0.113725,0.207843,0.356863/0.9, 0.63, 0.09, 0.45} +\definecolor{HKS41K80}{rgb/cmyk}{0.184314,0.25098,0.403922/0.8, 0.56, 0.08, 0.40} +\definecolor{HKS41K70}{rgb/cmyk}{0.247059,0.309804,0.454902/0.7, 0.49, 0.07, 0.35} +\definecolor{HKS41K60}{rgb/cmyk}{0.317647,0.364706,0.501961/0.6, 0.42, 0.06, 0.30} +\definecolor{HKS41K50}{rgb/cmyk}{0.388235,0.423529,0.556863/0.5, 0.35, 0.05, 0.25} +\definecolor{HKS41K40}{rgb/cmyk}{0.466667,0.498039,0.619608/0.4, 0.28, 0.04, 0.20} +\definecolor{HKS41K30}{rgb/cmyk}{0.545098,0.580392,0.694118/0.3, 0.21, 0.03, 0.15} +\definecolor{HKS41K20}{rgb/cmyk}{0.658824,0.686275,0.780392/0.2, 0.14, 0.02, 0.10} +\definecolor{HKS41K10}{rgb/cmyk}{0.803922,0.831373,0.886275/0.1, 0.07, 0.01, 0.05} + +% Grau +\definecolor{HKS92K100}{cmyk}{0.1,0.00,0.05,0.65} +\definecolor{HKS92K90}{cmyk}{0.09,0.00,0.045,0.585} +\definecolor{HKS92K80}{cmyk}{0.08,0.00,0.04,0.52} +\definecolor{HKS92K70}{cmyk}{0.07,0.00,0.035,0.455} +\definecolor{HKS92K60}{cmyk}{0.06,0.00,0.03,0.39} +\definecolor{HKS92K50}{cmyk}{0.05,0.00,0.025,0.325} +\definecolor{HKS92K40}{cmyk}{0.04,0.00,0.02,0.26} +\definecolor{HKS92K30}{cmyk}{0.03,0.00,0.015,0.195} +\definecolor{HKS92K20}{cmyk}{0.02,0.00,0.01,0.13} +\definecolor{HKS92K10}{cmyk}{0.01,0.00,0.005,0.065} + +% Auszeichnungsfarbe 1. Kategorie +\definecolor{HKS44K100}{rgb/cmyk}{0,0.34902,0.639216/1.00,0.50,0.0,0.0} +\definecolor{HKS44K90}{rgb/cmyk}{0.101961,0.392157,0.666667/0.9,0.45,.0,.0} +\definecolor{HKS44K80}{rgb/cmyk}{0.203922,0.435294,0.698039/0.8,.40,.0,.0} +\definecolor{HKS44K70}{rgb/cmyk}{0.298039,0.478431,0.72549/.7,.35,.0,.0} +\definecolor{HKS44K60}{rgb/cmyk}{0.380392,0.521569,0.752941/.6,.3,0,0} +\definecolor{HKS44K50}{rgb/cmyk}{0.45098,0.572549,0.788235/.5,.25,0,0} +\definecolor{HKS44K40}{rgb/cmyk}{0.529412,0.631373,0.823529/.4,.20,0,0} +\definecolor{HKS44K30}{rgb/cmyk}{0.611765,0.694118,0.858824/.3,.15,0,0} +\definecolor{HKS44K20}{rgb/cmyk}{0.721569,0.776471,0.901961/.2,.10,0,0} +\definecolor{HKS44K10}{rgb/cmyk}{0.847059,0.878431,0.94902/.1,.05,0,0} + +% Auszeichnungsfarbe 2. Kategorie +% Violett +\definecolor{HKS36K10}{rgb/cmyk}{ 0.886275, 0.8549, 0.925488/0.08, 0.09, 0.00, 0.00 } +\definecolor{HKS36K20}{rgb/cmyk}{ 0.772547, 0.72549, 0.8549/0.16, 0.18, 0.00, 0.00 } +\definecolor{HKS36K30}{rgb/cmyk}{ 0.694118, 0.631373, 0.796077/0.24, 0.27, 0.00, 0.00 } +\definecolor{HKS36K40}{rgb/cmyk}{ 0.623528, 0.552934, 0.745096/0.32, 0.36, 0.00, 0.00 } +\definecolor{HKS36K50}{rgb/cmyk}{ 0.564705, 0.486273, 0.698039/0.40, 0.45, 0.00, 0.00 } +\definecolor{HKS36K60}{rgb/cmyk}{ 0.509803, 0.423529, 0.654901/0.48, 0.54, 0.00, 0.00 } +\definecolor{HKS36K70}{rgb/cmyk}{ 0.458823, 0.360784, 0.615685/0.56, 0.63, 0.00, 0.00 } +\definecolor{HKS36K80}{rgb/cmyk}{ 0.411764, 0.298039, 0.576469/0.64, 0.72, 0.00, 0.00 } +\definecolor{HKS36K90}{rgb/cmyk}{ 0.364706, 0.235294, 0.537254/0.72, 0.81, 0.00, 0.00 } +\definecolor{HKS36K100}{rgb/cmyk}{ 0.317647, 0.160784, 0.498039/0.80, 0.90, 0.00, 0.00 } + +% lila +\definecolor{HKS33K10}{rgb/cmyk}{ 0.956861, 0.878431, 0.909802/0.05, 0.10, 0.00, 0.00} +\definecolor{HKS33K20}{rgb/cmyk}{ 0.890194, 0.733332, 0.862743/0.10, 0.20, 0.00, 0.00} +\definecolor{HKS33K30}{rgb/cmyk}{ 0.784312, 0.635293, 0.784312/0.15, 0.30, 0.00, 0.00} +\definecolor{HKS33K40}{rgb/cmyk}{ 0.733332, 0.556863, 0.733332/0.20, 0.40, 0.00, 0.00} +\definecolor{HKS33K50}{rgb/cmyk}{ 0.686275, 0.486273, 0.682351/0.25, 0.50, 0.00, 0.00} +\definecolor{HKS33K60}{rgb/cmyk}{ 0.647057, 0.419607, 0.639216/0.30, 0.60, 0.00, 0.00} +\definecolor{HKS33K70}{rgb/cmyk}{ 0.611765, 0.352940, 0.596077/0.35, 0.70, 0.00, 0.00} +\definecolor{HKS33K80}{rgb/cmyk}{ 0.572549, 0.282352, 0.556863/0.40, 0.80, 0.00, 0.00} +\definecolor{HKS33K90}{rgb/cmyk}{ 0.50196, 0.2, 0.513724/0.45, 0.90, 0.00, 0.00} +\definecolor{HKS33K100}{rgb/cmyk}{ 0.505881, 0.101961, 0.470587/0.50, 1.00, 0.00, 0.00} + +% dunkelgrün +\definecolor{HKS57K10}{rgb/cmyk}{ 0.827449, 0.905880, 0.772547/0.10, 0.00, 0.09, 0.02} +\definecolor{HKS57K20}{rgb/cmyk}{ 0.686275, 0.831373, 0.674508/0.20, 0.00, 0.18, 0.04} +\definecolor{HKS57K30}{rgb/cmyk}{ 0.560783, 0.764704, 0.596077/0.30, 0.00, 0.27, 0.06} +\definecolor{HKS57K40}{rgb/cmyk}{ 0.462744, 0.709802, 0.50196/0.40, 0.00, 0.36, 0.08} +\definecolor{HKS57K50}{rgb/cmyk}{ 0.356863, 0.658824, 0.486273/0.50, 0.00, 0.45, 0.10} +\definecolor{HKS57K60}{rgb/cmyk}{ 0.243137, 0.615685, 0.447058/0.60, 0.00, 0.54, 0.12} +\definecolor{HKS57K70}{rgb/cmyk}{ 0.098039, 0.50196, 0.360784/0.70, 0.00, 0.63, 0.14} +\definecolor{HKS57K80}{rgb/cmyk}{ 0.035294, 0.50196, 0.360784/0.80, 0.00, 0.72, 0.16} +\definecolor{HKS57K90}{rgb/cmyk}{ 0.000000, 0.509803, 0.321568/0.90, 0.00, 0.81, 0.18} +\definecolor{HKS57K100}{rgb/cmyk}{ 0.000000, 0.478431, 0.278431/1.00, 0.00, 0.90, 0.20} + +% hellgrün +\definecolor{HKS65K10}{rgb/cmyk}{ 0.890194, 0.94902, 0.882351/0.06, 0.00, 0.10, 0.00} +\definecolor{HKS65K20}{rgb/cmyk}{ 0.799998, 0.905880, 0.784312/0.13, 0.00, 0.20, 0.00} +\definecolor{HKS65K30}{rgb/cmyk}{ 0.705881, 0.862743, 0.698039/0.19, 0.00, 0.30, 0.00} +\definecolor{HKS65K40}{rgb/cmyk}{ 0.635293, 0.835292, 0.62745/0.26, 0.00, 0.40, 0.00} +\definecolor{HKS65K50}{rgb/cmyk}{ 0.552934, 0.799998, 0.560783/0.32, 0.00, 0.50, 0.00} +\definecolor{HKS65K60}{rgb/cmyk}{ 0.494117, 0.776471, 0.498039/0.39, 0.00, 0.60, 0.00} +\definecolor{HKS65K70}{rgb/cmyk}{ 0.427450, 0.749018, 0.435294/0.45, 0.00, 0.70, 0.00} +\definecolor{HKS65K80}{rgb/cmyk}{ 0.34902, 0.721569, 0.372548/0.52, 0.00, 0.80, 0.00} +\definecolor{HKS65K90}{rgb/cmyk}{ 0.262745, 0.698039, 0.298039/0.58, 0.00, 0.90, 0.00} +\definecolor{HKS65K100}{rgb/cmyk}{ 0.133333, 0.67843, 0.211764/0.65, 0.00, 1.00, 0.00} + +% Ausnahmefarbe HKS 07_K +\definecolor{HKS07K10}{rgb/cmyk}{ 0.992155, 0.94902, 0.819606/0.00, 0.06, 0.10, 0.00} +\definecolor{HKS07K20}{rgb/cmyk}{ 0.984312, 0.913723, 0.745096/0.00, 0.12, 0.20, 0.00} +\definecolor{HKS07K30}{rgb/cmyk}{ 0.976468, 0.866665, 0.643136/0.00, 0.18, 0.30, 0.00} +\definecolor{HKS07K40}{rgb/cmyk}{ 0.968625, 0.823529, 0.576469/0.00, 0.24, 0.40, 0.00} +\definecolor{HKS07K50}{rgb/cmyk}{ 0.960782, 0.756861, 0.501961/0.00, 0.30, 0.50, 0.00} +\definecolor{HKS07K60}{rgb/cmyk}{ 0.952939, 0.705881, 0.443136/0.00, 0.36, 0.60, 0.00} +\definecolor{HKS07K70}{rgb/cmyk}{ 0.945096, 0.658824, 0.380392/0.00, 0.42, 0.70, 0.00} +\definecolor{HKS07K80}{rgb/cmyk}{ 0.937253, 0.611765, 0.317647/0.00, 0.48, 0.80, 0.00} +\definecolor{HKS07K90}{rgb/cmyk}{ 0.921567, 0.545098, 0.219607/0.00, 0.54, 0.90, 0.00} +\definecolor{HKS07K100}{rgb/cmyk}{ 0.909802, 0.482352, 0.078431/0.00, 0.60, 1.00, 0.00} + +\tudcolors@define@scheme{cd2012ts}{% + \tudcolors@let{HKS41K100}{cddarkblue} + \tudcolors@let{HKS41K100}{tudbase} + + % Auszeichnungsfarbe 1. Kategorie + \tudcolors@let{HKS44K100}{cdblue} + \tudcolors@let{HKS44K100}{tudaccent2} + + % Auszeichnungsfarbe 1. Kategorie + \tudcolors@let{TUDCyan}{cdcyan} + \tudcolors@let{TUDCyan}{tudaccent1} + + % Grau + \tudcolors@let{HKS92K100}{cdgray} + \tudcolors@let{HKS92K100}{cdgrey} + \tudcolors@let{HKS92K100}{tudgrey} + + % lila + \tudcolors@let{HKS33K100}{cdpurple} + \tudcolors@let{HKS33K100}{tudaccent5} + + % Auszeichnungsfarbe 2. Kategorie + % Violett + \tudcolors@let{HKS36K100}{cdindigo} + \tudcolors@let{HKS36K100}{tudaccent6} + + % hellgrün + \tudcolors@let{HKS65K100}{cdgreen} + \tudcolors@let{HKS65K100}{tudaccent3} + + % dunkelgrün + \tudcolors@let{HKS57K100}{cddarkgreen} + \tudcolors@let{HKS57K100}{tudaccent4} + + + % Ausnahmefarbe HKS 07_K + \tudcolors@let{HKS07K100}{cdorange} + \tudcolors@let{HKS07K100}{tudalert} +} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Farbdefinitionen entsprechend dem Farbregister auf +%%% http://tu-dresden.de/service/cd/6_handbuch/handbuch_farbregister.pdf +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Hausfarben +% Dunkelblau +\tudcolors@define{HKS41}{RGB/cmyk}{0,48,94/1.00, 0.70, 0.10, 0.50} +% ppt: 00305e +% dk1 + +% Auszeichnungsfarbe 1. Kategorie +\tudcolors@define{HKS44}{RGB/cmyk}{0,106,179/1.00,0.50,0.0,0.0} +% ppt: 006ab3 +% accent2 + +% Auszeichnungsfarbe 1. Kategorie +\tudcolors@define{TUDCyan}{RGB/cmyk}{0,158,224/1.00,0.00,0.00,0.00} +% ppt: 009ee0 +% accent1 + +% Grau +\tudcolors@define{HKS92}{RGB/cmyk}{114,120,121/0.1,0.00,0.05,0.65} +% ppt: 727879 +% lt2 + +% lila +\tudcolors@define{HKS33}{RGB/cmyk}{147,16,126/0.50, 100, 0.00, 0.00} +% ppt: 93107e +% accent5 + +% Auszeichnungsfarbe 2. Kategorie +% Violett +\tudcolors@define{HKS36}{RGB/cmyk}{84,55,138/0.80, 0.90, 0.00, 0.00} +% ppt: 54378a +% accent6 + +% hellgrün +\tudcolors@define{HKS65}{RGB/cmyk}{106,176,35/0.65, 0.00, 1.00, 0.00} +% ppt: 6ab023 +% accent3 + +% dunkelgrün +\tudcolors@define{HKS57}{RGB/cmyk}{0,125,64/100, 0.00, 0.90, 0.20} +% ppt: 007d40 +% accent4 + +% Ausnahmefarbe HKS 07 +\tudcolors@define{HKS07}{RGB/cmyk}{238,127,0/0.00, 0.60, 1.00, 0.00} +% ppt: +% accent7 + +\tudcolors@define@scheme{cd2018}{% + \tudcolors@let{HKS41}{cddarkblue} + \tudcolors@let{HKS41}{tudbase} + + % Auszeichnungsfarbe 1. Kategorie + \tudcolors@let{HKS44}{cdblue} + \tudcolors@let{HKS44}{tudaccent2} + + % Auszeichnungsfarbe 1. Kategorie + \tudcolors@let{TUDCyan}{cdcyan} + \tudcolors@let{TUDCyan}{tudaccent1} + + % Grau + \tudcolors@let{HKS92}{cdgray} + \tudcolors@let{HKS92}{cdgrey} + \tudcolors@let{HKS92}{tudgrey} + + % lila + \tudcolors@let{HKS33}{cdpurple} + \tudcolors@let{HKS33}{tudaccent5} + + % Auszeichnungsfarbe 2. Kategorie + % Violett + \tudcolors@let{HKS36}{cdindigo} + \tudcolors@let{HKS36}{tudaccent6} + + % hellgrün + \tudcolors@let{HKS65}{cdgreen} + \tudcolors@let{HKS65}{tudaccent3} + + % dunkelgrün + \tudcolors@let{HKS57}{cddarkgreen} + \tudcolors@let{HKS57}{tudaccent4} + + + % Ausnahmefarbe HKS 07_K + \tudcolors@let{HKS07}{cdorange} + \tudcolors@let{HKS07}{tudalert} +} + +\tudcolorselect + +\AtBeginDocument{% + \@ifpackageloaded{hyperref}{% + \hypersetup{% + linkcolor=tudaccent2 + }% + }{}% +} +\endinput