From b9aed4ddd78292b8bd3e7318fc5c49d5dff60750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler=20=28via=20gitlab=20runner=29?= Date: Mon, 27 Jun 2022 15:10:18 +0000 Subject: [PATCH] load missing decorations library for tikz-cd Build branch bachelor-thesis (8c5b9ad) from kesslermaximilian/LatexPackages --- build_info.json | 12 ++++----- math/mathfig/mkessler-mathfig.sty | 42 ++++++++++++++++--------------- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/build_info.json b/build_info.json index 6ebb733..ac627d2 100644 --- a/build_info.json +++ b/build_info.json @@ -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 }, { diff --git a/math/mathfig/mkessler-mathfig.sty b/math/mathfig/mkessler-mathfig.sty index 60277bd..7836e54 100644 --- a/math/mathfig/mkessler-mathfig.sty +++ b/math/mathfig/mkessler-mathfig.sty @@ -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,24 +98,26 @@ %% 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 = - { - 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); - \draw[#2] (ta-base-2) -- (0,-1pt); - } - } - } + double line with arrow/.style args = + {#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); + \draw[#2] (ta-base-2) -- (0,-1pt); + } + } + } } + \tikzset{Equal/.style={-,double line with arrow={-,-}}}