Questions tagged [commutative-diagrams]

Questions regarding the creation of commutative diagrams. Use this tag if you can't find a more specific tag for one of these packages: https://www.ctan.org/topic/diagram-comm

Filter by
Sorted by
Tagged with
1
vote
1answer
30 views

Tikzcd “Crossing Over” Background Color?

I'm making a Tikzcd diagram but I wanted to add color to the background of my document like so: However, there's clearly an issue with the middle diagram. In the middle diagram, I wanted to make ...
2
votes
2answers
129 views

Cube of math in equations

How did they make the "cube of math" images in equations on pages 219, 222, 223, etc. of this article? https://annals.math.princeton.edu/wp-content/uploads/annals-v159-n1-p03.pdf Here is an example:
0
votes
2answers
38 views

tikz-cd commutative diagram special form

I am using the tikz-cd package. How can I draw the above diagram in LaTeX?
4
votes
4answers
151 views

Labelling arrows drawn to paths in tikz-cd

I'm trying to draw a (commutative) diagram using tikz-cd. The package manual, in section 3.2, describes how to use to path for fine-grained control of the shapes of arrows, but says little on how to ...
-2
votes
1answer
98 views

How can I have dots in my 3D diagram? I cannot add the diagonal dots, the slopes are different [closed]

I am trying to make his diagram. But I realized that \diagdots does not work due to different slopes with \arrow{dr}. Can you please help me?
0
votes
0answers
45 views

Tikz-cd: What exactly does \arrow{rr} do in contrast to \arrow{r}, and how does it relate to “&&” versus “&”?

So I've used the wonderful tool "tikz-cd editor": https://tikzcd.yichuanshen.de/ I am also using Overleaf for what it's worth. \arrow[rr, "\digamma"] versus \arrow[r, "\digamma"] I'm guessing what ...
2
votes
1answer
31 views

How do you draw a commutative diagram inside another commutative diagram in tikz?

I have this commutative diagram to draw : I have no idea how to get the inner diagram to properly display and not mess with the whole thing. I can get the outer one but as soon as I do anything to ...
2
votes
1answer
39 views

How can we change the positions of the labels on a Tikz-cd commutative diagram?

With this code \begin{tabular}{cc} \begin{tikzcd} & B \arrow{dr}{g} \\ A \arrow{ur}{f} \arrow{rr}{h} && C \end{tikzcd} & ...
2
votes
2answers
43 views

Adjusting arrows in this diagram

