about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--common/latex/preamble/core/graphics_and_floats.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/latex/preamble/core/graphics_and_floats.tex b/common/latex/preamble/core/graphics_and_floats.tex
index c0784c9..c71fc2a 100644
--- a/common/latex/preamble/core/graphics_and_floats.tex
+++ b/common/latex/preamble/core/graphics_and_floats.tex
@@ -7,9 +7,6 @@
 \usepackage{pgfplots} % plots, 2D and 3D
 \pgfplotsset{compat=1.18} % Set a compatibility level, to be able to use the new versions
 
-\usetikzlibrary{external}
-\tikzexternalize[prefix=figures/, mode=list and make]
-
 % \usetikzlibrary{intersections, angles, quotes, calc, positioning}
 % \usetikzlibrary{arrows.meta} %TODO maybe deprecated?
 
@@ -17,6 +14,9 @@
 % \usepackage{subcaption} % like caption package, but for subfigures
 % \usepackage{booktabs} % better tables
 
-
 \usepackage{float} % Allows placing floats here (H) and creating new floats `\newfloat`
 \usepackage{wrapfig} % Wraps text around figures with the \begin{wrapfigure} environment
+
+\NewDocumentCommand{\IncludeTikz}{m}{
+	\includegraphics{build/figures/#1/#1}
+}