From 7efb15abe6e84cc86b0ae443bce6d7c85c4e01a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 9 Sep 2021 21:46:33 +0200 Subject: [PATCH] move figure handling (tikz, pgf etc) into own package --- math/mkessler-mathfig.sty | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 math/mkessler-mathfig.sty diff --git a/math/mkessler-mathfig.sty b/math/mkessler-mathfig.sty new file mode 100644 index 0000000..9fbe017 --- /dev/null +++ b/math/mkessler-mathfig.sty @@ -0,0 +1,25 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{mkessler-mathfig}[2021/03/31 - Math figures with TikZ / pgfplots / xy] + +%%%%%%%% +% This is just a collection of the packages I use to typeset mathematical figures +% most commonly plots, commutative diagrams or geometry + + + +\RequirePackage{pgfplots} % Plots +\pgfplotsset{compat=1.7} + +\RequirePackage{tikz} % Plots / drawings +\usetikzlibrary{calc, intersections, through, quotes, angles, babel, positioning, snakes} + +\RequirePackage{tikz-cd} %Commutative diagrams + + +%%for small diagrams, similar to tikz-cd +\RequirePackage[all]{xy} % for small diagrams, e.g. arrows +%%% In older versions, you found +% \RequirePackage{xy} +% \xyoption{all} +% here, but this messes with the catcode of the @ sign (which no package should do!) +% so that further parts in this package would get broken