My code is: \documentclass[a4paper]{book} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[column sep=large, row sep=huge] Hom_{\Gamma}(\mathcal{B}(G),A)\arrow{r}{\rho}\arrow{rd} & Hom_{\...
0
votes
1answer
35 views

Problem with a long commutative diagram

Trying to draw this commutative diagram: I have been able to draw the right part: \begin{tikzcd} & (U_i\cap U_j)\times\mathbb{C}^n \arrow[dd,"id\times g_{ij}=\varphi_j\circ\varphi_i^{-1}"] \\ \...
7
votes
4answers
724 views

Problem with a commutative diagram

I want to draw this diagram: And I have tried out the following code which is not working: \[ \begin{tikzcd} & E \arrow{r}{u} \arrow{dr}{$\pi$} & {E^'}\arrow{dl}{$\pi^'$}\\ &...
1
vote
1answer
43 views

How to draw arrow outside of a diagram

I'm trying to draw this diagram I tried this \begin{tikzcd} A \arrow{r} \arrow[swap]{d} \arrow[bend left]{dr}& B \arrow{d} \\ C \arrow{r} & D \end{tikzcd} but what I get is
2
votes
3answers
154 views

How do I type a \subset but facing upward?

I am trying to draw a commutative diagram using tikz-cd. I have two sets A,B, placed in an up-down manner. Now I want to typeset $A\subset B$, but given their relative positions the \subset notation ...
1
vote
0answers
32 views

Commutative Diagram not working for slides [duplicate]

I asked this question some times ago and the given solution perfectly worked for me. Now I am trying to draw the same thing in a slide and it's not working. Here's the code I used: \begin{frame} \...
6
votes
2answers
119 views

Script for dualizing diagrams in tikzcd by mirroring

My question is very similar to this one but in some cases I would prefer my diagrams to be mirrored instead of rotated. Are anyone able to write a script like this in LaTeX? As an example I have this ...
1
vote
1answer
87 views

Using Tikz-cd “to path=” to Illustrate Composition of Natural Transformations

I'm having two issues in Tikz-cd in trying to make the following picture: which appears in Categories for the Working Mathematician by Saunders Mac Lane. I've looked at the documentation for Tikz-cd, ...
4
votes
1answer
182 views

Want to draw this commutative diagram

Not a pro in Latex, struggling to draw this commutative diagram. Any help is appreciated.
2
votes
1answer
75 views

New shape format of a singe node in tikzcd (rewrite cells option)

I need your help. How to get a new custom shape of a node in a tikzcd diagramm which uses option cells={nodes={ellipse}}? I've tried to use a trick with |[cells={nodes={draw=red, rectangular}}]|, ...
4
votes
3answers
101 views

Define functions in a tikzcd diagram

I have this diagram \begin{tikzcd} & N \arrow[twoheadrightarrow]{d}{\pi}\\ R^{\bigoplus\mathcal{I}} \arrow{r}{\gamma} \arrow{ur}{\beta} & M \end{tikzcd} Now I want ...
1
vote
1answer
70 views

center text over arrow in a diagram

I have this diagram, but a and c are not over the center of arrow and I want a and c over the center of arrow. How can I do it? \xymatrix{X \ar[r]^{a} \ar@/_2pc/[rr]_{b} & Y \ar[r]^{c} & Z}
1
vote
1answer
62 views

Two long exact sequences

I want to write a commutative diagram consisting of two long exact sequences with maps between them. I wrote the following code but it could not compile. Please help. \documentclass[12pt]{article} \...
4
votes
1answer
140 views

Pushout commutative diagram

Can someone explain to me this command right above the document command step by step: \documentclass{article} \usepackage{amssymb,amsmath} \usepackage{xypic} \usepackage[czech]{babel} \newcommand{\...
5
votes
3answers
102 views

Aligning object in a commutative diagram

MWE: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{tikz-cd} \usepackage{faktor} \begin{document} I'd like the first line of the following diagram to be ...
3
votes
2answers
85 views

In XY-pic, two parallel arrows passing under a shape are not parallel when they are separated by distance

I want to draw a commutative diagram with xy-pic package similar to the figure shown below. The two arrows from C to D and vice versa should pass under the rectangle ABEF, be separated by a distance, ...
3
votes
1answer
423 views

How do I add two sided arrow in this chain of commutative diagram?

I want to build a chain of commutative diagram I did get the code here for building the commutative diagram. This is the code. \documentclass[12pt,twoside,a4paper]{report} \usepackage{tikz-cd} %\...
2
votes
0answers
111 views

Commutative diagram not working on tikzcd [closed]

I'm using the \usepackage{tikz-cd} and I'm trying to make a commutative diagram. Why doesn't this simple code work? $$ \begin{tikzcd} A \arrow {rd}{f} \arrow{r}{\phi} & B \\ & C \end{...
4
votes
1answer
151 views

Typsetting diagram chases (with TikZ?)

Background. I recently came across a Youtube video with a bunch of really nicely typeset 'diagram chases' that seem to have been made in TeX (perhaps TikZ?): I'd like to create something similar for ...
2
votes
1answer
34 views

Commutative diagram with non-uniform arrows

I wrote following program for a commutative diagram. \begin{tikzcd} 0\arrow[r] & M\arrow[r]\arrow[d] & N\arrow[r]\arrow[d] & K\arrow[d]\\ 0\arrow[r] & M'\arrow[r] & N' \...
0
votes
1answer
300 views

Labeling arrows in commutative diagrams

I draw a commutative diagram by following commands, but I was unable to put labels on maps (Arrows). The diagram commands are as below: \begin{center} \tikzcdset{row sep/normal=2cm} \begin{tikzcd} &...
3
votes
2answers
368 views

Mapping arrows in commutative diagrams

In making commutative diagrams in tikz-cd I've been wanting to add in 'mapping' arrows that describe what particular elements map to, parallel to the main diagram arrows. I've been doing it in the ...
0
votes
0answers
30 views

Drawing Triangular Diagrams [duplicate]

So I was looking at this site Creating triangle commutative diagram with tikz-cd and basically this allows one to draw a diagram from A to B, B to C, and B to A. What if I want a diagram from A to ...
1
vote
1answer
109 views

Length vertical arrow in commutative diagram

Consider the following code for a commutative diagram \begin{tikzcd}[column sep=50pt] A \arrow{d}\arrow{r} & B \arrow[leftarrow]{dl}\\ C \end{tikzcd} I have been able to make the right arrow ...
5
votes
3answers
469 views

label a part of commutative diagram

\documentclass[12pt,reqno,a4paper]{amsart} \usepackage{extsizes} \usepackage{blindtext} \textheight 9.3in \textwidth 6.5in \calclayout \usepackage{amsmath,amsthm,amsfonts,amssymb} \usepackage{hyperref}...
-1
votes
3answers
96 views

Can I have this in LaTeX? [duplicate]

I just made a figure with text I had compiled in LaTeX and arrows added later: Is it possible to have some text connected by diagonal arrows like above, all in LaTeX code?
5
votes
5answers
524 views

How to define multiple functions in the same diagram?

I want to write something like this: So far I tried with tikzcd, but I did not manage to give the arrows the right placement and length.
3
votes
2answers
298 views

Composition of natural transformations diagram

I'd like to draw a diagram with tikz-cd for a composition of natural transformations between functors that looked like the following The best I could do so far is given by the following code: \...
7
votes
3answers
172 views

How to arrange commutative diagrams in displayed form

I would like to arrange the following three diagrams \[ \begin{tikzcd} Z\arrow[dr, "h", dashed]\arrow[drr, "g", bend left]\\ & X\arrow[r, "f"] & Y \end{tikzcd} ...
2
votes
2answers
89 views

equations in tikz commutative diagram

This question had good answers, here: equation label within commutative diagram and I thank everyone again. But the text is very sensitive to changes, so when I try to change what people suggested, ...
3
votes
1answer
241 views

Arrow from top arrow to bottom arrow

Consider: \documentclass[14pt,reqno,a4paper]{amsart} \usepackage{extsizes} \usepackage{blindtext} \textheight 9.3in \textwidth 6.5in \calclayout \usepackage{amsmath,amsthm,amsfonts,amssymb} \...
3
votes
4answers
297 views

node position in tikz-cd

I'd like to get the appended below commutative diagram by using tikz-cd. The source has been made in TeX, and the positioning of the nodes at the bottom row i.e. coker ker f and ker coker f have been ...
2
votes
1answer
141 views

isomorphism in xymatrix

Consider the tex: \xymatrix{ M \ar[r]^{f}\ar[d]_{h} & N \ar@{-->}[dl]^{g} \\ P} If f is isomorphism, not identity. How to change the tex? If I replace \ar[r]^{f} by \ar@{\cong }[r]^...
3
votes
2answers
209 views

equation label within commutative diagram

I would like a commutative diagram like \begin{equation*} \begin{tikzcd}[row sep=huge] A \, \arrow[r] \arrow[d] & B \arrow[d] \\ C & D \arrow[l] \\ \end{tikzcd} \end{...
2
votes
1answer
65 views

tikz-cd package, trivial example but with an error while compiling

I want to draw a very simple $\LaTeX$ diagram with tikz package, but it gives me an error, see below: SOURCE: \documentclass{article} \usepackage{amssymb} \usepackage[czech]{babel} \usepackage[utf8]...
0
votes
2answers
1k views

Diagram of Short exact sequences

Can someone help me. I want to write morphisms between all objects \[ \setlength{\arraycolsep}{1pt} \begin{array}{*{9}c} 0 &\Lrightarrow & X & \Lrightarrow & Y & \...
4
votes
1answer
111 views

Commutative diagram using TikZ

\begin{tikzcd} A \arrow{rr}\arrow{dr} & & B \arrow{rr}\arrow{dl} & & C \\ & D \arrow{dr} \\ ...
3
votes
2answers
172 views

Natural transformation commutative square

How can I create this diagram with xymatrix? The result of my try is \[ \raise 23pt \vbox{ \xymatrixcolsep{2.5pc} \xymatrixrowsep{2.4pc} \xymatrix{ A'\ar[d]_{u'}\ar[r]^{v} \ar@{-->}[dr]_{\...
3
votes
1answer
114 views

reshape a diagram with xymatrix

I am using xymatrix for the following diagram \eq &&\xymatrix{ &X\times Y\times X\times Y&& \\ &X\times X\times Y \ar@{^{(}->}[u]_-{j}\ar[ld]_{q}\ar[rd]&&\\ ...
1
vote
1answer
199 views

Tikz-cd arrow bending and loop for indicating that portion of diagram commutes

I am trying to get the arrow from $R$ to $R[x]$ to cooperate with me and go alongside the LHS of the picture. Here is my MWE: \begin{tikzcd} & R \arrow[d, "f"] \arrow[ld, "\phi"', hook'] \...
1
vote
1answer
65 views

Diagrams and xy-pic package

I want to reproduce the shape of the following diagram : And the closest thing I could manage with the xy package was : $$ \xymatrix{ &B \ar[r] & H \ar[r] & B \ar[rd] \\ E'...
1
vote
0answers
85 views

diagrams.sty can't draw \ruTo(4,2)

I ran into a problem of drawing an arrow \ruTo(4,2). The following example didn't draw the diagonal arrow, as in However, it works well for \rdTo(4,2) and \ruTo(2,2), as in and I'm really ...