From 6c77f250fc4339fcb52691485e207a0118586d17 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 3 Oct 2024 16:07:58 +0200 Subject: feat(latex/preamble/graphics_and_figures): Switch from TikZ externalize to manual import --- common/latex/preamble/core/graphics_and_floats.tex | 8 ++++---- 1 file 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} +} -- cgit 1.4.1