Questions tagged [tikz-cd]

{tikz-cd} concerns commutative diagrams produced by the tikz-cd package.

Filter by
Sorted by
Tagged with
4
votes
4answers
314 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^'$}\\ &...
5
votes
1answer
79 views

Young tableaux in commutative diagram with tikz-cd

Why are blank boxes inserted in the Young tableaux that are part of a tikz-cd environment? Is there a way to fix this while still using the Young tableaux and the tikz-cd? MWE: \documentclass[10pt]{...
0
votes
2answers
71 views

Asking tikz code for this diagram

Can someone provide me the tikz code for the following diagram? Any help would be appreciated. Thanks so much
-2
votes
0answers
22 views

Error for Undefined control sequence. \draw [on hold]

If I draw only one ellipse, I don't have any problem \begin{tikzcd} \draw[thick,fill=green!20] (0, 0) ellipse (2 and 1); \draw[thick,fill=green!20] (6, 0) ellipse (2 and 1); \end{tikzcd} but when I ...
1
vote
1answer
29 views

How to align labels at the center of arrows when plotting a quiver?

I am using tikz to draw some quivers like this one However, labeles are not centered and arrows are tilted. I use the following code \begin{tikzcd} k \arrow[r, draw=none, "\raisebox{+1.5ex}{...
2
votes
3answers
121 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 ...
3
votes
2answers
94 views

relating two diagrams in tikzcd

minimal working example is \documentclass[12pt,reqno,a4paper]{amsart} %\usepackage[utf8]{inputenc} % not needed with up-to-date TeX systems \usepackage[english]{babel} \usepackage{extsizes} \...
3
votes
2answers
30 views

How to make a commutative square in tikzcd with explicit functions

I have a square I'm trying to show commutes. Both compositions give an output that could a priori be different. How do I get them in one diagram like this ?
1
vote
0answers
30 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} \...
1
vote
0answers
21 views

Not compiling tikz-cd diagrams for drafts [closed]

It is possible to replace figures with placeholder boxes when compiling a LaTex document by including draft in the documentclass statement as so: \documentclass[12pt,draft]{article} Is there a ...
1
vote
0answers
31 views

Tikz Sub/superscripts within a node

I just started using TikZ, and I'm still reaqcuainting myself with LaTex in general. When defining a node in TikZ, how do I apply simple stylistic things like subscripts and superscripts?
4
votes
2answers
175 views

Tikzcd in beamer not working

Currently I am trying to create a presentation with tikzcd using the TeXWorks Editor. Apparently, my computer does not recognize the command \arrow in the way I would need it to work with tikzcd (only ...
5
votes
2answers
76 views

Remove outer padding in tikzcd

This is the result I would like to obtain using tikz-cd A = \ker \left(B \xrightarrow{F} C\right) but \documentclass{article} \usepackage{tikz-cd} \begin{document} \[ A = \ker \left( \begin{...
6
votes
2answers
103 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 ...
0
votes
1answer
37 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
132 views

Triple arrows in tikz and tikz-cd

I have a macro to draw rather complicated diagrams in tikz which makes use of pgfkeys in order to be as flexible as possible on arrows, labels and their styles. I allow all the commands of the library ...
9
votes
3answers
390 views

Tikzcd pullback square issue

I have a tikzcd diagram \begin{center} \begin{tikzcd} F \arrow[r] \arrow[d] & * \arrow[d] \\ X \arrow[r, "f"] & Y \\ \end{tikzcd} \end{center} which looks like this: I wish to add a symbol ...
2
votes
1answer
21 views

arrows in tikzcd that are not aligned correctly

\documentclass[12pt,reqno,a4paper]{amsart} %\usepackage[utf8]{inputenc} % not needed with up-to-date TeX systems \usepackage[english]{babel} \usepackage{amsmath,amsthm,amsfonts,amssymb} \usepackage{...
2
votes
2answers
36 views

Problem with column specification in Tikz

Consider the following tikz code \begin{tikzcd}[column sep=20pt] A \arrow{rr}\arrow{dr} && B && C \arrow{ll}\\ & D \arrow{dr}\arrow{ur}\\ && E \arrow{urur} \end{tikzcd} ...
2
votes
3answers
173 views

How do I make a commutative diagram with LaTeX? [duplicate]

How do I make a diagram like this? Thanks in advance
2
votes
1answer
31 views

tikz cd not working in beamer

\documentclass[hyperref={pdfpagelabels=false}]{beamer} \usetheme{Madrid} \usecolortheme{rose} \usepackage{times} \usefonttheme{structurebold} \useinnertheme{rounded} \usepackage[english]{babel} \...
2
votes
1answer
25 views

Why missing \endcsname with phantom option in tikz-cd when using babel?

Why do I get the error Missing \endcsname inserted at line 15? \documentclass{article} %\usepackage[strict]{csquotes} %\usepackage[autostyle=true]{csquotes} \usepackage[T2A,T1]{fontenc} \usepackage[...
0
votes
1answer
17 views

Why missing \endcsname with phantom option in tikz-cd?

Why does the following give at line 9 the error Missing \endcsname inserted? \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} f \arrow[d, phantom, ''\partial''] \\ g ...
1
vote
1answer
48 views

tikzcd incompatible with standalone document class?

Trying to generate a tikz diagram using tikzcd package in a standalone document so that no excess white space and page header/footer is added around the diagram. \documentclass[tikz, margin=1mm]{...
3
votes
2answers
64 views

Commutative diagram using Tikzcd in footnote

I want a commutative diagram in a footnote using tikzcd. For footnotes I just use the standard \footnote command. However, using \[\begin{tikzcd}A&B\\C&D\end{tikzcd}\] inside the footnote ...
4
votes
3answers
76 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 ...
5
votes
2answers
100 views

How can I align nodes and have arrows of the same length in tikz-cd?

I have a small commutative diagram with nodes of varying text length. This causes the arrows between columns to be of different lengths. Basically I want each node along a column to be centred so that ...
3
votes
1answer
85 views

Chemical reaction

Good morning, everyone, I am a Bachelor of Science in Physics student, and I would like to be able to reproduce the routing of this example here on Latex, not necessarily draw the molecules, I learn ...
1
vote
1answer
33 views

Problem naming certain arrows in tikz-cd

There's something I'm doing wrong in a certain diagram, and I can't seem to figure out how to name an arrow that bends. Here's a MWE (both with the package tikzcd and tikz + library cd the same error ...
7
votes
3answers
652 views

Bent arrow under a node

Here is my problem. I am trying to get a bent arrow "go" under the CxExF node by breaking the long arrow into two parts. However, I would like the two parts to follow the same "path" as the long ...
4
votes
5answers
490 views

Arrows inside a commutative diagram using tikzcd

\documentclass[12pt,reqno,a4paper]{amsart} \usepackage{extsizes} \usepackage{blindtext} \textheight 9.3in \textwidth 6.5in \calclayout \usepackage{mathtools} \usepackage{amsmath,amsthm,amsfonts,...
1
vote
1answer
79 views

Arrow tail style using tikz-cd

For my tikz-cd diagrams, I am trying to define an arrow with a cross at the tail. I feel like this should be easy, but have not found an easy way of doing this yet.
4
votes
3answers
326 views

Tikz-cd diagram arrow passing under a node - not crossing it

I'm drawing some commutative diagrams, and some of my diagonal arrows are crossing nodes on their way. I would like to have a sort of "crossing under", to force the arrow not to show while crossing ...
3
votes
1answer
58 views

Pullback diagram of moduli spaces

I asked this question before. Now, I want to enrich the diagram a bit more. I want to draw the pullback family using egreg's answer, but the arrow above looks weird. I just modify his answer: \begin{...
1
vote
1answer
61 views

how to combine features of tikz-picture with tikz-cd

I drew a diagram in tikz-cd using the following \begin{tikzcd} & A \arrow[r] & B\arrow[loop above] & C\arrow[l]\\ D\arrow[r] & E\arrow[loop above] & & F\arrow[ul]\\ ...
4
votes
3answers
263 views

How to draw this diagram with tikzcd or other packages

I just could draw the one with four arrows up parallel with one longer down also with appropriate spacing: .
1
vote
1answer
41 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} \...
5
votes
3answers
89 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 ...
1
vote
0answers
47 views

how to resolve incompatibility of tikz-cd and external

I am trying to export tikz pictures using tikz-cd to pdf. In order to run the tikz-cd, I had to disable the external library as shown below \documentclass{article} \usepackage{amsfonts} \usepackage{...
0
votes
1answer
43 views

latexdiff failing with tikz-cd

I am having problems running latexdiff on even the simplest file which uses tikz-cd for commutative diagrams. Here's a minimal example. What am I doing wrong? old.tex \documentclass{article} \...
1
vote
1answer
58 views

Arrow with vertical bar in the middle (Tikz-cd)

I need to have an arrow that has a vertical bar in the middle, something like this: ----|----> in commutative diagrams. Tikzcd does not have such an arrow supported directly, as far as I can tell. ...
4
votes
1answer
59 views

I have drawn these diagrams, but need help with broken circles around the right-hand bullet using tikz-cd

\documentclass{amsart} \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsthm} \usepackage{tikz-cd} \usepackage{mathtools,amscd} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{babel} \...
6
votes
1answer
127 views

Arrow with superscript in math mode and tikz-cd

I have two scenarios where I use arrows with a super-scripted asterisk: math mode and tikz-cd diagrams. I would like to be able to show such an arrow in both scenarios such that the arrows look the ...
1
vote
0answers
44 views

newtx font makes arrows bigger in tikz-cd

I noticed that the newtx font somehow makes the arrows in tikz-cd diagrams appear significantly bigger. I wonder why that is and if there would be any way to solve this issue. MWE below. The code \...
1
vote
1answer
41 views

My tikz-cd diagram doesn't fit in the text area

How do I make my graph fit in the text area? This is an example graph - I have other graphs which which I have a similar problem, so I am hoping for a general solution. \documentclass{article} \...
0
votes
0answers
46 views

tikzcd scaling in \resizebox environment

I have a number of graphs that I put in a \resizebox environment because, otherwise, the graphs grow horizontally larger than the page. An unfortunate side effect of this is that the graph nodes can ...
0
votes
1answer
65 views

How to draw a star graph quiver using tikzcd in LaTeX? [closed]

I would like to draw a star graph quiver using tikzcd in LaTeX.
2
votes
1answer
23 views

Is there anyway for Tikz-cd to point at the beginning of a node instead of the middle

This code \documentclass{beamer} \usepackage{amsmath} \usepackage{tikz-cd} \begin{document} \begin{frame}[fragile, t]{My slides} \begin{equation*} \begin{tikzcd} \text{The starting point} \arrow{d}...
1
vote
2answers
28 views

Tik-cd arrow length not the same across different frames

This is the code for the first frame \documentclass{beamer} \usepackage{amsmath} \usepackage{tikz-cd} \begin{document} \begin{frame}[fragile, t]{My slides} \begin{equation*} \begin{tikzcd} \text{...
1
vote
1answer
64 views

Tikzcd with Beamer: extremely simple code results in & ampersand catcode error

\documentclass{beamer} \usepackage{amsmath} \usepackage{tikz-cd} \begin{document} \begin{frame}[fragile, t]{My slides} \only<1>{ \begin{equation*} \begin{tikzcd} a \end{tikzcd} \end{equation*}...