diff options
author | Karl Berry <karl@freefriends.org> | 2018-11-20 21:50:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-11-20 21:50:34 +0000 |
commit | b770ac87eac01c038c8933df77490016f4265514 (patch) | |
tree | 6d3942c51925d0bdb0d4419a222aa606a479c67f /Master/texmf-dist/tex | |
parent | fbb567638ba8f9cda1f8079bd3111b74ab356738 (diff) |
tikz-cd (20nov18)
git-svn-id: svn://tug.org/texlive/trunk@49201 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/tikz-cd/tikzlibrarycd.code.tex | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty | 4 |
2 files changed, 19 insertions, 8 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}% diff --git a/Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty b/Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty index e94b351828a..00837096e48 100644 --- a/Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty +++ b/Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty @@ -1,4 +1,4 @@ -% 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 @@ -13,7 +13,7 @@ % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. -\ProvidesPackage{tikz-cd}[2014/10/30 v0.9e Commutative diagrams with tikz] +\ProvidesPackage{tikz-cd}[2018/11/19 v0.9f Commutative diagrams with TikZ] \RequirePackage{tikz}[2013/12/13] % pgf version 3.0.0 required \usetikzlibrary{cd} |