refactor: move toc style content to style file instead of teamplate file
This commit is contained in:
parent
380eee06ed
commit
a46cac001c
Binary file not shown.
@ -16,7 +16,7 @@
|
||||
\lstset{
|
||||
language=Java, % choose the language of the code
|
||||
numbers=left, % where to put the line-numbers
|
||||
%stepnumber=1, % the step between two line-numbers.
|
||||
%stepnumber=1, % the step between two line-numbers.
|
||||
%numbersep=5pt, % how far the line-numbers are from the code
|
||||
numberstyle=\tiny\color{DraculaGreen}\ttfamily,
|
||||
backgroundcolor=\color{DraculaBackground}, % choose the background color. You must add \usepackage{color}
|
||||
@ -36,40 +36,25 @@
|
||||
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}
|
||||
\title{Niks Theme}
|
||||
\subtitle{Dracula Style}
|
||||
\institute{TUBAF / RWU}
|
||||
|
||||
\begin{document}
|
||||
|
||||
|
||||
\begin{frame}[plain]
|
||||
\maketitle
|
||||
\end{frame}
|
||||
|
||||
|
||||
\section{Niks Theme}
|
||||
|
||||
|
||||
\subsection{Normales}
|
||||
\subsubsection{Aufzählungen und Texte}
|
||||
\begin{frame}
|
||||
\frametitle{Normales}
|
||||
\framesubtitle{Aufzählungen und Texte}
|
||||
|
||||
|
||||
\begin{itemize}
|
||||
\item Information und Mathematik $\rightarrow$ Computer?
|
||||
\item Information und Automatik $\rightarrow$ Computer?
|
||||
@ -79,7 +64,7 @@
|
||||
\begin{frame}
|
||||
\frametitle{Normales}
|
||||
\framesubtitle{Zitat}
|
||||
|
||||
|
||||
\begin{quote}
|
||||
\centering
|
||||
„In der Informatik geht es genau so wenig um Computer, wie in der Astronomie um Teleskope.“\\
|
||||
@ -92,39 +77,40 @@
|
||||
\begin{frame}
|
||||
\frametitle{Blöcke}
|
||||
\framesubtitle{Normal, Beispiel und Achtung}
|
||||
|
||||
|
||||
\begin{block}{Aussage}
|
||||
Eine \emph{Aussage} ist ein sprachliches Gebilde,
|
||||
Eine \emph{Aussage} ist ein sprachliches Gebilde,
|
||||
dem eindeutig ein Wahrheitswert (\emph{wahr} oder \emph{falsch}) zugeordnet werden kann.
|
||||
\end{block}
|
||||
|
||||
|
||||
\begin{exampleblock}{Beispiel}
|
||||
Eine \emph{Aussage} ist ein sprachliches Gebilde,
|
||||
Eine \emph{Aussage} ist ein sprachliches Gebilde,
|
||||
dem eindeutig ein Wahrheitswert (\emph{wahr} oder \emph{falsch}) zugeordnet werden kann.
|
||||
\end{exampleblock}
|
||||
|
||||
|
||||
\begin{alertblock}{Achtung!}
|
||||
Eine \emph{Aussage} ist ein sprachliches Gebilde,
|
||||
Eine \emph{Aussage} ist ein sprachliches Gebilde,
|
||||
dem eindeutig ein Wahrheitswert (\emph{wahr} oder \emph{falsch}) zugeordnet werden kann.
|
||||
\end{alertblock}
|
||||
\end{frame}
|
||||
|
||||
\subsubsection{Listings}
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Blöcke und Listings}
|
||||
\framesubtitle{Listings}
|
||||
|
||||
|
||||
\begin{lstlisting}
|
||||
int i = 10;
|
||||
do {
|
||||
do {
|
||||
i = i - 3;
|
||||
} while (i > 5);
|
||||
\end{lstlisting}
|
||||
|
||||
|
||||
\begin{exampleblock}{Beispiel}
|
||||
\begin{lstlisting}
|
||||
for (int i=1; i <= 10; i++) {
|
||||
System.out.println("Ausgabe:" + i);
|
||||
}
|
||||
}
|
||||
\end{lstlisting}
|
||||
\end{exampleblock}
|
||||
\end{frame}
|
||||
|
@ -58,6 +58,20 @@
|
||||
\setbeamertemplate{subsection in toc}{~$\ast$~~\inserttocsubsection\\\smallskip}
|
||||
\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
|
||||
\setbeamertemplate{blocks}[rounded][shadow=false]
|
||||
\addtobeamertemplate{block begin}{%
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user