move figure handling (tikz, pgf etc) into own package
This commit is contained in:
parent
1808a78541
commit
7efb15abe6
1 changed files with 25 additions and 0 deletions
25
math/mkessler-mathfig.sty
Normal file
25
math/mkessler-mathfig.sty
Normal file
|
@ -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
|
Loading…
Reference in a new issue