\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