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

learn more… | top users | synonyms

2
votes
1answer
39 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
35 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
71 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
31 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
27 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
60 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
40 views

How to draw stair case diagram using tikz-cd?

the following is the diagram I want to draw
3
votes
2answers
37 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
63 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
46 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
37 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
39 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
62 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 ...
0
votes
0answers
26 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
75 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
42 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
102 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
68 views

Double diagram in tikz-cd

Can someone help me draw a double diagram like this with tikz-cd, please?
0
votes
1answer
57 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
83 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
31 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
62 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
100 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
50 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
62 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
110 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
63 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
36 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
43 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
78 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
82 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
130 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, ...
3
votes
1answer
151 views

tikz-cd: draw commutative square as an actual square

What is the easiest way to adjust the following commutative square so that the arrows are all at an angle of approximately 45 degrees (two pointing north east, two pointing south east)? Naively, I ...
3
votes
3answers
255 views

Problems with tikzcd diagrams

I have thought of asking 3 different questions, but then they are all about the same package, and about fiddling with arrows, so they are all related, so I thought I'd go with one. Here we go. My ...
4
votes
1answer
102 views

Getting error on tikzcd: No shape named tikz@f@1-2-1 is known

I'm trying to use tikz-cd but I can't seem to solve this problem. When I try to compile the following code \documentclass{amsart} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} ...
1
vote
1answer
74 views

Direct arrow with tikz-cd arrow style has extra arrowhead

I want to draw an arrow in a regular tikzpicture that is styled like the arrows in tikz-cd diagrams. Section 3.3 of the tikz-cd manual gives some examples that involve nodes with labels, but I only ...
5
votes
1answer
258 views

Length of arrow in tikz-cd

Looking at the code \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{decorations.markings,intersections} \begin{document} \begin{tikzcd}[scale=10] F_n \otimes M ...
3
votes
1answer
112 views

Increasing the text size of tikz-cd labels

By default the arrow labels in tikz-cd are quite small. When the labels involve subscripts or superscripts, they can become unreadable. How can I increase the label text size for all tikz-cd diagrams ...
2
votes
2answers
68 views

tikzcd, arrows not nicely aligned

I have a small problem with vertical arrows in the diagram below. I would like all three of them to be in the same position and of equal length. Suggestions? \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
207 views

Bending arrows in tikz-cd

Following the advice of LaRiFaRi in an answer to this question, I switched from XY-Pic to tikz-cd. The file below contains my diagram in XY-Pic and in tikz-cd. Please help me to make my diagram in ...
1
vote
1answer
55 views

Understanding messages in my console

After I installed tikzcd, I got this message in my console window after typesetting. ABD: EveryShipout initializing macros (/usr/local/texlive/2014/texmf-dist/tex/context/base/supp-pdf.mkii ...
4
votes
3answers
169 views

Commutative diagrams and quantifiers

I encountered in Freyd and Scedrov's book "Categories, Allegories" a diagram of this sort: I wonder how to write this kind of diagram using tikz-cd, TikZ or any other combination of LaTeX packages. ...
5
votes
1answer
88 views

Strange Arrow length

I wish my arrows have the same size. For example, I can not explain why the two vertical arrows coming out of the vertex "a" have different sizes. \documentclass{article} \usepackage{tikz-cd} ...
4
votes
2answers
77 views

Problems with tikz-cd and etoolbox

I have started using tikz-cd and it seems there is a problematic interaction with toggles. In particular, when I try to add a second "column" to the diagram, the code breaks. More specifically, this ...
2
votes
1answer
160 views

Commuting diagrams with two cells in tikz or anything? [closed]

I am trying to typeset the following diagram, which is part of the definition of Kan extension, using xymatrix. Here is a MWE of what I am currently trying to do. ...
1
vote
0answers
71 views

A code from a TikZ-CD manual is not compiling [duplicate]

Here is the code from page 2 in a TikZ-CD manual found here. I loaded \usetikzlibrary{cd}, and I loaded quotes. (Immediately preceding this example, it says "labels can be placed on an arrow by means ...
1
vote
1answer
41 views

tikzcd error with [ ]

The following code: \begin{tikzcd} A\times B &C\\\ ([g,\alpha], [f,\sigma])\ar[mapsto]{r} & [hf,\mu\alpha] \end{tikzcd} give the error "! Package pgf Error: No ...
3
votes
1answer
128 views

tikz cd: ! I can't find file `librarycd.code.tex'

The cd package for tikz seems to be failing, or missing. I am using Kile in Ubuntu 10.4, and I installed all the tikz-related packages my package manager could find. MWE: ...
2
votes
2answers
538 views

How can I install the tikz-cd package on Ubuntu?

I have certain codes written in LaTeX with several diagrams in tikz-cd. I must compile these codes in other computer (with Ubuntu 12.04 LTS) and when I compile appear this error: tikz-cd.sty not ...