Questions tagged [tikz-cd]
{tikz-cd} concerns commutative diagrams produced by the tikz-cd package.
946
questions
0
votes
0
answers
46
views
how to draw this? \wire does't work
\documentclass[12pt,reqno]{report}
\usepackage{amsfonts}
\usepackage{stmaryrd}
\usepackage{amsmath}
\usepackage{cleveref}
\usepackage{quantikz}
\begin{document}
\listofQuantikz
\begin{...
1
vote
0
answers
82
views
Commutative Diagram Packages: Pros and Cons [closed]
I am taking two courses in commutative algebra now and both my professors have told me that the best way to do commutative diagrams is using xy-pic. I have always used tikz-cd. There is nothing I ...
0
votes
2
answers
133
views
diagonal argument in latex [duplicate]
How can I draw the following figure in latex please?
2
votes
1
answer
146
views
best way to double-bend arrows smoothly
It is common in tikzcd to bend an arrow either left or right, but I'd like a way to do the following:
You have two vertices that are not aligned in either direction, and want an arrow between them ...
2
votes
1
answer
53
views
Tikz-cd labels not appearing when using "to path"
I am trying to create a diagram where an arrow goes to the left, down, and to the right, as in the illustration below.
I'm using the "to path" function to make this work. However, I can't ...
0
votes
0
answers
23
views
Reverse order of rows (or columns) in a tikzcd diagram, by passing an option/style argument?
Is it possible to define an option which, when passed to a tikzcd diagram, will reverse the order of the rows (or columns) in the diagram? That is, I’d like to write something like
\begin{tikzcd}[...
0
votes
1
answer
40
views
Labeling loop in the commutative diagram
The following code yields the bold part.
\[ \begin{tikzcd}[
every matrix/.append style={name=mycd},
execute at end picture={
\path (mycd-2-1) -- node[scale=2] {$\circlearrowleft$} (...
2
votes
1
answer
59
views
Insert equation labels inside a `tikzcd` diagram in a way compatible with `cleveref`
This question is a follow-up to this one.
I want to annotate tikzcd diagrams with labels that can be referred to with \cref, placing the labels in arbitrary places in the diagram (usually, in the ...
0
votes
1
answer
62
views
Commutative diagram (two squares and diagonal arrow) and loops in the commutative diagram
I would like to write the following diagram,
I've now created the upper right triangle, but I am continuing to draw the entire diagram along with two loops in the commutative diagram.
\usepackage[OT2,...
-1
votes
2
answers
83
views
9 term long exact sequence
I would like to draw 9 term long exact sequence (for example, Poitou--Tate sequence).
The goal of my image is the following.
The code so far is,
\documentclass[11pt,english]{smfart} \usepackage[OT2,...
1
vote
1
answer
27
views
Package pgf Error: No shape named `tikz@f@1-2--1' is known. I think the culprit is a tikzcd arrow in cell 1-1
\documentclass{article}
\usepackage{tikz-cd}
\usepackage{amsmath}
\begin{document}
\begin{displaymath}
\begin{tikzcd}[arrows=Rightarrow]
&[10pt] & \text{SCoS} \ar[dll] \...
0
votes
2
answers
57
views
How to draw up and down arrow in tikzcd
I want to draw the following diagram using tikzcd.
I tried:
\begin{tikzcd}
P_3 \arrow[r,"D_3"] \arrow[d,"a+bx+cx^2+dx^3\mapsto\begin{pmatrix}
a\\b\\c\\d
\end{pmatrix}&...
1
vote
1
answer
51
views
To write triangle diagram with inclusion
I want to write the following diagram.
But I'm stuck with writing the map $\phi$ and inclusion one.
How can I draw the following diagram ? Thank you in advance.
My preamble is the following.
\...
1
vote
1
answer
85
views
Tikz: arrow with multiple styles
I am trying to draw an arrow as in the following picture:
In the past, I always solved this problem by simply splitting the line in three parts, adding two coordinates, and drawing three different ...
0
votes
1
answer
35
views
How, with tikzcd, to adjust the length of the lower arrow to cover the text beneath it?
Here is the code:
\begin{tikzcd}[column sep=huge]
\text{Es}
\arrow[r, shift left, "\text{IOU $R$}"] &
\text{Bs} \arrow[l, shift left, "\text{RRrrxxxttt ...
2
votes
1
answer
115
views
How to make Tikz-cd diagram symmetric
I'm drawing a young lattice in tikz-cd, trying to copy this image:
My current code is this:
\documentclass{standalone}
\usepackage{tikz-cd}
\usepackage{amssymb}
\usepackage[aligntableaux = center, ...
5
votes
4
answers
485
views
How to typeset commutative diagrams
I want to include the following commutative diagram in my work:
I tried using the following code:
\begin{center}
\begin{tikzcd}
\beta X \arrow[ld, "\pi_{\mathcal{F}}"] \arrow[d, ...
2
votes
1
answer
80
views
How to create a looparrow with tikz-cd?
I'm drawing a commutative diagram in latex and I want one of the maps to signify an immersion, which is denoted by a looparrow in my context, but I can't seem to find how to do it with tikz.
I mean ...
4
votes
1
answer
193
views
Lengthen tikz-cd Arrow Based on Label
I was wondering if it is possible to automatically lengthen a tikz-cd arrow based on the width of its label (perhaps with some padding)?
Typesetting, for example, the commutative diagram
\...
2
votes
2
answers
122
views
Problem with drawing a commutative diagram
I am an experienced LaTeX user, and I have drawn many diagrams in my life. My trouble right now is (I will put up a full example)
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\...
4
votes
3
answers
264
views
I created a diagram using quiver tool but when I compile it clashes
The quiver editor shows me this
But when I copy, paste and compile in a blank overleaf project, I get this
This is the code I'm using
\documentclass{article}
\usepackage[spanish]{babel}
\usepackage{...
0
votes
1
answer
57
views
Tikz diagram is broken
Under the code above, I tried to write the following diagram. However, the diagram is completely broken and does not display properly. Where should I improve and what kind of code should I type to ...
3
votes
1
answer
232
views
A category theory diagram (Need Help)
I am a beginner in latex. Please help me draw this category theory diagram via latex.
I have tried this code, but working:
\begin{tikzcd}
A \arrow[dd, bend right, shift right=2] \arrow[rrr, bend left, ...
0
votes
2
answers
108
views
Curved arrows from tikz-cd do not work
I'm using Quiver and I have troubles making diagrams with curved arrows. For instance, it proposes me to put this is my document :
\begin{tikzcd}[ampersand replacement=\&,column sep=2.25em]
A \...
5
votes
2
answers
274
views
Quantikz not compatible with tikz-cd?
I want to draw quantum circuits and commutative diagrams, so I want to use the two packages quantikz and tikz-cd.
But somehow quantikz overwrites tikz-cd. Take a look at this code:
\documentclass[11pt,...
0
votes
1
answer
28
views
Problem command and tikzcd
When I compile this
$$ \begin{tikzcd}[column sep={small},nodes={inner sep=2pt}]
{| +1 \rangle} & {\langle +2|} \\
{\langle +3 |} & {| +4 \rangle}
\arrow[no head, from=1-1, to=2-2]
\arrow[no ...
3
votes
2
answers
255
views
Conceptual diagram in LaTeX
How can I write the following conceptual diagram in LaTeX?
I am not sure whether it is common to use TikZ for this purpose or if there are other methods available.
In the box □, I want to write some ...
2
votes
1
answer
44
views
Tik-cd not showing map names
The name of the maps in the diagram do not show in my document, but it does show it in a blank one, i have remove very package that i think might have somethin to do with tikz but the error continues:
...
3
votes
1
answer
46
views
Prevent quantikz from altering tikz behaviour?
This code
\documentclass{article}
\usepackage{tikz-cd}
% \usetikzlibrary{quantikz2}
\begin{document}
\begin{tikzcd}[ampersand replacement=\&]
A \arrow[rrrr, ""] \& \& \& \...
2
votes
3
answers
112
views
Thin diamond shape in tikzcd
I'm trying to make a diagram of diagrams, and so have ended up with something like this diamond shape
\documentclass[a4paper,11pt]{book}%
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{cd}
\...
1
vote
1
answer
19
views
Aligning objects in different tikzcd diagrams
I am trying to put several tikzcd diagrams into a single figure* environment, and looking for a way to align these diagrams so that the n-th objects from each diagram are aligned precisely in a same ...
3
votes
2
answers
167
views
callouts direction
I m lost with the callouts and the pointers directions I have read documentation unfortunately it was hard to understand for me,
\documentclass{standalone}
\usepackage[table,xcdraw,dvipsnames,svgnames,...
0
votes
1
answer
62
views
exact sequences on tikz?
I'm trying to "draw" an exact sequence with the code
\begin{tikzcd}
\{0\}\arrow{r}{a}&A_1\arrow{r}{f_1}&A_2\arrow{r}{f_2}&\text{...}\arrow{r}{f_{k-1}}&A_k\arrow{r}{f_k}&...
4
votes
3
answers
145
views
Arrow Label Size Issue in Tikz-CD
I am using the mathtools package in combination with the tikz-cd package to decorate an arrow label with an overbracket. However, using the \overbracket within the arrow labeling messes up the ...
1
vote
1
answer
54
views
! Argument of \language@active@arg" has an extra } in a tikz-cd diagram
I am trying to insert a tikz-cd diagram which I have previously drawn in Obsidian into my TeX document. The code including the diagram is:
\begin{equation*}
\begin{tikzcd}[scale=3]
\...
3
votes
2
answers
247
views
tikz-cd "equal" arrow with a colored background
I use a Beamer template with black background. Whenever I type an equal arrow with tikzcd, it appears as a large white line (because some background is added between the two lines of the "equal&...
0
votes
0
answers
39
views
Automatic line break in two-columns text for placing a figure with tikz-table-resizebox
I am trying to place a figure with some tikz codes in it in a two-columns document. The figure contains a table which includes tikz command. But I want that figure appear in the one column across the ...
0
votes
1
answer
78
views
I have to draw a complete 5-sunlet graph and a 5-barbel graph. I have tried to draw them (code given below). But this is not precise
\begin{tikzpicture}[xscale=1, yscale=1.8]
\tikzstyle{every node}=[circle, fill=black!,inner sep=0pt, minimum
width=5pt]
\node (1) at (0,.65)[label=north east:{$x_1$}] {};
...
1
vote
1
answer
105
views
Tic-Tac Toe (Tabular Method) for Integration by Parts
I was able to complete the code, but I am wondering if there is a quicker or more efficient way to create this.
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amsfonts,amssymb}
\...
4
votes
2
answers
255
views
Diagram Problem
I need a diagram, I have attached the shape below, this is my attempt but it didn't work as I wanted, I would be very grateful if you can help me.
\documentclass{article}
\usepackage{amssymb}
\...
2
votes
2
answers
139
views
Formating a tikz-cd quiver with big entries to have parallel arrows
I want to draw a nice looking Auslander-Reiten quivers using tikzcd but my entries are getting quite big which kills the formating a little. Is there (an easy) way to make AR-quivers look good? I ...
0
votes
2
answers
108
views
How to make a from= , to= argument work in Tikzcd in compatibility mode?
For some reason, which will probably be too much work to fix without breaking something else in my document, Tikzcd only works in my document in compatibility mode with the "Alternative syntax ...
3
votes
2
answers
211
views
Reduce the size of a tikz quiver diagram
The following tikz quiver code appears too large when compiled in latex. Is there a way to reduce it?
Thank you
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\[\begin{tikzcd}[cramped]
...
1
vote
1
answer
22
views
How to add tikz-cd diagrams together with the package "versions"? [duplicate]
I would like to know how to use tikz-cd inside a "processifversion" environment. Compiling the following code, I get an error message saying "Undefined control sequence."
\...
2
votes
1
answer
61
views
How to draw Functor Diagram with tikz-cd and any framed environment
I would like to draw a diagram like the one in the image with tikzcd and any framed environment(e.g. itembox).
For me, using tikz is complicated and cumbersome and I would prefer to avoid it.
I want ...
-2
votes
1
answer
153
views
Tikz-cd diagram with beamer [closed]
In the following beamer code,
\RequirePackage{plautopatch}
\documentclass[14pt,aspectratio=169,xcolor=dvipsnames,table,dvipdfmx]{beamer}
\usepackage{bxdpx-beamer} % dvipdfmxなので必要
%Beamerの設定
\...
1
vote
1
answer
58
views
tikz-cd arrows not aligned horizontally as expected
I have the following code
\begin{tikzcd}[row sep=tiny]
& (\nu d,\, e)(\bar{b} \langle e \rangle \,|\,\bar{d}) \not\downarrow_c \\
(\nu d,\, e)\bar{b} \langle d \rangle \,|\, \bar{b} \langle e \...
2
votes
4
answers
369
views
Hexagon commutative diagram in mathematics (Herbrand quotient diagram)
The following code
\[
\begin{tikzpicture}[>=latex]
\def\radius{3cm} % change to an appropriate value
\node (h0A) at (60:\radius) {$H^0(G,A)$};
\node (h0C) at (0:\radius) {$H^0(G,C)$...
0
votes
1
answer
62
views
coloring and labeling in quiver tikz
@Qrrbrbirlbel, thank you very much for the response to this link:How do I enclose and color vertices?, how do I make the yellow circle see its label?
I send you my latex code :
%https://q.uiver.app/#q=...
2
votes
2
answers
219
views
To write diagram with injective arrow
I want to write the following diagram.
I wrote following code, but I cannot out put the injective map from $A$ to $B$. How can I do that and I can write beautiful diagram ?
\documentclass[tikz,border=...