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

View file

@ -31,7 +31,7 @@
%
% Build details:
% 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
% under the LPPLv1.3c and the GPLv3 licenses.
@ -59,7 +59,7 @@
\pgfplotsset{compat=1.7}
\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{xparse}
@ -98,18 +98,19 @@
%% Fix for equal arrows in tikz, see
% https://tex.stackexchange.com/questions/443017/equal-arrows-without-transparent-ends-possible-in-tikzcd
\usetikzlibrary{decorations.markings}
\tikzset {
double line with arrow/.style args =
{ #1, #2 }
{ decorate, decoration =
{#1,#2}%
{
decorate, decoration =
{
markings,
mark = at position 0 with
{
\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);
@ -118,4 +119,5 @@
}
}
}
\tikzset{Equal/.style={-,double line with arrow={-,-}}}