Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

1
vote
1answer
27 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
77 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
77 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
63 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, ...
0
votes
0answers
40 views

writing large commutative diagrams

I have a quite large commutative diagram and I was able to resize it but now it looks pretty impossible to be read \documentclass[12pt,leqno]{article} \usepackage{amssymb,amsmath,amsthm} \usepackage{...
3
votes
1answer
48 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
55 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
133 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
29 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
52 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
115 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
21 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 ...
0
votes
0answers
50 views

latexdiff does not work with the diagrams package

Here is a MWE showing a problem with using latexdiff with the diagrams package (for commutative diagrams). How can I fix this? new.tex: \documentclass{article} \usepackage{diagrams} \begin{...
1
vote
1answer
44 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
352 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
86 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
478 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
144 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
111 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
57 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
141 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
146 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
51 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
129 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
41 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
352 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
80 views

Commutative diagram using TikZ

\begin{tikzcd} A \arrow{rr}\arrow{dr} & & B \arrow{rr}\arrow{dl} & & C \\ & D \arrow{dr} \\ ...
3
votes
2answers
137 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
53 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
99 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
49 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
62 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 ...
2
votes
1answer
66 views

Arrows between tensor products

An arrow between tensor products $A\otimes B\to C\otimes D$ is determined by its components $A\to C$ and $B\to D$. Hence it seems natural to represent such an arrow by a pair of arrows. My question ...
1
vote
1answer
85 views

Downward Rightarrow for natural transformation, tikzcd

I am pretty sure this is out there on this site, but I did not find it after searching. How to draw a downward \Rightarrow in a commutative tikzcddiagram?
4
votes
1answer
191 views

Commutative diagrams and arrows

I'm trying to make a commutative diagram with tikzcd. Here's what I get: I want the hook from B to A to be upside down and the /simeq symbol over the arrow from C to D. Sample code: \documentclass[...
1
vote
2answers
98 views

How to draw commutative diagram? [duplicate]

I'm a Latex beginner, could you please help me to draw these diagrams? Thank you very much!
1
vote
1answer
153 views

Labelling a dotted arrow in tikz

I wrote the following code, trying to get a commuting triangle with one of the arrows being dotted. \begin{tikzcd}[column sep=1.5em] S \ar{dr}{f} \ar{rr}{m} && Y\arrow[dl,dotted]{g} \\ &...
3
votes
2answers
68 views

Tikz-cd commutative diagram not compiling?

Why is the following tikz-cd commutative diagram not compiling? It is giving me an error in the line \mathbb{R} \arrow{ru}{\phi\circ E^{-1}}. \begin{tikzcd}[column sep=large, row sep=large] \...
1
vote
1answer
197 views

scale xymatrix diagram

I have a commutative diagram similar to the one below that is way too big to fit on the page. Is there a way to scale the diagram down so that it fits? I read that this could be done using the tikz ...
2
votes
1answer
61 views

Using independent column alignments in two rows of a tikz-cd environment?

I have a sequence (of inclusions) that is too long for a single row, so I am forced to split it into two rows. The upper row contains 4 smaller objects (and 1 big one), while the lower row contains 3 ...
1
vote
1answer
169 views

How to draw first Homomorphism Theorem’s Graph

Good evening, I’d like to know whether there’s a way to exactly represent the following graph in latex, i tried using ‘cycles’ but the result didn’t satisfy me. There’s a way to exactly represent ...
2
votes
1answer
84 views

An arrow between two points using tikz-cd

I drew the following diagram. I want to write "j" as a description in the midway (between K and P) but it doesn't apear. My code is: \documentclass{article} \usepackage{amsmath,tikz-cd} \begin{...
3
votes
3answers
159 views

Latex Code for two parallel arrows and alignment in commutative diagram

&& P\times_{\mathcal{H}_0}Q\ar[rdd]\ar[ldd]\\ \mathcal{G}_1\ar[dd] &&\mathcal{H}_1\ar[dd]&&\mathcal{K}_1\ar[dd]\\ &P\ar[dl]\ar[dr]&&Q\ar[dl]\ar[dr]\\ \mathcal{G}_0&...
2
votes
3answers
213 views

Tikzcd sloped label on a vertical arrow: how do I separate the label from the arrow?

I'm trying to use the sloped option for arrow labels in the tikzcd package. With this option, the label winds up adjacent to the arrow most of the time, except when the arrow is vertical: \...
2
votes
1answer
238 views

Drawing a 3D commutative diagram

I was drawing a commutative-diagram when I had the (questionable?) idea of drawing a tetrahedral version of it. I used Asymptote in the hope of getting good-looking thumbnail and a nice embedded 3D ...
3
votes
1answer
173 views

How to draw an Auslander-Reiten quiver?

Please, help me in typesetting the following diagram, I'm not an expert in drawing with LaTeX.
2
votes
1answer
106 views

Align two tikz-cd pictures in itemize environment

In the following example, I want both A 's to be aligned. I messed around with the align environment, but I had no success. \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{...
2
votes
1answer
45 views

Drawing curves without arrows using xy-pic

Could you tell me how to remove the arrows of the curves using xy-pic? I didn't find the solution in xy-guide. Thanks advance for your help.
6
votes
1answer
168 views

Commutative diagram for modified cube

I want to draw the attached diagram of a modified cube for a tex document using tikz-cd package, but modifying from the command for a cube does not seem to work here. Any suggestions appreciated. ...
1
vote
1answer
147 views

Equalizer diagram equipped with other arrows

I am trying to draw this diagram and can't get slopped arrows right.