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

learn more… | top users | synonyms

1
vote
2answers
27 views

Numbering commutative diagrams

Is there a nice way to number commutative diagrams (like equations) ? When using tikz-cd I put a figure environment around it, and then there is no number anywhere. I can also use \begin{align} ...
3
votes
0answers
27 views

label option in tikz-cd influences distance between column

I want to give one node a label using tikz-cd. But then it seems that when arrange column distance, tikz takes the label node as a part of the main node rather than only considers the size of main ...
1
vote
0answers
13 views

extra line at the ends of equal in tikzcd and confuse about font size of label of phantom arrow

When I choose the equal as the style of arrow, I find that there two very light extra line at the two ends of equal symbols. Maybe it depends on the PDF reader. I can find the extra lines when I use ...
1
vote
1answer
32 views

How can I adjust the bounding box of a (complicated) tikz-cd diagram?

This question is related to my previous post (the MWE can be reused from there), and the links provided there. I'm trying to draw a (complicated) diagram using tikz-cd, including big, curved arrows, ...
3
votes
1answer
13 views

Using \textipa{x} inside tikzcd (maths) environment

I'd like to use tipa IPA characters inside a tikzcd environment. The code compiles but the characters don't render correctly. Strangely, there is no related warning. \documentclass[12pt]{report} ...
0
votes
0answers
22 views

A large (curved) arrow is causing my tikz-cd diagram to have too much space on one side. How can I fix this? [duplicate]

I use tikz-cd to draw commutative diagrams, and recently needed to draw a diagram of the following form (this is a MWE): \documentclass{standalone} \usepackage{tikz-cd} \begin{document} $$ ...
2
votes
2answers
103 views

Double arrows in tikzcd

please look at below example: \begin{center} \begin{tikzcd} x_1(k+1) \arrow{d}{x_1(k)} & \\ x_2(k+1) \arrow{d}{x_2(k)} & x_4(k+1) \arrow{lu}{x_1(k)} \arrow{l}{x_2(k)} ...
1
vote
0answers
33 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
20 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
50 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
55 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
73 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
55 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
87 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
115 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
364 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
64 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
21 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
53 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
35 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
178 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
61 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
58 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
54 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
125 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
59 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
97 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
66 views

How to draw stair case diagram using tikz-cd?

the following is the diagram I want to draw
3
votes
2answers
76 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
83 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
55 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
46 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
98 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
45 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
113 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
79 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
112 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
82 views

Double diagram in tikz-cd

Can someone help me draw a double diagram like this with tikz-cd, please?
0
votes
1answer
83 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
92 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
48 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
74 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
122 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
52 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
92 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
132 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 ...