diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex b/Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex index b5ab8c2d10a..1879a235a72 100644 --- a/Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex +++ b/Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex @@ -1,6 +1,6 @@ -% tikzlibrarycd.code.tex [2014/10/30 v0.9e Commutative diagrams with tikz] +% tikzlibrarycd.code.tex [2018/11/19 v0.9f Commutative diagrams with TikZ] % -% Copyright 2011, 2012, 2014 by FlorĂȘncio Neves <florencioneves@gmail.com> +% Copyright 2011, 2012, 2014, 2018 by Augusto Stoffel % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -26,12 +26,23 @@ labels/.code={\tikzcdset{every label/.append style={#1}}}, cells/.code={\tikzcdset{every cell/.append style={#1}}}, diagrams/.code={\tikzcdset{every diagram/.append style={#1}}}, - execute before arrows/.code={\expandafter\def\expandafter\tikzcd@before@paths@hook\expandafter{\tikzcd@before@paths@hook#1}}, + execute before arrows/.code={% + \expandafter\def% + \expandafter\tikzcd@before@paths@hook% + \expandafter{\tikzcd@before@paths@hook#1}}, to/.code={\tikzcd@setarrowend\tikzcd@ar@target{#1}}, from/.code={\tikzcd@setarrowend\tikzcd@ar@start{#1}}, + shorten/.style={ + /tikz/shorten <=#1, + /tikz/shorten >=#1}, description/.style={ /tikz/anchor=center, /tikz/fill=\pgfkeysvalueof{/tikz/commutative diagrams/background color}}, + marking/.style={ + /tikz/font=, + /tikz/sloped, + /tikz/shape=asymmetrical rectangle, + /tikz/anchor=center}, phantom/.style={ /tikz/draw=none, /tikz/commutative diagrams/labels={ @@ -51,7 +62,7 @@ math mode/.is if=tikzcd@mathmode, arrow style/.is choice} -\def\tikzcd@sep#1#2{ +\def\tikzcd@sep#1#2{% \pgfkeysifdefined{/tikz/commutative diagrams/#1 sep/#2}% {\pgfkeysgetvalue{/tikz/commutative diagrams/#1 sep/#2}\tikzcd@temp% \pgfkeysalso{/tikz/#1 sep/.expand once=\tikzcd@temp}}% @@ -382,13 +393,13 @@ cache=false, bending mode=none, parameters={\tikzcd@glyph@len,\tikzcd@glyph@shorten}, - setup code={ + setup code={% \pgfarrowssettipend{\tikzcd@glyph@len\advance\pgf@x by\tikzcd@glyph@shorten}}, defaults={ glyph axis=axis_height, glyph length=+0.9ex, glyph shorten=+-0.1ex}, - drawing code={ + drawing code={% \pgfpathrectangle{\pgfpoint{+0pt}{+-1ex}}{\pgfpoint{+\tikzcd@glyph@len}{+2ex}}% \pgfusepathqclip% \pgftransformxshift{+\tikzcd@glyph@len}% |