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

learn more… | top users | synonyms

1
vote
1answer
24 views

Package pgfbasematrix Error: Single ampersand used with wrong catcode

Similar questions with different MWEs have been asked. The tikzcd code: \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} & \arrow{dl}{g}B \\ C& D \end{tikzcd} \end{...
0
votes
0answers
29 views

Tikzcd code never compiles

Hi I have the following Tikzcd code but it never compiles, could anyone tell me what might be the error? THe code is the following: \begin{figure} \begin{tikzpicture}[baseline= (a).base] \node[scale=...
2
votes
1answer
50 views

commutative diagram with pause in beamer

I have two questions: Is it possible to add \pause command on commutative diagram, I want to show every arrow when I speak. How can I change arrows directions, for instance I want $A \leftarrow B$. ...
1
vote
2answers
24 views

The tikz-cd package is over running the bottom margin is a particular class file

I am using a particular class file fundam.cls. However, when I add the tikz-cd package, the bottom margin overruns. I suspect it is because the tikz-cd package is changing the paper type, making it ...
5
votes
1answer
32 views

\usetikzlibrary{babel} does not work in exsheets’ question environment

I am trying to type math exercises by using XeLaTeX, the tikz-cd package for commutative diagrams, the babel package for German, and the exsheets package for formatting and organizing the questions ...
3
votes
1answer
31 views

How can I define a hooked arrow with the hook on the bottom, that will work in tikz-cd diagrams?

The title says it all, really. I'd like to use an arrow that looks exactly like an "upside down \hookrightarrow" in a diagram (for which I'm using tikz-cd), but I am really not comfortable enough with ...
4
votes
1answer
56 views

TikzCD: everything is getting mashed together

When I have a homotopy between two arrows, things seem to go nicely: \documentclass[12pt]{article} \usepackage{tikz-cd} \begin{document} \begin{center} \begin{tikzcd} A \arrow[r, bend left=60, "F"...
1
vote
2answers
43 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
33 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
15 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
41 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
17 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} $$ \begin{...
2
votes
2answers
144 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
35 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
22 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
53 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
61 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
93 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
66 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
95 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
194 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
393 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
80 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 tikz,...
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 G\arrow{rr}{\id\...
1
vote
1answer
65 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
80 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} \usepackage[nonewtxmathopt]{...
5
votes
2answers
239 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
67 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
66 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
63 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
37 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 ...
5
votes
1answer
160 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
47 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
75 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
124 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} \begin{tikzcd}[cells={nodes={scale=0.5,draw=gray,thin,rectangle,...
1
vote
1answer
71 views

How to draw stair case diagram using tikz-cd?

the following is the diagram I want to draw
3
votes
2answers
87 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
89 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 \arrow[...
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
69 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} \usepackage{...
0
votes
1answer
47 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
117 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
50 views

Error in tikz-cd

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

Double diagram in tikz-cd

Can someone help me draw a double diagram like this with tikz-cd, please?
0
votes
1answer
94 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] (...