refactor: move toc style content to style file instead of teamplate file

This commit is contained in:
Niklas Birk 2023-04-11 15:00:25 +02:00
parent 380eee06ed
commit a46cac001c
5 changed files with 31 additions and 31 deletions

Binary file not shown.

View File

@ -36,21 +36,6 @@
emphstyle=\color{DraculaCyan}\ttfamily emphstyle=\color{DraculaCyan}\ttfamily
} }
% table of contents
\AtBeginSection[]
{
\begin{frame}[c,noframenumbering,plain]
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}[c,noframenumbering,plain]
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/show/hide]
\end{frame}
}
\author{Niklas Birk} \author{Niklas Birk}
\title{Niks Theme} \title{Niks Theme}
\subtitle{Dracula Style} \subtitle{Dracula Style}
@ -108,6 +93,7 @@
dem eindeutig ein Wahrheitswert (\emph{wahr} oder \emph{falsch}) zugeordnet werden kann. dem eindeutig ein Wahrheitswert (\emph{wahr} oder \emph{falsch}) zugeordnet werden kann.
\end{alertblock} \end{alertblock}
\end{frame} \end{frame}
\subsubsection{Listings} \subsubsection{Listings}
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Blöcke und Listings} \frametitle{Blöcke und Listings}

View File

@ -58,6 +58,20 @@
\setbeamertemplate{subsection in toc}{~$\ast$~~\inserttocsubsection\\\smallskip} \setbeamertemplate{subsection in toc}{~$\ast$~~\inserttocsubsection\\\smallskip}
\setbeamertemplate{subsection in toc shaded}[default][100] \setbeamertemplate{subsection in toc shaded}[default][100]
\AtBeginSection[]
{
\begin{frame}[c,noframenumbering,plain]
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}[c,noframenumbering,plain]
\tableofcontents[sectionstyle=show/hide,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/show/hide]
\end{frame}
}
% block % block
\setbeamertemplate{blocks}[rounded][shadow=false] \setbeamertemplate{blocks}[rounded][shadow=false]
\addtobeamertemplate{block begin}{% \addtobeamertemplate{block begin}{%

Binary file not shown.

Binary file not shown.