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
19
votes
5answers
16k views

Commutative Diagrams and TikZ

I wish I knew how to draw the this commutative diagram with the TikZ package. I would also like to know how to put subtitles in the diagram.
19
votes
4answers
1k views

Line is not perfectly horizontal in Commutative Diagram in Tikz

I ran into an issue today, while rendering a simple diagram with Tikz. The horizontal line in the following picture is ever so slightly lower on the right hand side than on its left. Adding a ...
18
votes
2answers
3k views

How to put a square inside a commutative diagram?

How to put a square inside a commutative diagram as in the following picture: It would like to have a square in the following diagram: \documentclass[a4paper,12pt]{article} \usepackage{tikz-cd} \...
11
votes
2answers
3k views

Centering diagrams made with tikz-cd

I used tikzcd in equation environment so that the diagram should be placed on a new line and centered but I don't know why it is not perfectly centered. Here is my code: \documentclass{article} \...
8
votes
4answers
2k views

Drawing non-trivial commutative diagrams?

I am trying to draw the following mathematical diagram (see attached). If all the elements were in an array style figure I would be fine with the usual \begin{array} etc. However the arrows from the \...
8
votes
2answers
210 views

Draw dephased exact sequence diagram

I was wondering whether there was a simple way to draw the following diagram, the problem is that I don't know how to draw three diagram dephased of a little bit with the elements under, not the ...
7
votes
4answers
767 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^'$}\\ &...
7
votes
2answers
1k views

tikz Commutative Diagrams - Compiling and Best Practice

Newcomers wanting to use TikZ to create commutative diagrams face a varied (non-uniform) approach. I found this simple method to create a commutative diagram: \documentclass{article} \usepackage[...
7
votes
3answers
326 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} ...
7
votes
2answers
981 views

tikzcd: how to position a node in the center of two other nodes

I'm trying to draw a commutative diagram that looks similar to the following: ...except that I want the two arrows $1 \times \tilde{I}$ and $\tilde{m}$ to be on the same line and the node $\tilde{G} \...
6
votes
6answers
2k views

Pentagram Diagram

