From 5d9be1742bbf7c6be361c1580ecbb22480b655fa Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 4 Oct 2024 13:15:42 +0200 Subject: fix(templates/latex/presentation): Get to compile --- templates/latex/presentation/headers/preamble/mod.tex | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'templates/latex/presentation/headers/preamble') diff --git a/templates/latex/presentation/headers/preamble/mod.tex b/templates/latex/presentation/headers/preamble/mod.tex index a8d5fc7..0a00086 100644 --- a/templates/latex/presentation/headers/preamble/mod.tex +++ b/templates/latex/presentation/headers/preamble/mod.tex @@ -1,2 +1,9 @@ -\input{headers/preamble/beamer/mod.tex} \input{headers/preamble/core/mod.tex} + +% This makes it possible to import this preamble in the `standalone` class. Useful for +% external figures. +\ifcsname setbeamercolor\endcsname + \input{headers/preamble/beamer/mod.tex} +\else + % Don't input it +\fi -- cgit 1.4.1