463
|
1 \documentclass{jarticle}
|
|
2 \usepackage[dvipdfm]{graphicx}
|
|
3 \usepackage{tikz}
|
|
4 \usepackage{tikz-cd}
|
|
5 \usetikzlibrary{matrix,arrows,decorations.pathmorphing}
|
|
6 \usetikzlibrary{positioning}
|
|
7 \usepackage{amsmath}
|
|
8
|
|
9 \begin{document}
|
|
10
|
|
11 \date{}
|
|
12 \title{{\bf Commutative Diagram Exmamples}}
|
|
13 \author{}
|
|
14
|
|
15 The tikz package
|
|
16 This is a general purpose graphics package. To load it for this document, I used:
|
|
17
|
|
18
|
|
19
|
|
20 \begin{tikzcd}
|
|
21 A \arrow{r}{a} \arrow{d}{b}
|
|
22 &B \arrow{d}{c}\\
|
|
23 C \arrow{r}{d} &D
|
|
24 \end{tikzcd}
|
|
25
|
|
26
|
|
27 \begin{tikzpicture}[scale=1.5]
|
|
28 \node (A) at (0,1) {$A$};
|
|
29 \node (B) at (1,1) {$B$};
|
|
30 \node (C) at (0,0) {$C$};
|
|
31 \node (D) at (1,0) {$D$};
|
|
32 \path[->,font=\scriptsize,>=angle 90]
|
|
33 (A) edge node[above]{$a$} (B)
|
|
34 (A) edge node[right]{$b$} (C)
|
|
35 (B) edge node[right]{$c$} (D)
|
|
36 (C) edge node[above]{$d$} (D);
|
|
37 \end{tikzpicture}
|
|
38
|
|
39
|
|
40 This is part of: Guide to Commutative Diagrams, www.jmilne.org/not/CDGuide.html Last revised October 30, 2012
|
|
41
|
|
42 \begin{tikzcd}
|
|
43 ABC A \arrow[hook]{r}\arrow[two heads]{rd}
|
|
44 &B \arrow[dotted]{d}\arrow[hookleftarrow]{r}
|
|
45 &C \arrow[two heads]{ld}\\ D &D
|
|
46 \end{tikzcd}
|
|
47
|
|
48
|
|
49 \begin{tikzcd}
|
|
50 A \arrow[hook]{r}{u}[swap]{b}
|
|
51 Aub Bub C \arrow[two heads]{rd}{u}[swap]{b}
|
|
52 &B \arrow[dotted]{d}{r}[swap]{l}
|
|
53 \arrow[hookleftarrow]{r}{u}[swap]{b}
|
|
54 D &C \arrow[two heads]{ld}{b}[swap]{u}\\ &D
|
|
55 \end{tikzcd}
|
|
56
|
|
57 \begin{tikzcd}
|
|
58 A\arrow{r}\arrow{d}
|
|
59 &B\arrow{r}{\text{very long label}}\arrow{d}
|
|
60 &C\arrow{d}\\
|
|
61 DEF D\arrow{r}&E\arrow{r}&F
|
|
62 \end{tikzcd}
|
|
63
|
|
64 % \begin{tikzcd}[column sep=large]
|
|
65 % A\arrow{r}\arrow{d}
|
|
66
|
|
67
|
|
68 \begin{tikzcd}
|
|
69 A B A\arrow[bend left]{r}\arrow[bend right]{r}&B
|
|
70 \end{tikzcd}
|
|
71
|
|
72
|
|
73 \begin{tikzcd}
|
|
74 T\arrow[bend left]{drr}{x}
|
|
75 \arrow[bend right]{ddr}[swap]{y}
|
|
76 \arrow[dotted]{dr}[description]{(x,y)} & & \\
|
|
77 & X \times_Z Y \arrow{r}{p} \arrow{d}{q} & X \arrow{d}{f} \\
|
|
78 & Y \arrow{r}{g} & Z
|
|
79 \end{tikzcd}
|
|
80
|
|
81
|
|
82
|
|
83
|
|
84
|
|
85
|
|
86 \begin{tikzpicture}
|
|
87 \node (A) at (-1,0) {$A$};
|
|
88 \node (B) at (1,0) {$B$};
|
|
89 \node at (0,0) {\rotatebox{270}{$\Rightarrow$}};
|
|
90 \path[->,font=\scriptsize,>=angle 90]
|
|
91 (A) edge [bend left] node[above] {$\alpha$} (B)
|
|
92 edge [bend right] node[below] {$\beta$} (B);
|
|
93 \end{tikzpicture}
|
|
94
|
|
95 \begin{tikzpicture}
|
|
96 \node (P0) at (90:2.8cm) {$X\otimes (Y\otimes (Z\otimes T))$};
|
|
97 \node (P1) at (90+72:2.5cm) {$X\otimes ((Y\otimes Z)\otimes T))$} ;
|
|
98 \node (P2) at (90+2*72:2.5cm) {${(X\otimes (Y\otimes Z))}\otimes T$};
|
|
99 \node (P3) at (90+3*72:2.5cm) {$((X\otimes Y){\otimes Z)\otimes T}$};
|
|
100 \node (P4) at (90+4*72:2.5cm) {$(X\otimes Y)\otimes (Z\otimes T)$};
|
|
101 \draw
|
|
102 (P0) edge[->,>=angle 90] node[left] {$1\otimes\phi$} (P1)
|
|
103 (P1) edge[->,>=angle 90] node[left] {$\phi$} (P2)
|
|
104 (P2) edge[->,>=angle 90] node[above] {$\phi\otimes 1$} (P3)
|
|
105 (P4) edge[->,>=angle 90] node[right] {$\phi$} (P3)
|
|
106 (P0) edge[->,>=angle 90] node[right] {$\phi$} (P4);
|
|
107 \end{tikzpicture}
|
|
108
|
|
109
|
|
110 \begin{tikzpicture}
|
|
111 \node (a) at (0,0) {$Y\times_X Y$};
|
|
112 \node (b) at (2,0) {$Y$};
|
|
113 \node (c) at (3.5,0) {$X$};
|
|
114 \path[->,font=\scriptsize,>=angle 90]
|
|
115 ([yshift= 2pt]a.east) edge node[above] {$p_1$} ([yshift= 2pt]b.west)
|
|
116 ([yshift= -2pt]a.east) edge node[below] {$p_2$} ([yshift= -2pt]b.west)
|
|
117 (b) edge (c);
|
|
118 \end{tikzpicture}
|
|
119
|
|
120 \begin{tikzpicture}[descr/.style={fill=white},text height=1.5ex, text depth=0.25ex]
|
|
121 \node (a) at (0,0) {$\mathsf{S}(Z)$};
|
|
122 \node (b) at (2.5,0) {$\mathsf{S}(X)$};
|
|
123 \node (c) at (5,0) {$\mathsf{S}(U).$};
|
|
124 \path[->,font=\scriptsize,>=angle 90]
|
|
125 ([yshift= 9pt]b.west) edge node[above] {$i^{\ast}$} ([yshift= 9pt]a.east)
|
|
126 (a.east) edge node[descr] {$i_{\ast}$} (b.west)
|
|
127 ([yshift= -9pt]b.west) edge node[below] {$i^!$} ([yshift= -9pt]a.east)
|
|
128 ([yshift= 9pt]c.west) edge node[above] {$j_!$} ([yshift= 9pt]b.east)
|
|
129 (b.east) edge node[descr] {$j^{\ast}$} (c.west)
|
|
130 ([yshift= -9pt]c.west) edge node[below] {$j_*$} ([yshift= -9pt]b.east);
|
|
131 \end{tikzpicture}
|
|
132
|
|
133
|
|
134 \begin{tikzpicture}[>=angle 90,scale=2.2,text height=1.5ex, text depth=0.25ex]
|
|
135 %%First place the nodes
|
|
136 \node (k-1) at (0,3) {$0$};
|
|
137 \node (k0) [right=of k-1] {$Ker f$};
|
|
138 \node (k1) [right=of k0] {$Ker a$};
|
|
139 \node (k2) [right=of k1] {$Ker b$};
|
|
140 \node (k3) [right=of k2] {$Ker c$};
|
|
141 \node (a1) [below=of k1] {$A$};
|
|
142 \node (a2) [below=of k2] {$B$};
|
|
143 \node (a3) [below=of k3] {$C$};
|
|
144 \node (a4) [right=of a3] {$0$};
|
|
145 \node (b1) [below=of a1] {$A’$};
|
|
146 \node (b0) [left=of b1] {$0$};
|
|
147 \node (b2) [below=of a2] {$B’$};
|
|
148 \node (b3) [below=of a3] {$C’$};
|
|
149 \node (c1) [below=of b1] {$Coker a$};
|
|
150 \node (c2) [below=of b2] {$Coker b$};
|
|
151 \node (c3) [below=of b3] {$Coker c$};
|
|
152 \node (c4) [right=of c3] {$Coker g’$};
|
|
153 \node (c5) [right=of c4] {$0$};
|
|
154 %%Draw the red arrows
|
|
155 \draw[->,red,font=\scriptsize]
|
|
156 (k-1) edge (k0)
|
|
157 (k0) edge (k1)
|
|
158 (k1) edge (k2)
|
|
159 (k2) edge (k3)
|
|
160 (c1) edge (c2)
|
|
161 (c2) edge (c3)
|
|
162 (c3) edge (c4)
|
|
163 (c4) edge (c5);
|
|
164 %%Draw the curvy red arrow
|
|
165 %\draw[->,red]
|
|
166 %(k3) edge[out=0,in=180,red] node[pos=0.55,yshift=5pt] {$d$} (c1);
|
|
167 %%Draw the black arrows
|
|
168 %\draw[->]
|
|
169 (k1) edge (a1)
|
|
170 (k2) edge (a2)
|
|
171 (k3) edge (a3)
|
|
172 (b1) edge (c1)
|
|
173 (b2) edge (c2)
|
|
174 (b3) edge (c3);
|
|
175 %%Draw the thick blue arrows
|
|
176 \draw[->,font=\scriptsize,blue,thick]
|
|
177 (a1) edge node[auto] {$f$} (a2)
|
|
178 (a2) edge node[auto] {$g$} (a3)
|
|
179 (a3) edge (a4)
|
|
180 (a1) edge node[auto] {$a$} (b1)
|
|
181 (a2) edge node[auto] {$b$} (b2)
|
|
182 (a3) edge node[auto] {$c$} (b3)
|
|
183 (b0) edge (b1)
|
|
184 (b1) edge node[below] {$f’$} (b2)
|
|
185 (b2) edge node[below] {$g’$} (b3);
|
|
186 \end{tikzpicture}
|
|
187
|
|
188
|
|
189 \end{document}
|