diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-03 16:07:58 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-03 16:07:58 +0200 |
commit | 6c77f250fc4339fcb52691485e207a0118586d17 (patch) | |
tree | 9f2fa437a1cb9e1c92162142ad9a6e6e6a9807db | |
parent | feat(common/scripts/latex/build.sh): Support standalone figures as generated ... (diff) | |
download | flake-templates-6c77f250fc4339fcb52691485e207a0118586d17.tar.gz flake-templates-6c77f250fc4339fcb52691485e207a0118586d17.zip |
feat(latex/preamble/graphics_and_figures): Switch from TikZ externalize to manual import
-rw-r--r-- | common/latex/preamble/core/graphics_and_floats.tex | 8 |
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} +} |