Commit 91a64023 authored by Henrik Korsgaard's avatar Henrik Korsgaard 💬
Browse files

Added command to set math environment font to CMR and color to black

parent 951bf104
......@@ -3,11 +3,13 @@
\RequirePackage{tikz}
\RequirePackage[absolute,overlay]{textpos}
\mode<presentation>
%%% Removing navigation symbols
\setbeamertemplate{navigation symbols}{}
\setbeamersize{text margin left=4em,text margin right=4em}
%%% Colors
\definecolor{AUDark}{RGB}{0,37,70}
\definecolor{AULight}{RGB}{55,160,203}
\definecolor{AUTransparent}{RGB}{137,201,229}
......@@ -31,6 +33,8 @@ Extension = .ttf,
UprightFont = *_Light,
]{AUPassata}
\renewcommand\mathfamilydefault{cmr}
\renewcommand\bibfont{\tiny}
\TPGrid[16pt,9pt]{16}{9}
......@@ -101,8 +105,6 @@ UprightFont = *_Light,
\end{textblock}
}
%%% Slide types set in options
\makeatletter
......@@ -116,6 +118,7 @@ UprightFont = *_Light,
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
\setbeamercolor{math text}{fg=white}%
\setbeamercolor{caption}{fg=white}%
}
......@@ -130,6 +133,7 @@ UprightFont = *_Light,
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
\setbeamercolor{math text}{fg=white}%
\setbeamercolor{caption}{fg=white}%
}
......@@ -143,6 +147,7 @@ UprightFont = *_Light,
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
\setbeamercolor{math text}{fg=white}%
\setbeamercolor{caption}{fg=white}%
}
......@@ -157,6 +162,7 @@ UprightFont = *_Light,
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
\setbeamercolor{caption}{fg=white}%
\setbeamercolor{math text}{fg=white}%
\setbeamercolor{footnote}{fg=white}%
}
......@@ -170,6 +176,7 @@ UprightFont = *_Light,
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
\setbeamercolor{math text}{fg=white}%
\setbeamercolor{caption}{fg=white}%
}
......@@ -193,6 +200,7 @@ UprightFont = *_Light,
\setbeamercolor*{description body}{fg=AUDark}%
\setbeamercolor{caption}{fg=AUDark}%
\setbeamercolor{footnote}{fg=AUDark}%
\setbeamercolor{math text}{fg=black}%
\color{AUDark}
\setbeamertemplate{description item}{%
......@@ -271,7 +279,7 @@ UprightFont = *_Light,
}
%% Captions styling
\setlength\abovecaptionskip{-2pt}
\setlength\abovecaptionskip{2pt}
\setbeamertemplate{caption}{%
{\tiny\insertcaptionname ~\insertcaptionnumber: \insertcaption}%
......@@ -279,5 +287,6 @@ UprightFont = *_Light,
%% Footnote styling
\setbeamerfont{footnote}{size=\tiny}
\mode<all>
No preview for this file type
......@@ -6,7 +6,6 @@
\author[korsgaard@cs.au.dk]{Henrik Korsgaard}
\institute{DEPARTMENT OF COMPUTER SCIENCE} % Type in A
\usetheme{aarhusuniversity}
\begin{document}
\begin{frame}
......@@ -216,6 +215,19 @@ Note, that with long reference lists, it is necessary to add the \verb=allowfram
\end{columns}
\end{frame}
\begin{frame}[fragile]{Math}
\begin{columns}
\begin{column}{0.45\textwidth}
Per request formula in a math environment uses the Computer Modern font (cmr) and the color black on white slides. For other slides the color is likely white.
\end{column}
\begin{column}{0.45\textwidth}
\begin{math}
d = b\wedge 2 - 4*a*c
\end{math}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[AUDark]{Example of the [AUDark] slide option}
\end{frame}
......
Supports Markdown
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