Compare commits

...

6 Commits

Author SHA1 Message Date
9ae72da599 Remove logo from closing page 2026-04-19 20:25:09 +02:00
07dd6473c5 Place Logos 2026-04-19 20:16:53 +02:00
2b4436b639 Center Titlepages 2026-04-19 20:15:49 +02:00
e282972eb1 Fix: Gradient 2026-04-17 12:54:41 +02:00
8be8423ee5 Some Refinements 2026-04-16 16:57:07 +02:00
64ba597489 Fix: Numbering and remove logo from last page 2026-04-16 12:39:58 +02:00

View File

@@ -63,7 +63,7 @@
\def\maketitle{ \def\maketitle{
\begin{frame}[noframenumbering,plain] \begin{frame}[c,noframenumbering,plain]
\titlepage \titlepage
\end{frame} \end{frame}
\ifawesome@notoc\else \ifawesome@notoc\else
@@ -115,12 +115,10 @@
\stepcounter{framesinsubsection}% \stepcounter{framesinsubsection}%
\fi% \fi%
\fi% \fi%
\ifnum\theframesinsection=0\setcounter{framesinsection}{1}\fi%
\ifnum\theframesinsubsection=0\setcounter{framesinsubsection}{1}\fi%
} }
\BeforeBeginEnvironment{frame}{\stepframe} % \BeforeBeginEnvironment{frame}{\stepframe}
\pretocmd\againframe{\stepframe}{}{} % \pretocmd\againframe{\stepframe}{}{}
\def\refreshcountsinaux{% \def\refreshcountsinaux{%
\immediate\write\@auxout{\global\noexpand\@namedef{s@totalsubsectionframes-\arabic{section}-\arabic{subsection}}{\theframesinsubsection}}% \immediate\write\@auxout{\global\noexpand\@namedef{s@totalsubsectionframes-\arabic{section}-\arabic{subsection}}{\theframesinsubsection}}%
@@ -234,6 +232,12 @@
\setbeamersize{text margin left=\awesome@textmargin} \setbeamersize{text margin left=\awesome@textmargin}
\setbeamersize{text margin right=\awesome@textmargin} \setbeamersize{text margin right=\awesome@textmargin}
\setbeamertemplate{sidebar left}{
\vfill
\hbox to \awesome@sidebarwidth{\hss\hspace*{2mm}\includegraphics[width=2.5cm]{\imagepath/images/logos/logo.png}\hss}
\vskip2mm
}
\setbeamertemplate{caption}{\insertcaption} \setbeamertemplate{caption}{\insertcaption}
\setbeamertemplate{blocks}[rounded][shadow=false] \setbeamertemplate{blocks}[rounded][shadow=false]
\setbeamertemplate{itemize item}[circle] \setbeamertemplate{itemize item}[circle]
@@ -341,7 +345,7 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
\tikzfading[ \tikzfading[
name=title page picture fading, name=title page picture fading,
left color=transparent!0, left color=transparent!50,
right color=transparent!100, right color=transparent!100,
] ]
@@ -362,7 +366,7 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
\thispagestyle{navigation@titlepage}% \thispagestyle{navigation@titlepage}%
\begin{minipage}{\lhswidth} \begin{minipage}{\lhswidth}
\raggedright% \raggedright%
\includegraphics[height=6em]{\imagepath/images/logos/logo.png} \hspace*{2mm}\includegraphics[height=6em]{\imagepath/images/logos/logo.png}
% \leavevmode\titlecontent\\ % \leavevmode\titlecontent\\
% \leavevmode\subtitlecontent\\ % \leavevmode\subtitlecontent\\
\textcolor{accent}{\rule{\ifdim\maxwidth<\lhswidth\maxwidth\else\lhswidth\fi}{\smile@linewidth}}\\[2em] \textcolor{accent}{\rule{\ifdim\maxwidth<\lhswidth\maxwidth\else\lhswidth\fi}{\smile@linewidth}}\\[2em]
@@ -387,10 +391,10 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
\includegraphics[height=\paperheight]{\@background} \includegraphics[height=\paperheight]{\@background}
}; };
\fill[black,path fading=title page picture fading,fading angle=-15] \fill[accent,path fading=title page picture fading,fading angle=-15]
(current page.south east) rectangle ++(-10, \dimexpr\paperheight+1cm); (current page.south east) rectangle ++(-10, \dimexpr\paperheight+1cm);
\end{tikzpicture} \end{tikzpicture}
\tikz[o]\draw[black,lcr,line width=2*\smile@linewidth] \tikz[o]\draw[accent,lcr,line width=2*\smile@linewidth]
([shift={(-5.1,0)}]current page.north east) ([shift={(-5.1,0)}]current page.north east)
-- ++(-3,-\paperheight); -- ++(-3,-\paperheight);
\fi \fi
@@ -479,6 +483,7 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
% Kinda hacky, but AtBeginEnvironment does not work with beamer tex.stackexchange.com/a/436338/286979 % Kinda hacky, but AtBeginEnvironment does not work with beamer tex.stackexchange.com/a/436338/286979
\pretocmd\beamer@checkframetitle{% \pretocmd\beamer@checkframetitle{%
\stepframe%
\transfade[duration=0.1]% \transfade[duration=0.1]%
\ifbeamer@isfragile% \ifbeamer@isfragile%
\label{page:\insertframenumber}% \label{page:\insertframenumber}%
@@ -491,7 +496,7 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
\begin{wide}\centering% \begin{wide}\centering%
\usebeamerfont{title}% \usebeamerfont{title}%
\usebeamercolor[fg]{section number projected}% \usebeamercolor[fg]{section number projected}%
\scalebox{1.3}{ \raisebox{-1pt}{\insertsectionnumber}}.~% % \scalebox{1.3}{ \raisebox{-1pt}{\insertsectionnumber}}.~%
\usebeamercolor[fg]{title}% \usebeamercolor[fg]{title}%
\insertsectionhead% \insertsectionhead%
\end{wide}% \end{wide}%
@@ -503,9 +508,9 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
\begin{wide}\centering% \begin{wide}\centering%
\usebeamerfont{title}% \usebeamerfont{title}%
\usebeamercolor[fg]{section number projected}% \usebeamercolor[fg]{section number projected}%
\scalebox{1.3}{\raisebox{-1pt}{\insertsectionnumber}}.% % \scalebox{1.3}{\raisebox{-1pt}{\insertsectionnumber}}.%
\usebeamercolor[fg]{subsection number projected}% \usebeamercolor[fg]{subsection number projected}%
\textsubscript{\insertsubsectionnumber}~% % \textsubscript{\insertsubsectionnumber}~%
\usebeamercolor[fg]{title}% \usebeamercolor[fg]{title}%
\insertsubsectionhead% \insertsubsectionhead%
\end{wide}% \end{wide}%
@@ -513,10 +518,17 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l
\fi} \fi}
\AtEndDocument{ \AtEndDocument{
\begingroup
\setbeamertemplate{sidebar left}{}
\logo{}
{\setbeamercolor{background canvas}{bg=accent} {\setbeamercolor{background canvas}{bg=accent}
\begin{frame}[b,noframenumbering]\thispagestyle{navigation@titlepage}% \begin{frame}[b,noframenumbering]\thispagestyle{navigation@titlepage}%
\begin{wide}\color{white}% \begin{wide}\color{white}%
\huge\textbf\inserttitle \\
\LARGE\insertsubtitle \\
\vskip2em
\Large\textbf{\insertauthor}\vskip0.5em\scriptsize\insertlocation,~\insertdate\hfill\insertemail% \Large\textbf{\insertauthor}\vskip0.5em\scriptsize\insertlocation,~\insertdate\hfill\insertemail%
\end{wide}% \end{wide}%
\end{frame}} \end{frame}}
\endgroup
} }