\frametitle can now add a "subsubtitle" to the top right
This commit is contained in:
@@ -132,6 +132,15 @@
|
||||
\scalebox{0.7}{#1}
|
||||
}
|
||||
|
||||
\let\oldft\frametitle
|
||||
\renewcommand\frametitle[2][\empty]{
|
||||
\if{#1}\empty%
|
||||
\oldft{#2}%
|
||||
\else%
|
||||
\oldft{#2\hfill\normalfont\large\color{awesomegray}\raisebox{0.3ex}{#1}}%
|
||||
\fi
|
||||
}
|
||||
|
||||
\BeforeBeginEnvironment{tabular}{
|
||||
\renewcommand{\arraystretch}{1.1}
|
||||
\rowcolors{2}{awesomelightgray}{white}
|
||||
|
||||
BIN
example.pdf
BIN
example.pdf
Binary file not shown.
14
example.tex
14
example.tex
@@ -19,7 +19,9 @@
|
||||
\maketitle
|
||||
|
||||
\section{Section 1}
|
||||
\begin{frame}{Example Slide}{With a subtitle}
|
||||
\begin{frame}
|
||||
\frametitle[Another Title]{Example Slide}
|
||||
\framesubtitle{With a subtitle}
|
||||
\begin{columns}[t]
|
||||
\begin{column}{0.45\textwidth}
|
||||
\lipsum[1][1-5]
|
||||
@@ -39,7 +41,8 @@
|
||||
|
||||
\tikzstyle{every picture}+=[remember picture]
|
||||
\tikzstyle{na} = [shape=rectangle,inner sep=0pt,text depth=0pt]
|
||||
\begin{frame}{Another Slide}
|
||||
\begin{frame}
|
||||
\frametitle{Another Slide}
|
||||
\begin{itemize}
|
||||
\item That info is sooooooo \tikz\node[na] (A) {\gul{important}};
|
||||
\item This is a key \tikz\node[na] (D) {\gul{word}};, isn't it?
|
||||
@@ -56,7 +59,9 @@
|
||||
|
||||
\section{Section 2}
|
||||
\subsection{Subsection 1}
|
||||
\begin{frame}{Cool picture}{With animations}
|
||||
\begin{frame}
|
||||
\frametitle{Cool picture}
|
||||
\framesubtitle{With animations}
|
||||
\begin{columns}
|
||||
\begin{column}{0.45\textwidth}
|
||||
\begin{tikzpicture}[
|
||||
@@ -127,7 +132,8 @@
|
||||
\end{columns}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{No information shown}
|
||||
\begin{frame}
|
||||
\frametitle{No information shown}
|
||||
\lipsum[2][1-8]
|
||||
\end{frame}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user