Can somebody help me make this commutative diagram look more aesthetic? % compile with LaTeX \documentclass{article} \usepackage{pictexwd,dcpic} \begin{document} \begindc{\commdiag}[500] \obj(0,0){...
6
votes
1answer
2k views

Text above isomorphism symbol

When writing that two objects are isomorphic, I use X \cong Y. Sometimes however, it is necessary to specify the type of isomorphism in question. I wish to do this with text above/below the ...
6
votes
2answers
185 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. Is it possible to write a script which achieves this in LaTeX? As an example I ...
6
votes
2answers
558 views

How to draw a commutative cube diagram with colored faces with a small upper-right corner x-y-z axis

I am looking for a package where I can draw this vertix-and-edge-labelled commutative cube diagram with colored (and labelled) bottom (grey) and top (striped grey) faces with a small upper-right ...
6
votes
1answer
1k views

How do I change the distance between a label and its arrow in tikzcd?

I am using tikzcd to make a fairly complex diagram and would like to have the labels on arrows closer to the arrows they are associated with in order to remove ambiguity. Here is what I have currently:...
6
votes
3answers
266 views

Problems with special arrow shaft in xypic

I'm trying to draw a diagram my teacher drew on the blackboard to summarize divisibility relationships and I just can't get it right. Here is my best attempt: \documentclass[a4paper]{report} \...
6
votes
1answer
575 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. ...
6
votes
1answer
740 views

Multiple Commutative Diagrams

I need to make two commutative diagrams (I am using the CD environment) in the same line (I mean not one above the other) can anyone give me an idea?
6
votes
2answers
268 views

How do I ensure that edges of a TikZ cube are parallel?

I sometimes find myself typesetting commutative cubes using TikZ. Here is my code. \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \tikzset { over/.style={preaction={draw=white,...
5
votes
5answers
634 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.
5
votes
3answers
747 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}...
5
votes
4answers
522 views

How to create well-aligned, clean structure to define a function (mathematics)?

I am new to Latex. I am aiming to define a function appropriately using latex, that is to first define the sets, e.g. $f:X \to Y$ and then how the elements map into the image, i.e. $x \to f(x)$. I ...
5
votes
4answers
391 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 ...
5
votes
3answers
314 views

How to plot the commutative triangle diagram in Tikz?

I want to draw the following commutative diagram in latex (tikz). I have tried the following code: \begin{tikzcd} A \arrow{rr}{f} \arrow[swap]{dr}{g} & & B \arrow{ur}{h} \\[10pt] &...
5
votes
4answers
2k views

Arrows for morphisms of exact sequences

I'm trying to figure out a good way to use LaTeX to draw the following diagram (snapshot image from a document). The closest I could come to this is using the following code: \begin{align} \begin{...
5
votes
2answers
1k views

Commutative diagrams side by side have different sizes

Within the statement of a theorem, I have two commutative diagrams. I am trying to use pb-diagram to create them and I would like them to be side by side. Unfortunately the size of the commutative ...
5
votes
3answers
210 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 ...
5
votes
3answers
353 views

Diagram for Limit

I want a diagram that looks like the one found here, This is my attempt: \[ \begin{tikzcd} [column sep = large] N \arrow[d, "u"] \arrow[ddr, "q_j"] \arrow[ddl, "q_k"] \\ \mathcal{A} \arrow[dr, ...
5
votes
2answers
443 views

This tikz-diagram has crooked arrows

Consider the diagram arrows in the following example: \documentclass[a4paper,10pt,psamsfonts]{amsart} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{...
5
votes
2answers
77 views

Automatically stretching non-default arrows in tikz-cd

Can I make a non-standard arrow stretch automatically? I'm hoping not to have to apply a \scalebox manually every time. Approach to generating non-standard symbols is taken from here. Code \...
5
votes
2answers
2k views

Commutative diagram with curved arrow

I want to get a bent arrow from node A to node E, this is my code: \usepackage{tikz-cd} \usetikzlibrary{cd} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{center} \begin{...
5
votes
1answer
1k views

Short exact sequences stemming from a long exact sequence with tikz

Does something exist, preferrably with tikz, but anything really that generates the diagram I think it would be extremely insightful to how short exact sequences are related. I would rather not re-...
5
votes
1answer
2k views

Location of Labels with Crossing Arrows in Commuative Diagrams with tikzcd

I want to add a commutative diagram and started using tilkcd today, but having a trouble with the location of labels attached to an arrow when two arrows cross over with each other. Here's a ...
5
votes
1answer
758 views

Adjusting arrows in a commutative diagram with tikzcd

I'm trying to type the following diagram with tikzcd: I end up with by the following codes: \documentclass{article} \usepackage{tikz, tikz-cd} \usetikzlibrary{matrix,decorations.pathmorphing,arrows}...
5
votes
1answer
1k views

Commutative Diagram (Homological Algebra)

I am having a hard time with the following commutative diagram. Mostly, I am not sure how to align the middle row correctly. Currently this is my best attempt. I cannot get the code to compile upon ...
5
votes
1answer
288 views

Adding elements on the surfaces of a cubic diagram

Thanks to this answer here; I can draw a nice cubic diagram as bellow: with the following code: \documentclass{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[ row sep=...
4
votes
2answers
885 views

Drawing a commutative diagram

There several codes for commutative diagrams, but I could not find any code for the following diagram:
4
votes
2answers
1k views

LaTeX code for commutative diagram

Kindly provide me LaTeX code for this and if possible the circles in each of the boxes saying the diagram is commutative. For one commutative diagram I have the code \xymatrixrowsep{10mm} \...
4
votes
1answer
237 views

Want to draw this commutative diagram

Not a pro in Latex, struggling to draw this commutative diagram. Any help is appreciated.
4
votes
2answers
568 views

Drawing rectangular commutative diagrams

I know how to create rectangular commutative diagrams for e.g \begin{tikzcd} A \arrow[r, "\phi"] \arrow[d, red] & B \arrow[d, "\psi" red] \\ C \arrow[r, red, "\eta" blue] & D \end{tikzcd} ...
4
votes
5answers
3k views

Drawing a particular commutative diagram

I can draw using \begin{diagram} X &\rTo^{\gamma} &Y & \lDotsto & \varepsilon_2\\ \dTo^\alpha &\ruTo^\beta & & &\\ Z& \lDotsto &\varepsilon_3 \end{diagram} ...
4
votes
2answers
150 views

amscd and Cichoń's Diagram

I'm working on this short paper about cardinal invariants in Cichoń's diagram. I wanted to somehow draw in tex. I have no previous experience in drawing any kind of diagrams in tex. Usinge package ...
4
votes
2answers
5k views

Commutative diagram with parallel arrows in opposite direction

I have a diagram of the following form, written with the package amscd: \begin{align*} \begin{CD} W @>\phi>> X \\ @V{a}V{b}V @V{c}V{d}V \\ Y @>\phi>> Z \\ \end{CD} \end{...
4
votes
3answers
112 views

Automatically displaying node labels in tikz-cd

The CoDi package has a prompter feature which, when enabled, puts every node inside a box, labelling them with their object names (see page 8 of the CoDi manual): Is it possible to make tikz-cd do ...
4
votes
3answers
271 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 ...
4
votes
1answer
260 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.
4
votes
1answer
378 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{\...
4
votes
4answers
587 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 ...
4
votes
1answer
277 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[...
4
votes
2answers
2k views

Increasing the length of arrows in latex

Attached is the code I'm using for drawing commutator diagrams. I want to increase the length of the arrows. How can I do that. $$ \begin{xy}\xymatrix{ E \ar[r]^*{e} & X \ar[r]<4pt>^*...

1
2 3 4 5 6