about summary refs log tree commit diff stats
path: root/common/latex/preamble
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-03 16:07:58 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-03 16:07:58 +0200
commit6c77f250fc4339fcb52691485e207a0118586d17 (patch)
tree9f2fa437a1cb9e1c92162142ad9a6e6e6a9807db /common/latex/preamble
parentfeat(common/scripts/latex/build.sh): Support standalone figures as generated ... (diff)
downloadflake-templates-6c77f250fc4339fcb52691485e207a0118586d17.tar.gz
flake-templates-6c77f250fc4339fcb52691485e207a0118586d17.zip
feat(latex/preamble/graphics_and_figures): Switch from TikZ externalize to manual import
Diffstat (limited to '')
-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}
+}