1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 12:39:58 +01:00

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)$ $if(colortheme)$
\usecolortheme{$colortheme$} \usecolortheme{$colortheme$}
$else$
\usecolortheme{monashwhite}
$endif$ $endif$
$if(fonttheme)$ $if(fonttheme)$
\usefonttheme{$fonttheme$} \usefonttheme{$fonttheme$}
$endif$ $endif$
% A default size of 24 is set in beamerthememonash.sty
$if(titlefontsize)$ $if(titlefontsize)$
\setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{$titlefontsize$}{32}} \setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{$titlefontsize$}{32}}
$else$
\setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{22pt}{32}}
$endif$ $endif$
$if(mainfont)$ $if(mainfont)$

View File

@ -3,7 +3,8 @@
%% Updated by Rob J Hyndman. 8 October 2018 %% Updated by Rob J Hyndman. 8 October 2018
\RequirePackage{beamerthememetropolis} \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} \usefonttheme{monash}
\metroset{progressbar=foot} \metroset{progressbar=foot}
@ -55,6 +56,7 @@
\def\placefig#1#2#3#4{\begin{textblock}{.1}(#1,#2)\rlap{\includegraphics[#3]{#4}}\end{textblock}} \def\placefig#1#2#3#4{\begin{textblock}{.1}(#1,#2)\rlap{\includegraphics[#3]{#4}}\end{textblock}}
% Monash title page % 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}} \setbeamerfont{title}{series=\bfseries,parent=structure,size=\fontsize{24}{32}}
\setbeamertemplate{title page} \setbeamertemplate{title page}
{\placefig{-0.01}{-0.01}{width=1.01\paperwidth,height=1.01\paperheight}{titlepage} {\placefig{-0.01}{-0.01}{width=1.01\paperwidth,height=1.01\paperheight}{titlepage}