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

learn more… | top users | synonyms

1
vote
0answers
28 views

tikz-cd versus xy

In certain circumstances, I plan to request for users to make use of tikz-cd package instead of xy package (because the latter performs category code changes of @ \AtBeginDocument). But, because I ...
1
vote
1answer
18 views

Labeling lines (or columns) of tikzcd diagrams

I would like to be able to label (by number or a symbol) not only a commutative diagram as a whole, but also single lines of the diagram. For example, in a diagram \documentclass{article} ...
2
votes
1answer
48 views

Forloop with tikz-cd

I am trying to write a macro that (for now) takes as input a number n, and outputs a tikz-cd diagram consisting of n consecutive arrows. However the following code leads to an error: You can't ...
1
vote
1answer
47 views

How can I draw two triangles in a row?

I'm trying to illustrate the rigid transformations of the equilateral triangle: rotation and transposition. Therefore I would like to draw the triangle, then the $\to$ arrow with superscript say, ...
3
votes
2answers
67 views

Split text nodes multiline in tikz-cd

This LaTeX code: \documentclass{article} \usepackage{tikz-cd} \usepackage{amsmath} \begin{document} \begin{figure}[ht] \begin{tikzcd}[row sep=3cm, column sep=0.9cm] & \text{binary relations} ...
1
vote
0answers
14 views

Tikzcd withing newcommand? [duplicate]

