two refinements for Monash default values

This commit is contained in:
Dirk Eddelbuettel 2018-10-10 18:59:01 -05:00
parent bae1fe7e26
commit 265eca3ecd
2 changed files with 4 additions and 5 deletions

View File

@ -63,18 +63,15 @@ $endif$
$if(colortheme)$
\usecolortheme{$colortheme$}
$else$
\usecolortheme{monashwhite}
$endif$
$if(fonttheme)$
\usefonttheme{$fonttheme$}
$endif$
% A default size of 24 is set in beamerthememonash.sty
$if(titlefontsize)$
\setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{$titlefontsize$}{32}}
$else$
\setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{22pt}{32}}
$endif$
$if(mainfont)$

View File

@ -3,7 +3,8 @@
%% Updated by Rob J Hyndman. 8 October 2018
\RequirePackage{beamerthememetropolis}
\usecolortheme{monashblue}
% For binb, one can alter the color theme by by setting eg 'colortheme: monashblue' in the YAML header
\usecolortheme{monashwhite}
\usefonttheme{monash}
\metroset{progressbar=foot}
@ -55,6 +56,7 @@
\def\placefig#1#2#3#4{\begin{textblock}{.1}(#1,#2)\rlap{\includegraphics[#3]{#4}}\end{textblock}}
% Monash title page
% For binb, one can alter the font size by setting eg 'titlefontsize: 20pt' in the YAML header
\setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{24}{32}}
\setbeamertemplate{title page}
{\placefig{-0.01}{-0.01}{width=1.01\paperwidth,height=1.01\paperheight}{titlepage}