diff options
author | Karl Berry <karl@freefriends.org> | 2011-12-11 22:46:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-12-11 22:46:31 +0000 |
commit | 7158919adc92478a4718547983f2acdb38911965 (patch) | |
tree | 6a06ec87dcc99b837d1f11b7cf009d45eb1d6b9b /Master/texmf-dist/tex/latex/tikz-cd | |
parent | e0fc802c8d83f41a6ab68f208e2253412159b8a7 (diff) |
tikz-cd (11dec11)
git-svn-id: svn://tug.org/texlive/trunk@24828 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-cd')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty | 22 |
1 files changed, 13 insertions, 9 deletions
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 336eaa246a0..d7d13d98166 100644 --- a/Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty +++ b/Master/texmf-dist/tex/latex/tikz-cd/tikz-cd.sty @@ -5,7 +5,7 @@ % 1. under the LaTeX Project Public License and/or % 2. under the GNU Public License. % -\ProvidesPackage{tikz-cd}[2011/10/21 v0.2 Commutative diagrams with tikz.] +\ProvidesPackage{tikz-cd}[2011/12/09 v0.2a Commutative diagrams with tikz.] \RequirePackage{tikz} \usetikzlibrary{matrix} @@ -36,12 +36,14 @@ text height=, text depth=, /tikz/fill=\pgfkeysvalueof{/tikz/commutative diagrams/background color}, - /tikz/inner sep=\pgfkeysvalueof{/tikz/commutative diagrams/description clearance}}, + /tikz/inner sep=% + \pgfkeysvalueof{/tikz/commutative diagrams/description clearance}}, crossing over/.style={ /tikz/preaction={ /tikz/draw=\pgfkeysvalueof{/tikz/commutative diagrams/background color}, /tikz/arrows=-, - /tikz/line width=\pgfkeysvalueof{/tikz/commutative diagrams/crossing over clearance}}}, + /tikz/line width=% + \pgfkeysvalueof{/tikz/commutative diagrams/crossing over clearance}}}, row sep/.code={\tikzcd@sep{row}{#1}}, column sep/.code={\tikzcd@sep{column}{#1}}, math mode/.is if=tikzcd@mathmode, @@ -50,7 +52,6 @@ /tikz/nodes={ execute at begin node=\iftikzcd@mathmode$\fi, %$ execute at end node=\iftikzcd@mathmode$\fi}}, %$ - path operation/.store in=\tikzcd@pathoperator, start anchor/.code={% \ifx#1\pgfkeysnovalue\let\tikzcd@sourceanchor\empty% \else\def\tikzcd@sourceanchor{.#1}\fi}, @@ -91,7 +92,8 @@ leftarrowtail/.style={/tikz/arrows=cm to-cm to reversed}, twoheadrightarrow/.style={/tikz/arrows=cm cap-cm double to}, twoheadleftarrow/.style={/tikz/arrows=cm double to-cm cap}, - rightsquigarrow/.style={/tikz/commutative diagrams/.cd,rightarrow,squiggly}, + rightsquigarrow/.style={ + /tikz/commutative diagrams/.cd,rightarrow,squiggly}, leftsquigarrow/.style={/tikz/commutative diagrams/.cd,leftarrow,squiggly}, leftrightsquigarrow/.style={ /tikz/commutative diagrams/.cd,leftrightarrow,squiggly}, @@ -144,7 +146,7 @@ rightarrowtail/.style={/tikz/arrows=>->}, leftarrowtail/.style={/tikz/arrows=<-<}, twoheadrightarrow/.style={/tikz/arrows=->>}, - twoheadleftarrow/.style={/tikz/arrows=<<-}, + twoheadleftarrow/.style={/tikz/arrows=<<-}, %>> rightsquigarrow/.style={ /tikz/commutative diagrams/.cd, rightarrow, @@ -175,8 +177,11 @@ amplitude=.9, post=lineto, post length=2pt, pre=lineto, pre length=2pt}}, + dashed/.style={/tikz/dashed}, double line/.style={ - /tikz/double=\pgfkeysvalueof{/tikz/commutative diagrams/background color}}}} + /tikz/double equal sign distance, + /tikz/double=% + \pgfkeysvalueof{/tikz/commutative diagrams/background color}}}} % Default settings \pgfqkeys{/tikz/commutative diagrams}{ @@ -212,7 +217,6 @@ column sep/small/.initial=3ex, column sep/tiny/.initial=1.5ex, arrow style=computer modern, - path operation=to, start anchor, end anchor, description clearance/.initial=1.5pt, @@ -255,7 +259,7 @@ \the\tikzcd@temptoksa% the current arrow (\tikzmatrixname-\the\tikzcd@currrow-\the\tikzcd@currcol% \noexpand\tikzcd@sourceanchor)% - \noexpand\tikzcd@pathoperator% + to% \the\tikzcd@temptoksb% the current labels (\tikzmatrixname-\the\tikzcd@targetrow-\the\tikzcd@targetcol% \noexpand\tikzcd@targetanchor);}} |