1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
|
# tikz-cd package
# Fernando Muro, 5 Nov 2017
# muzimuzhi, 23 Jan 2020, tikz-cd v0.9f
# Matthew Bertucci, 7/29/2021, v1.0
#include:tikz
\begin{tikzcd}#\array,math
\begin{tikzcd}[options%keyvals]#\array,math
\end{tikzcd}
\arrow[%<options%>]#/tikzcd
\arrow[%<options%>]{%<direction%>}{%<label%>}#*/tikzcd
\arrow[%<options%>]{%<direction%>}[%<label options%>]{%<label%>}#*/tikzcd
\ar[%<options%>]#*/tikzcd
\rar[%<options%>]#*/tikzcd
\rar[%<options%>]{%<label%>}#*/tikzcd
\lar[%<options%>]#*/tikzcd
\lar[%<options%>]{%<label%>}#*/tikzcd
\dar[%<options%>]#*/tikzcd
\dar[%<options%>]{%<label%>}#*/tikzcd
\uar[%<options%>]#*/tikzcd
\uar[%<options%>]{%<label%>}#*/tikzcd
\drar[%<options%>]#*/tikzcd
\drar[%<options%>]{%<label%>}#*/tikzcd
\urar[%<options%>]#*/tikzcd
\urar[%<options%>]{%<label%>}#*/tikzcd
\dlar[%<options%>]#*/tikzcd
\dlar[%<options%>]{%<label%>}#*/tikzcd
\ular[%<options%>]#*/tikzcd
\ular[%<options%>]{%<label%>}#*/tikzcd
\tikzcdset{options%keyvals}
\tikzcd#S
\endtikzcd#S
## arrow types
#keyvals:\arrow#c,\ar#c,\rar#c,\lar#c,\dar#c,\uar#c,\drar#c,\urar#c,\dlar#c,\ular#c
to head
rightarrow
leftarrow
leftrightarrow
Rightarrow
Leftarrow
Leftrightarrow
maps to
mapsto
mapsfrom
Mapsto
Mapsfrom
hook
hook'
hookrightarrow
hookleftarrow
dashed
dashrightarrow
dashleftarrow
tail
rightarrowtail
leftarrowtail
squiggly
rightsquigarrow
leftsquigarrow
leftrightsquigarrow
two heads
twoheadrightarrow
twoheadleftarrow
no head
no tail
dash
equal
harpoon
harpoon'
rightharpoonup
rightharpoondown
leftharpoonup
leftharpoondown
#endkeyvals
## appearance of diagrams
#keyvals:\tikzcdset#c,\begin{tikzcd}#c
every diagram
diagrams={%<options%>}
every matrix
every cell
cells={%<options%>}
row sep=##L
column sep=##L
sep=##L
cramped
math mode#true,false
background color=#%color
every arrow
arrows={%<options%>}
arrow style=#Latin Modern,math font,tikz
every label
labels={%<options%>}
center yshift=##L
ampersand replacement=%<macro%>
#endkeyvals
## shared cd keys
#keyvals:\arrow#c,\ar#c,\rar#c,\lar#c,\dar#c,\uar#c,\drar#c,\urar#c,\dlar#c,\ular#c,\tikzcdset#c,\begin{tikzcd}#c
shorten=##L
crossing over
crossing over clearance=##L
marking
description
# some useful shared TikZ keys
%color
color=#%color
in=%<degrees%>
out=%<degrees%>
font=%<font commands%>
line width=##L
#endkeyvals
## arrow keys
#keyvals:\arrow#c,\ar#c,\rar#c,\lar#c,\dar#c,\uar#c,\drar#c,\urar#c,\dlar#c,\ular#c
from=
to=
phantom
shift left=##L
shift right=##L
shift={%<coordinate%>}
xshift=##L
yshift=##L
start anchor=%<anchor%>
start anchor={[%<coord transforms%>]%<anchor%>}
end anchor=%<anchor%>
end anchor={[%<coord transforms%>]%<anchor%>}
# some useful TikZ keys for arrows
bend left
bend left=%<degrees%>
bend right
bend right=%<degrees%>
near start
near end
very near start
very near end
above
below
left
right
swap
to path={%<path spec%>}
#endkeyvals
\tikzcdmatrixname#*
|