I want to define a new command using the package tikz-cd. For example, suppose I want to define: \newcommand{\simplearrow}[3]{\begin{tikzcd} #1\arrrow[r, "#3"'] & #2 \end{tikzcd}} This would ...
1
vote
1answer
49 views

How to draw a curved line in tikz-cd instead of tikz?

I was working on a project and was trying to give Tikz-cd a shot but I was having trouble with adding a curved arrow beneath from one end to the other. I have done something similar to this between ...
7
votes
1answer
81 views

Equalities look “broken” with tikz-cd and “math font”

When making commutative diagrams, I prefer using tikz-cd with the arrow style=math font option, in order to let the arrow tips match that of the document font, which is kpfonts in the below MWE. That ...
3
votes
1answer
91 views

Adjunction symbol in commutative diagram

I'm writing about Category theory using tikz-cd and have a pair of adjoint functors, which is usually denoted by $F\dashv G$ I would like to have this \dashv symbol in a commutative diagram like ...
13
votes
1answer
355 views

Drawing cyclic quiver

How can I draw the cyclic quiver like in the url below? https://books.google.com/books?id=rZ_z6GpAROoC&pg=PA361 I tried and wrote the following but it is far from what I want. Would you please ...
1
vote
1answer
59 views

split exact sequence in tikz

Is there an easy way to draw a split exact sequence in tikz cd (that is, with an arrow going from A to B, and a reverse arrow going from B to A)? There is obviously a way to do this with the full ...
1
vote
1answer
20 views

tikz-cd error trying to typeset a “three storey” diagram

I'm trying to typeset the diagram that describes the axiom of invertibility in a group. Here's my code: \begin{equation}\label{diag:inv} \begin{tikzcd}[column sep=large] G\times ...
1
vote
1answer
47 views

Rounded arrow in tikzcd with text on it

This is a continuation of my previous question. I would like to draw a rectangular-like arrow with rounded corners in tikzcd and would like to put a text on this arrow. Here is my attempt: ...
3
votes
1answer
34 views

Writing labels crossing over other arrows in commutative diagrams

It's a simple question which is illustrated as below: \documentclass[openany,english]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{newtxtext} ...
5
votes
2answers
157 views

tikz-cd: anchoring and shifting arrows

I would like to ask you what is the best method to shift and anchor arrows in tikz-cd package. To be more specific, by means of the following code: \documentclass{article} \usepackage{amsfonts} ...
3
votes
1answer
60 views

Rounded arrow in tikzcd

In tikzcd I would like to draw an arrow with rounded corners which goes from an entry to an entry far right from it, and passes the row below them. It should not just be bent (this works with \ar[bend ...
2
votes
0answers
44 views

Composition in a multicategory

I am trying to figure out how to draw composition in a multicategory using same depiction used in Leinster's book "Higher Operads, Higher Categories". Here is what I am trying to draw: I did ...
2
votes
1answer
52 views

Trouble with label in TIKZ-cd

I cannot seem to figure out why the following won't work when I add a label. I will show the working example first, I want a simple commutative diagram with a label on each arrow. The working example ...
2
votes
0answers
36 views

Arrow tip size issue [duplicate]

I have been playing around with tikz-cd for quite a while and I love it, except when it comes to 3d-cubic diagrams. I have not found a viable solution so far and all the solutions out there seem to ...
4
votes
1answer
112 views

Column alignment in tikzcd

I am not sure whether this is possible or not. I would like to have some control on the horizontal alignment of columns in tikzcd. In particular I would like to be able to mimic (on some of my ...
0
votes
2answers
37 views

Regarding overlapping text on arrows

Surprisingly I failed to find any questions addressing this exact problem. I have used 'shift right/left' to obtain the desired spacing between the arrows, however I still need to force the text on ...
1
vote
2answers
48 views

Conflict between arrows in commutative diagram

The following is an attempt to generate a commutative diagram with multiple arrows between nodes. \documentclass[margin=10pt]{standalone} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd} B ...
1
vote
1answer
87 views

How to change color and transparency of arrows in tikz?

I have the following code. \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{cd,shapes,arrows.meta} \begin{document} ...
1
vote
1answer
64 views

How to draw stair case diagram using tikz-cd?

the following is the diagram I want to draw
3
votes
2answers
63 views

Parallel arrows in tikzcd natural transformation

I want to put two parallel arrows (Rightarrow) in a tikz-cd diagram but the node is too far away from the arrows when I shorten them. \documentclass[utf8]{scrartcl} \usepackage[T1]{fontenc} ...
3
votes
1answer
80 views

Problem with tikz-cd diagram

I was doing this diagram: \[\begin{tikzcd} (g\circ f)^{*} E \arrow[dd,bend right] \arrow[drr,bend left]\\ g^{*}(f^{*}E) \arrow[d] \arrow[r] & f^{*}E \arrow[d] \arrow[r] & E ...
1
vote
1answer
48 views

Changing the dimension of an arrow

I'm drawing a commutative diagram using the package tikzd. The problem is that the lenght of the arrows is too much. So I'm tring to find a way to reduce it. I'm using the command \arrow to draw the ...
1
vote
1answer
52 views

Error in Tikz-cd package

I am trying to draw the following commutative diagram. I tried to start with the following commands, \documentclass[12pt,a4paper,footinclude=true,headinclude=true,openany]{scrbook} ...
0
votes
1answer
45 views

Doing a diagram with tikz

I'm trying to do a diagram. In this code, the diagonal lines have a good size, but i don't know how to make the horizontal lines bigger. Thanks for your advices! \begin{tikzcd}[every arrow/.append ...
2
votes
2answers
91 views

Positioning arrows in commutative diagrams using TikZ-cd (or otherwise)?

I'm trying to make commutative diagrams to go with my math notes. So far, I've experimented with AMScd and TikZ-cd. But here's the problem: I need to align the arrows so that I can control where their ...
1
vote
1answer
42 views

Error in tikz-cd

I am using the folowing codes to generate my tikz commutative diagram. \documentclass{book} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. ...
6
votes
1answer
106 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 ...
2
votes
1answer
75 views

Adjunction of Functors command (tikzcd)

I want to create a command for adjunctions of this type: I'm trying to use tikzcd but I'm having problems. Any ideas? Thanks
5
votes
1answer
108 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 ...
2
votes
1answer
79 views

Double diagram in tikz-cd

Can someone help me draw a double diagram like this with tikz-cd, please?
0
votes
1answer
77 views

Inner circle, How to draw it using tikz cd?

\begin{center} \begin{tikzpicture} \node (E) at (0,0) {$E|_U:=\pi^{-1}(U)$}; \node[right=of E] (F) {$U\times F$}; \draw[->] (E)--(F) node [midway,above] (phi) {$\Phi$}; \node[below= 1cm of phi] ...
2
votes
2answers
91 views

How to increase the size of $\pi$ in the commutative diagram?

\documentclass{article} \usepackage{tikz-cd,amsmath} \usepackage{amsfonts} \begin{document} \[\begin{tikzcd}%[column sep=large] E|_U:=\pi^{-1}(U)\arrow[rr,"\Phi" ]\arrow[dr,swap,"\pi" ]& & ...
1
vote
1answer
45 views

Moving labels in commutative diagrams

I have made the following commutative diagram: Here's my code: \[\begin{tikzcd} &&&\ar[dl,"\pi_1",swap](A\times B)\times C\ar[dr,"f_1",dotted,swap]\ar[drr,"\pi_2"]\ar[dd,bend right, ...
2
votes
2answers
72 views

Typesetting the Middle Four Interchange Law

I would like to typeset the middle four interchange law of 2-categories. In xypic, I managed to typeset the following repulsive thing: Here's the code: \xymatrix { \text{Middle} & \text{Four} ...
2
votes
1answer
119 views

Commutative diagram: get an arrow to 'skip' an object

$$\begin{tikzcd} A\ar[r,shift left,"f"] &\ar[l,shift left,"h"] B\ar[r,shift left,"g"] &\ar[l,shift left,"l"]\ar[l,bend left, shift left,"h"] C\end{tikzcd}$$ This is almost as I'd ...
4
votes
1answer
51 views

Set order for three crossing arrows

I am drawing a diagram with 27 points in three dimensions, three layers of nine points. What I would like to do is be able to prioritize how lines cross over each other. When I use "crossing over", ...
3
votes
2answers
86 views

How is the positioning of labels attached to arrows calculated by the tikz-cd package?

I recently bumped into a small problem while using the tikz-cd package. It was about the positioning of the labels attached to certain arrows. One of the users in chat was friendly enough to point out ...
4
votes
1answer
130 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 ...
1
vote
2answers
78 views

Making Tikzcd picture larger

I have the following picture. I want to make the arrows a little bigger, so that there is enough space for F and G to be written, and the diagram look a little more beautiful. Can anybody help? ...
2
votes
0answers
9 views

Error related to tikz-cd and user-defined commands [duplicate]

My LaTeX document looks like this: \documentclass{article} \usepackage{tikz-cd} \newcommand{\commSq}[8] { \begin{tikzcd} #1 \ar[r, "#2"] \ar[d, "#6"] & #3 \ar[d,"#4"] \\ ...
3
votes
2answers
39 views

Using user defined commands within Tikzcd

\documentclass{article} \usepackage{amsmath,amscd,amssymb,amsthm,graphicx,amsxtra} \usepackage{verbatim} \usepackage{tikz-cd,xparse} \usetikzlibrary{matrix,arrows,decorations.pathmorphing} \newcommand ...
1
vote
1answer
46 views

Paracol, tikzcd and needspace

I'd like to put a tikzcd diagram side by side with a text but, as we can see in the example below, sometimes diagram (or text) goes to the next page. Sorry about the very large file. Thank you in ...
1
vote
1answer
92 views

Not compiling a pentagon in tikz-cd [closed]

I've been trying for a while to draw a pentagon in tikz-cd. the {\bf Maclane pentagon identity} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \begin{tikzcd} ...
4
votes
2answers
106 views

Translating a node style from tikz to tikz-cd

I'd like to switch from tikz to tikz-cd to draw diagrams of arrows (I just started practicing, so I don't know much), and I can't figure out how to translate the following node style: ...
7
votes
1answer
168 views

tikz-cd: Shade faces of commutative cube

I would like to "shade" the faces of a commutative cube drawn using tikz-cd. \documentclass{article} \usepackage{tikz} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} & P \ar{dl}[swap, ...