load missing decorations library for tikz-cd

Build branch bachelor-thesis (8c5b9ad) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler 2022-06-27 15:10:18 +00:00
parent 2a2b37e49c
commit b9aed4ddd7
2 changed files with 28 additions and 26 deletions

View file

@ -1,8 +1,8 @@
{ {
"build_time": "", "build_time": "",
"source files": { "source files": {
"version": "v2.9-25-ge9f75cd", "version": "v2.9-26-g8c5b9ad",
"commit": "e9f75cd2200d15fad9c02b0a72f34344285b094a", "commit": "8c5b9ad7a43452dd729b066ea7818e2a7436a149",
"dirty": false "dirty": false
}, },
"pytex": { "pytex": {
@ -80,12 +80,12 @@
{ {
"name": "math/mathfig/mkessler-mathfig.sty", "name": "math/mathfig/mkessler-mathfig.sty",
"source file": "math/mathfig/mathfig.pysty", "source file": "math/mathfig/mathfig.pysty",
"build time": "2022/06/27 14:32", "build time": "2022/06/27 15:10",
"source version": "v2.9-24-g80377fc", "source version": "v2.9-26-g8c5b9ad",
"source commit hash": "80377fc7844887fae81a19280a0c96087eba99b0", "source commit hash": "8c5b9ad7a43452dd729b066ea7818e2a7436a149",
"pytex version": "v1.2.0-31-gc9bb0e8", "pytex version": "v1.2.0-31-gc9bb0e8",
"pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51", "pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51",
"md5sum": "6f848ca03baf737e0c926c6bac65a8a4", "md5sum": "fd27c49b9ffdb8bd8756095816488beb",
"dirty": false "dirty": false
}, },
{ {

View file

@ -31,7 +31,7 @@
% %
% Build details: % Build details:
% PyTeX version: v1.2.0-31-gc9bb0e8 (commit c9bb0e8) % PyTeX version: v1.2.0-31-gc9bb0e8 (commit c9bb0e8)
% Source code version: v2.9-24-g80377fc (commit 80377fc) % Source code version: v2.9-26-g8c5b9ad (commit 8c5b9ad)
% %
% This LaTeX package is free software and is dual-licensed % This LaTeX package is free software and is dual-licensed
% under the LPPLv1.3c and the GPLv3 licenses. % under the LPPLv1.3c and the GPLv3 licenses.
@ -59,7 +59,7 @@
\pgfplotsset{compat=1.7} \pgfplotsset{compat=1.7}
\RequirePackage{tikz} % Plots / drawings \RequirePackage{tikz} % Plots / drawings
\usetikzlibrary{calc, intersections, through, quotes, angles, babel, positioning, snakes} \usetikzlibrary{calc, intersections, through, quotes, angles, babel, positioning, snakes, decorations.markings}
\RequirePackage{tikz-cd} %Commutative diagrams \RequirePackage{tikz-cd} %Commutative diagrams
\RequirePackage{xparse} \RequirePackage{xparse}
@ -98,24 +98,26 @@
%% Fix for equal arrows in tikz, see %% Fix for equal arrows in tikz, see
% https://tex.stackexchange.com/questions/443017/equal-arrows-without-transparent-ends-possible-in-tikzcd % https://tex.stackexchange.com/questions/443017/equal-arrows-without-transparent-ends-possible-in-tikzcd
\usetikzlibrary{decorations.markings}
\tikzset { \tikzset {
double line with arrow/.style args= double line with arrow/.style args =
{ #1, #2 } {#1,#2}%
{ decorate, decoration = {
{ decorate, decoration =
markings, {
mark = at position 0 with markings,
{ mark = at position 0 with
\coordinate (ta-base-1) at (0,1pt); {
\coordinate (ta-base-2) at (0,-1pt); \coordinate (ta-base-1) at (0,1pt);
}, \coordinate (ta-base-2) at (0,-1pt);
mark = at position 1 with }
{ ,
\draw[#1] (ta-base-1) -- (0,1pt); mark = at position 1 with
\draw[#2] (ta-base-2) -- (0,-1pt); {
} \draw[#1] (ta-base-1) -- (0,1pt);
} \draw[#2] (ta-base-2) -- (0,-1pt);
} }
}
}
} }
\tikzset{Equal/.style={-,double line with arrow={-,-}}} \tikzset{Equal/.style={-,double line with arrow={-,-}}}