Questions tagged [tikz-cd]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
71 views

Mistakes on a diagram see in TeX.SE

What is the reason this code not working? \documentclass[a4paper,12pt]{article} \usepackage{tikz} \begin{document} \[ A \arrow[rr, bend left] & C \arrow[rd] & E \\ B \arrow[rr, bend right] \...
user avatar
  • 46.4k
3 votes
1 answer
75 views

Draw block diagram using Tikz package

Please how can I draw the figure shown below in Latex? I copied the figure from a journal. I am currently using Tikz package. Thank you for your help. Update: My code is shown below. \begin{...
user avatar
  • 69
0 votes
2 answers
52 views

Commutative diagram with 2 blocks

Using the tikzcd package I would like to make the following diagram.
user avatar
3 votes
1 answer
35 views

Achieve desired alignment of arrows in tikz-cd diagram

I want to add to add the supersets of the sets U_\tau and V_\tau (respectively for \pi) to the following tikz-cd diagram I managed to achieve the following result Latex code: \documentclass[openany]{...
user avatar
  • 133
0 votes
3 answers
63 views

How do I recreate this commuting square in latex?

I'm trying to recreate the following diagram: Thanks in advance!
user avatar
0 votes
0 answers
19 views

Tikz-cd draw arrow over nodes [duplicate]

how can I draw a bend arrow from A to D? \begin{tikzcd} A \arrow[r] & B \arrow[r] & C \arrow[r] & D \end{tikzcd}
user avatar
  • 1
0 votes
0 answers
16 views

Cannot use tikz-cd in align-environment [duplicate]

Why, as in the following MWE, does tikz-cd give me errors inside align-environment? Is there a way that the ampersand for tikz-cd is ignored by align? \documentclass[a4paper,10pt]{article} \...
user avatar
  • 4,518
0 votes
1 answer
111 views

Fractal figures [closed]

I have found this open source figures in a PDF document and I like the presentation and style of these fractals. Now I wanted to create similar fractals, maybe the Koch curve or the Cantor set in a ...
user avatar
1 vote
1 answer
76 views

Drawing an entangled commutative diagram

Here is the diagram I want to draw: My attempt so far: \documentclass{amsart}[12] \usepackage[a4paper]{geometry} \geometry{top=1.3in, bottom=1.0in, left=1.4in, right=1.4in} %\renewcommand{\...
user avatar
  • 107
-1 votes
1 answer
36 views

2 lines intersecting at the origin

How can I draw these colored pictures in Latex? I am not caring about the thickness of the coloured lines in both pictures, ordinary thickness is fine. Also the letter below the first figure is $\...
user avatar
2 votes
1 answer
95 views

"Triangular" layout in tikz-cd

With the following snippet: \begin{tikzcd}[row sep=1.5cm, every arrow/.append style = {dash}] & H_5 = S_3 & \\ H_1 \arrow[ur] & H_2 \arrow[u] & H_3 \arrow[ul] & H_4 \arrow[...
user avatar
2 votes
1 answer
38 views

My markings are not working (pgfkeys : key '/tikz/marking' unkown)

So I am trying to draw barred arrow in tikzcd, and following the answer of for example here :https://tex.stackexchange.com/a/493140/236919 . It does not work because of marking. The other (much more ...
user avatar
  • 23
0 votes
1 answer
77 views

Cross section on a surface

I have to make this graph I have only managed to make one part, the rest is very complicated to graph. The graph at the top is supposed to be a surface and I'm taking a small curved plate. Any idea ...
user avatar
  • 351
0 votes
2 answers
32 views

Several problems in labeling commutative diagram

I am just trying to put some labels on the right side of some commutative diagrams in order to later reference them. Since I am not labeling all diagrams, as I only need to reference two of them, I ...
user avatar
0 votes
2 answers
91 views

Hasse diagram on Latex [closed]

I think I should be using the tikzcd package but having trouble getting understanding how it works.
user avatar
1 vote
1 answer
92 views

Classification of index in Phase Portaits

I am trying to make the following graphs horizontally, I used the following answer as a basis: input: \documentclass[border=1mm]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.markings,...
user avatar
  • 351
0 votes
1 answer
59 views

Row spacing and arrow length in tikz-cd

In the source below, how should I modify the macro Func, which uses tikz-cd, so that it reproduces the output from the macro func, which uses just the array environment? In particular, how should I: ...
user avatar
  • 6,661
2 votes
1 answer
27 views

How can I use tikz-cd and \mathsurround simultaneously?

The proper formatting I need to use includes the line \mathsurround=2pt, but this ruins the arrow placement in tikzcd environments. Can I temporarily turn \mathsurround off, either by recovering the ...
user avatar
  • 338
4 votes
2 answers
137 views

Style rows/columns of a `tikz-cd` diagram

Apparently, the tikz keys row n/column n don't work in tikz-cd diagrams: \documentclass{scrartcl} \usepackage{tikz-cd, tikz} \begin{document} \[ \begin{tikzcd}[row 1/.style={nodes={font=\...
user avatar
  • 1,486
0 votes
1 answer
39 views

How to disable rendering of certain package content (draft mode)

I'm using the tikz-cd package for drawing commutative diagrams. Now I want to disable the rendering of the content produced by this package similar to the behaviour when importing the graphics package ...
user avatar
  • 187
5 votes
1 answer
254 views

Clockwise and counterclockwise path around the origin

I want to draw the following At first I thought of doing something like a dipole but then I realized that it was not like that, it is just a curve that returns it to the origin of coordinates in a ...
user avatar
  • 351
1 vote
2 answers
62 views

Graphics Alignment

I have compiled this code but the right part is somewhat messy. I would like the two graphs on the right to be aligned (centered) one below the other, but I have not been able to do so. Any idea to ...
user avatar
  • 351
0 votes
2 answers
54 views

Interface for diagrams and example [duplicate]

I would like to know if there are interactive graphic-oriented programs to construct diagrams of latex. For example, I know https://q.uiver.app/ There are others that do something similar? I am ...
user avatar
5 votes
3 answers
631 views

Draw the flat torus

I want to graph a curve on the flat torus, but not on the entire R^2 plane, but on the square [0,1]x[0,1]. For this, I have created a "do...while" with only the initial data of the rational ...
user avatar
  • 351
1 vote
1 answer
57 views

Join graphs tikz + pgfplots

I have two graphics that I would like to join into one but even more I would like to put them inside text, something like this: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{pgfplots} \...
user avatar
  • 351
0 votes
0 answers
28 views

Reducing space in graph of tikz

I have the following graph on Tikz. \begin{tikzcd} & & & ...
user avatar
0 votes
2 answers
56 views

how to "design" and code a 3x3x3 3d diagram in tikz-cd

I need to do a 3x3x3 diagram in tikz-cd and I'm wondering what's the best way to code it to make ti as clear as possible. I've a little experience with 2x2x2 diagrams in tikz-cd using crossing-over, ...
user avatar
  • 103
2 votes
0 answers
100 views

Improving Rightarrow in tikz-cd

Update 2 The discussion continues on Github where the latest work in progress (and possible future updates) can be found. As I was able to fix all of the problems in the code below, I consider this ...
user avatar
1 vote
2 answers
49 views

tikz-cd: alignment and label placement of snake-like arrows

Consider the following example: \documentclass[tikz, border=1cm]{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} {C_{n+1}'} & {C_{n+1}} & {C_{n+1}''} \\ {C_n'} & {...
user avatar
  • 6,566
2 votes
1 answer
68 views

tikz-cd: an extra background color not conforming to the page color

Consider the following example, you can see that there is a white background behind the text label, which is not consistent to the page color. Is there any way to fix this behavior? \documentclass{...
user avatar
  • 6,566
0 votes
1 answer
54 views

Tikzcd - Modified String Diagram

I can't seem to find a general tikz-cd outline for creating the above diagram. My use case is for parametric lenses in category theory, but I can't seem to find any code even close to the above ...
user avatar
  • 163
4 votes
1 answer
65 views

Why is the arrow shorter than the distance between two nodes?

I have a rather peculiar problem that I'm unable to fix: \documentclass{amsart} \usepackage{mathrsfs} \usepackage{tikz-cd} \usetikzlibrary{calc} \newcommand{\gal}[1]{\mathscr{G}_{#1}} \begin{document} ...
user avatar
  • 4,495
2 votes
3 answers
99 views

Node positions in Tikzpicture for using tikzmark

I wish to create a diagram like this. My attempt is shown below: Output Code \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{tikzmark,shapes.geometric,shapes.symbols} \tikzset{elnode/....
user avatar
0 votes
1 answer
53 views

Error using tikzmark with multiple tikzcd's

I wish to create a figure like the one shown below. I am getting the error above with the following code. Can someone tell me where I may be going wrong? \begin{tikzcd}[arrows={-latex, outer sep=-1....
user avatar
0 votes
1 answer
69 views

Arbitrary container around a tikzcd diagram

I wish to draw a picture like this with an arbitrary shape around a few points with arrows between them. I am using the circle command in tikzpicture but the result is very different. Could someone ...
user avatar
0 votes
3 answers
80 views

Using tikzcd in \multirow

Earlier, I has asked to ask how to make &'s work for tikzcd environment nested inside tabular. I got my answer in tikz-cd's manual---I just had to use ampersand replacement=\&. Now, another ...
user avatar
  • 319
1 vote
2 answers
74 views

How to have tikzcd inside align?

With the gathered subsidiary environment, the code \newcommand{\id}{\mathrm{id}} \[\begin{gathered} \text{if $g$ is a left-inverse of $f$, then } \begin{tikzcd} A\ar[r, "f&...
user avatar
  • 319
2 votes
2 answers
113 views

How to modify the cell dimensions in tikzcd?

Code: \[ \begin{tikzcd}[cells={nodes={draw=gray}}] \text{Math is excellent!} \ar[r, rightarrow] \ar[d, leftarrow] & \text{w} \ar[d, rightarrow]\\ \text{w} \ar[u, rightarrow] \ar[r, ...
user avatar
  • 319
0 votes
1 answer
39 views

A tilted product diagram

Here is the diagram I want to draw: I know how to draw ordinary commutative diagram like this and here is my trial: \documentclass{book} \usepackage{tikz-cd} \begin{document} $$\begin{tikzcd}[row sep=...
user avatar
0 votes
2 answers
79 views

Tilted arrows in latex

Here is the figure I want to draw: Could someone show me how to draw tilted arrows please? I know how to draw a commutative triangle like this: \documentclass{book} \usepackage{tikz-cd} \begin{...
user avatar
-1 votes
1 answer
41 views

rectangular and triangular commutative diagram with curves

Here is the diagram I want to draw: Could anyone help me in drawing it please? the curved arrows and the diagonal arrows, I do not know how to do this.
user avatar
0 votes
1 answer
56 views

How to draw two arrows above each other?

Here is the figure I want to draw: My big problem is the two arrows above each other with something written above and below. I tried the following: \documentclass{book} \begin{document} \[\begin{...
user avatar
-2 votes
1 answer
79 views

Partition interval in latex

I want to draw this partitioned interval. I've used Tikz but I don't know how to add the underbrace for the nodes. Thanks.
user avatar
  • 11
0 votes
1 answer
81 views

Elegant way to align two tikz diagrams in a line

I wish to put two tikz diagrams in a same line so that they are aligned, centered on the quarters as below: The only way I know for now is to put the tikz diagrams in a common equation and then add ...
user avatar
  • 177
0 votes
1 answer
42 views

Tags for rows in a commutative diagram using tikz-cd

Consider a commutative diagram such as \documentclass{scrartcl} \usepackage{mathtools, tikz-cd} \begin{document} \begin{equation} \begin{tikzcd} 0 \rar & A \dar \rar & ...
user avatar
  • 1,486
2 votes
2 answers
56 views

Comma in arrow of tikzcd [duplicate]

\documentclass[a4paper, 12pt]{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} X \ar[r, "(1,0)"] & A \end{tikzcd} \end{document} Does not compile. However removing the ...
user avatar
1 vote
1 answer
40 views

Why to TikzCD arrows behave differently when made thicker compared to Tikz arrows?

Piggybacking off my previous question TikzCD arrow "to path" tracing a path over nodes with sharper corners (i.e. how to change looseness) The following code: \documentclass{article} \...
user avatar
  • 525
2 votes
1 answer
85 views

TikzCD arrow "to path" tracing a path over nodes with sharper corners (i.e. how to change looseness)

I have the following code \begin{center} \begin{tikzcd} L \arrow[dd, color = red, shift right = 1pt] \arrow[dd, color = red, start anchor = -5, to path={..controls +(1.5,0).. (\tikztotarget)}] \arrow[...
user avatar
  • 525
0 votes
2 answers
31 views

Tikzcd error - narrowed down to one particular cell

I tried to run below but I keep getting below error. Let me know if you can spot anything. The arrows coming out of U \times F seem to be the issue, since without any of those arrows, the diagram runs ...
user avatar
3 votes
2 answers
82 views

How to change the size of labels in a commutative diagram with tikz-cd

I have made a commutative diagram using the tikz-cd package and cannot figure out how to increase the size of the labels for the arrows. I used [sep=2cm] to space out the rows and columns more, but ...
user avatar

1
2 3 4 5
16