about summary refs log tree commit diff stats
path: root/build/latex/academia/headers/preamble
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 12:31:16 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 12:31:16 +0200
commit1cb8504a4dfcf5977411267c80d4ee62a180c2d6 (patch)
tree69c696740bdc1a8c6b9c205ec0d3c2c47cd2e32b /build/latex/academia/headers/preamble
parentfix(templates/latex/academia/main.tex): Default to `draft` mode (diff)
downloadflake-templates-1cb8504a4dfcf5977411267c80d4ee62a180c2d6.tar.gz
flake-templates-1cb8504a4dfcf5977411267c80d4ee62a180c2d6.zip
chore(build): Regenerate
Diffstat (limited to 'build/latex/academia/headers/preamble')
-rw-r--r--build/latex/academia/headers/preamble/core/graphics_and_floats.tex8
-rw-r--r--build/latex/academia/headers/preamble/core/index.tex2
-rw-r--r--build/latex/academia/headers/preamble/core/references.tex2
3 files changed, 6 insertions, 6 deletions
diff --git a/build/latex/academia/headers/preamble/core/graphics_and_floats.tex b/build/latex/academia/headers/preamble/core/graphics_and_floats.tex
index c0784c9..c71fc2a 100644
--- a/build/latex/academia/headers/preamble/core/graphics_and_floats.tex
+++ b/build/latex/academia/headers/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}
+}
diff --git a/build/latex/academia/headers/preamble/core/index.tex b/build/latex/academia/headers/preamble/core/index.tex
index a52cc20..3efbfc4 100644
--- a/build/latex/academia/headers/preamble/core/index.tex
+++ b/build/latex/academia/headers/preamble/core/index.tex
@@ -4,5 +4,5 @@
 \ifdraft{
 	\usepackage{showidx}
 } {
-	\message {Draft packages not loaded, showidx not loaded.}
+	\message {Draft option not enabled, 'showidx' not loaded.}
 }
diff --git a/build/latex/academia/headers/preamble/core/references.tex b/build/latex/academia/headers/preamble/core/references.tex
index e42b22f..179d903 100644
--- a/build/latex/academia/headers/preamble/core/references.tex
+++ b/build/latex/academia/headers/preamble/core/references.tex
@@ -33,5 +33,5 @@
 \ifdraft{
 	\usepackage{showlabels}
 } {
-	\message {Draft packages not loaded, 'showlabels' not loaded.}
+	\message {Draft option not enabled, 'showlabels' not loaded.}
 }