From 2a20e53af5a23ffbc069578ec72077986c16e794 Mon Sep 17 00:00:00 2001 From: Rob J Hyndman Date: Wed, 21 Aug 2019 11:54:34 +1000 Subject: [PATCH] Allowed bera fallback if carlito not available --- .../templates/monash/skeleton/beamerfontthememonash.sty | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inst/rmarkdown/templates/monash/skeleton/beamerfontthememonash.sty b/inst/rmarkdown/templates/monash/skeleton/beamerfontthememonash.sty index 2a1ca22..05b47c7 100644 --- a/inst/rmarkdown/templates/monash/skeleton/beamerfontthememonash.sty +++ b/inst/rmarkdown/templates/monash/skeleton/beamerfontthememonash.sty @@ -1,8 +1,7 @@ %% Font theme for use with Monash beamer theme %% Created by Rob J Hyndman. 8 October 2018 -\usepackage[lf,t]{carlito} -%\usepackage{bera} +\IfFileExists{carlito.sty}{\usepackage[lf,t]{carlito}}{\usepackage{bera}} % Lets make descriptions and alerts bold \setbeamerfont{description item}{series=\bfseries}