diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 13:15:42 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 13:15:42 +0200 |
commit | 5d9be1742bbf7c6be361c1580ecbb22480b655fa (patch) | |
tree | 1f659d46d84e348c02f1cc820ac45c4ec20c0c01 /templates/latex/presentation/headers/preamble | |
parent | build(templates.nix): Register new `latex/presentation` template (diff) | |
download | flake-templates-5d9be1742bbf7c6be361c1580ecbb22480b655fa.tar.gz flake-templates-5d9be1742bbf7c6be361c1580ecbb22480b655fa.zip |
fix(templates/latex/presentation): Get to compile
Diffstat (limited to 'templates/latex/presentation/headers/preamble')
-rw-r--r-- | templates/latex/presentation/headers/preamble/mod.tex | 9 |
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 |