Commit 0d7a72e5 authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Added handout aware highlighting.

parent cb4d87fd
......@@ -59,6 +59,16 @@
\newcommand{\bsi}[1]{\textit{\textbf{\scriptsize{#1}}}} % Bold italic small.
\newcommand{\permfoot}[1]{\onslide<1->\bs{#1}}
% Macro for highlighting.
\alt<handout>{
\newcommand{\hlColour}{\color{red}}
\newcommand{\defaultColour}{\color{black}}
}{
\newcommand{\hlColour}{\color{yellow}}
\newcommand{\defaultColour}{\color{white}}
}
\newcommand{\hl}[1]{\hlColour#1\defaultColour}
% Enable numbering of figures and tables.
\setbeamertemplate{caption}[numbered]
......
......@@ -39,6 +39,9 @@
\item The \emph{section} command controls the title.
\item The \emph{subsection} command controls the frametitle.
\end{itemize}
\bigskip
Testing \hl{highlight}\ colour.
\end{pframe}
\begin{pframe}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment