about summary refs log tree commit diff stats
path: root/templates/latex/presentation/headers
diff options
context:
space:
mode:
Diffstat (limited to 'templates/latex/presentation/headers')
-rw-r--r--templates/latex/presentation/headers/preamble/mod.tex9
1 files changed, 8 insertions, 1 deletions
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