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
20 votes
3 answers
4k 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} \...
Constantin K's user avatar
19 votes
5 answers
16k views

Commutative Diagrams and TikZ [duplicate]

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.
MathOverview's user avatar
  • 2,779
19 votes
4 answers
2k 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 ...
Stefan Mesken's user avatar
11 votes
2 answers
4k 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} \...
Oromis's user avatar
  • 213
10 votes
1 answer
458 views

Paul Taylor's diagrams.sty NEVER HAPPEN error

I am a tikz-cd user trying to render a document that uses diagrams.sty. I am getting the error "THIS (S) SHOULD NEVER HAPPEN" when running the minimal example below in Overleaf (and locally ...
User371's user avatar
  • 205
8 votes
4 answers
3k 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 \...
AngusTheMan's user avatar
8 votes
2 answers
247 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 ...
jacopoburelli's user avatar
8 votes
2 answers
2k 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[...
STP's user avatar
  • 125
8 votes
1 answer
12k views

How to make a commutative diagram using {tikz-cd}? [duplicate]

I want to make a commutative diagram which looks like: I tried the following code: \begin{tikzcd} A\arrow[r,"\phi_n"] \arrow[d,swap,"\text{id}"]& A_n \arrow[dl,swap,"\psi_n"] \arrow[dr,"\...
tattwamasi amrutam's user avatar
7 votes
6 answers
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){...
Nicolas Bourbaki's user avatar
7 votes
4 answers
845 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^'$}\\ &...
Partha's user avatar
  • 327
7 votes
3 answers
521 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} ...
Vladimir's user avatar
  • 353
7 votes
2 answers
1k 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} \...
pamplemousse's user avatar
7 votes
1 answer
825 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. ...
mm_90's user avatar
  • 131
6 votes
4 answers
718 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 ...
chsk's user avatar
  • 3,531
6 votes
3 answers
893 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] &...
learner's user avatar
  • 559
6 votes
2 answers
2k 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 ...
Aru Ray's user avatar
  • 173
6 votes
1 answer
5k 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 ...
Matt's user avatar
  • 367
6 votes
1 answer
2k 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:...
Abe Schulte's user avatar
6 votes
2 answers
233 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 ...
Fredrik Bakke's user avatar
6 votes
2 answers
672 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 ...
StudentType's user avatar
6 votes
3 answers
280 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} \...
MickG's user avatar
  • 5,296
6 votes
1 answer
897 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?
Dimitri's user avatar
  • 535
6 votes
2 answers
313 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,...
Karol Szumiło's user avatar
5 votes
5 answers
677 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.
klirk's user avatar
  • 425
5 votes
3 answers
1k views

Arrow fat at one end, narrowing at the other end

I can find fat arrows and thin arrows, I can find fancy curly arrows that start thin and get fat, All I want is a basic arrow that is thick at the origin, and thin at the other end, indicating that we ...
user283669's user avatar
5 votes
3 answers
1k 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}...
Praphulla Koushik's user avatar
5 votes
4 answers
621 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 ...
user9078057's user avatar
5 votes
4 answers
3k 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{...
leastaction's user avatar
5 votes
3 answers
321 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 ...
Lele99_DD's user avatar
  • 568
5 votes
3 answers
499 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, ...
user7090's user avatar
  • 161
5 votes
2 answers
487 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{...
shuhalo's user avatar
  • 2,353
5 votes
2 answers
210 views

How can I align the vertical arrows?

I am trying to make the following diagram compact and aligned for aesthetic reasons. \documentclass[11pt]{article} \usepackage{tikz} \usepackage{amsmath} \usepackage{amssymb} \usepackage{tikz-cd} \...
MrPajeet's user avatar
  • 631
5 votes
2 answers
150 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 \...
mjc's user avatar
  • 725
5 votes
4 answers
952 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 ...
Martino's user avatar
  • 1,360
5 votes
2 answers
748 views

Numbering rows in array environment

I would like to (use the \label - \ref mechanism to) number as equations the first and third rows in the following diagram: \documentclass[10pt]{article} \usepackage{amsmath} \usepackage{amsfonts} \...
suitangi's user avatar
  • 749
5 votes
2 answers
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{...
MrPajeet's user avatar
  • 631
5 votes
1 answer
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-...
Relative0's user avatar
  • 821
5 votes
1 answer
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 ...
Taxxi's user avatar
  • 459
5 votes
2 answers
356 views

Circular arrow in commutative diagram using tikz

I am using tikz and the following code to make a commutative diagram. \documentclass{article} \usepackage{tikz-cd, mathtools} \usetikzlibrary{calc} \usetikzlibrary{arrows} \begin{document} \...
fdzsfhaS's user avatar
  • 259
5 votes
1 answer
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 ...
akgjh's user avatar
  • 161
5 votes
1 answer
1k 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}...
user avatar
5 votes
1 answer
326 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=...
qartal's user avatar
  • 243
4 votes
2 answers
960 views

Drawing a commutative diagram [duplicate]

There several codes for commutative diagrams, but I could not find any code for the following diagram:
user118746's user avatar
4 votes
2 answers
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} \...
user avatar
4 votes
3 answers
364 views

How can I put the arrow with the 0 in this diagram?

Here is the diagram I want to draw: I got a help on drawing the following from here : \documentclass{article} \usepackage{tikz} \usetikzlibrary{cd} \begin{document} $$\begin{tikzcd} &...
Smart20's user avatar
  • 227
4 votes
1 answer
381 views

Want to draw this commutative diagram [duplicate]

Not a pro in Latex, struggling to draw this commutative diagram. Any help is appreciated.
Partha's user avatar
  • 327
4 votes
2 answers
669 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} ...
Suman's user avatar
  • 557
4 votes
5 answers
4k 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} ...
yurnero's user avatar
  • 175
4 votes
2 answers
261 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 ...
Sarghh's user avatar
  • 143

1
2 3 4 5
7