Tagged Questions

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

learn more… | top users | synonyms

2
votes
1answer
29 views

Having trouble when loading TikZ-cd

I have just installed the package tikz-cd using the MikTeX package manager, but somehow it won't load properly. I've included the error message. Could anyone help me out? MWE: ...
0
votes
1answer
35 views

How to draw multiple arrows in tikz-cd?

I'm having problems in drawing a diagram with multiple arrows between given two objects. For instance, \begin{tikzcd} A \arrow{r}{i_1} &C \arrow{l}{\pi_1} \arrow{r}{\pi_2} &B ...
5
votes
2answers
130 views

Co-equalizer diagram in tikz-cd in LaTex

Can someone help me to draw a horizontal parallel arrows as a co-equalizer diagram in tikz-cd? An example of co-equalizer diagram is: Thanks in advance!
4
votes
1answer
64 views

Optional arguments and &

I defined a simple diagram environment with \usepackage{tikz-cd} \newenvironment{diagram} { \begin{equation}\begin{tikzcd} } { \end{tikzcd}\end{equation} } and it worked fine. In particular ...
0
votes
1answer
53 views

The onslide command in beamer with tikzcd

Is it possible to use the \onslide command in beamer within the tikzcd environment? The following mwe gives an error. \documentclass[]{beamer} \usepackage{tikz-cd} \begin{document} \begin{frame} ...
5
votes
1answer
52 views

Tikzcd conflict with babel and cd

I have this problem: when I try to compile a diagram I get the following message: I think the culprit is a tikzcd arrow in ell 1-1 But I have not problem when, in the tikzlibrary, I just use cd, ...
1
vote
1answer
73 views

Negated implication arrows in tikzcd [duplicate]

I have four properties A, B, C, D and I am trying to summarize the logical implications between them into a single diagram. So far I have the following picture but I would like to have some of the ...
3
votes
0answers
46 views

tikz-cd: error stating I can only use specific letters for \arrow command, even when I use the correct letters [closed]

I am having trouble beginning to use the tike-cd package for commutative diagrams. Whenever I use the \arrow or \ar command for an arrow, I come up with the errors: "! Package tikz-cd Error: Arrow ...
2
votes
1answer
93 views

Adjusting the width of a displaymath environment

I want to adjust the width of an displaymath environment whose contents (a tikzcd diagram rather than an actual equation) are too wide to fit in the margins. The obvious thing to do is to use the ...
7
votes
2answers
241 views

Brazil Language problem in the TikZ diagram

I have a problem with TikZ diagram, I don't get to make the diagram with babel under the brazil language. I used the code with french and everything is OK! \documentclass[a4paper,12pt, ...
2
votes
1answer
74 views

How to typeset Hess' Cycle in tikz-cd?

I want something like this: A B ΔH \ / (-397*2) \ / C Where the arrow points from A to C, and from B to C. How can I do ...
1
vote
0answers
64 views

tikz-cd [equal] and arxiv [closed]

I seem to be running into an issue while uploading a TeX file on the arxiv while trying to use tikz-cd. I think arxiv is using an older version of TikZ/pgf which does not support the [equal] arrow. ...
2
votes
1answer
84 views

how to ensure no overlap between arrows and text in a commutative diagram?

Consider the figure below \documentclass{article} \usepackage{amsmath} \usepackage{tikz-cd} ...
6
votes
2answers
128 views

text in commutative diagrams

How can I replace letters with text or say a text box. Consider the following example. As you might notice in the output, the text is not quite okay. Is there a way to correct it please? ...
2
votes
1answer
93 views

Creating Direct Limits and Inverse Limits using Tikz

I am trying to make something that looks like I am trying to go from here (works): \begin{tikzcd} A \arrow{r}\arrow{rd} &B \arrow{d}\arrow[leftarrow]{r} &C \arrow{ld}\\ &D \end{tikzcd} ...
1
vote
0answers
121 views

Bug with tikz-cd [closed]

The MWE below is producing the errors ! Package tikz-cd Error: Arrow direction argument must contain only the characters u, d, l, r. l.7 A \arrow[r] & B ! ...
4
votes
1answer
60 views

Why the tikzcd command does not compile

I try to make a diagram: \[ \begin{tikzcd}[column sep=small] &D^n \arrow{r}{e_\alpha^n} &X\arrow{r} &X/(X-e_\beta^{n-1}(B^{n-1}))\\ S^{n-1}\arrow{r}{\cong} ...
4
votes
1answer
186 views

Creating triangle commutative diagram with tikz-cd

I've just started using TikZ and need to create a simple triangle commutative diagram like this one. The closest I've been able to get is this. How do I get the h arrow to go from A2 to A3? ...
3
votes
3answers
99 views

Circular arrow in tikz-cd

How do I draw a circular arrow (to indicate commutativity) in tikz-cd, similar to the one in the middle of the following diagram? (Image from this question.)
2
votes
1answer
170 views

Getting commutative diagrams in TikZ to work

I'm new to making documents in LaTeX, though I've used just math mode for a while. I've installed texlive-core via texlive-most from the Arch repositories and rendered a few basic documents. However, ...
2
votes
1answer
60 views

Tikzcd graph gives me: Typesetting problem in main.tex Too wide error

I made a graph which looks good in the pdf. But now latex keeps telling me it's too wide and I have no idea how to compress this thing. \[ \begin{tikzcd} ...
2
votes
2answers
130 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
1
vote
1answer
88 views

Positioning a node horizontally aligned and below others

Using tikz 3.0.0, I want to create the following diagram which I have so far achieved by manually positioning the “G” in the last row: \begin{center} \begin{tikzpicture} \node (A) ...
1
vote
1answer
87 views

Commutative diagram with blank spacing and crossing-layer arrows

Related to a previous post, now pardon me to go to a specific example, here is my output and my Minimum Working Environment ...
1
vote
1answer
93 views

Improve inline xymatrix/tikzcd?

When I was typesetting commutative diagrams, I always put my \xymatrix or tikzcd in displaymath: For a long time I believed that this is the only way to do so. However, about last month, I saw ...
1
vote
0answers
356 views

Problem with TikZ - can't find file 'tikzlibraryquotes.code.tex' [closed]

I've downloaded all the appropriate packages (tikz/pgf). I tried to compile the following code but I get the message : I can't find file 'tikzlibraryquotes.code.tex' \documentclass{article} ...
6
votes
1answer
149 views

tikz-cd: Error: No shape named tikz@f@1-0-1 found

In my use of tikz-cd, the down, right and left arrows (\ar{d},\ar{r}, \ar{l} respectively) work fine, but I seem to have no uparrow (nor any up right arrow or up left arrow). When I have \ar{u}, I get ...
12
votes
3answers
345 views

Are the TikZ libraries cd and external incompatible with one another?

Is there a way to use the TikZ libraries cd and external together? This does not work: \documentclass{article} \usepackage{tikz} \usetikzlibrary{cd, external} \tikzexternalize \begin{document} ...
2
votes
1answer
115 views

Writing macros for tikz-cd arrow options

I'm trying to write a macro to let me write shorthand for tikz-cd arrows. For instance instead of having to write out the full command \arrow[swap, dotted]{r}{f^*} I'd like to have a shorthand ...
3
votes
1answer
105 views

Using strings to list parameters for tikz-cd arrows

I'm trying to write some macros for making tikz-cd commutative diagrams. In tikz-cd you can give your arrows options like "bend left" or "dotted", in a comma-delimited list: \documentclass{article} ...
3
votes
1answer
109 views

Problem with babel [brazil] and tikz-cd's phantom arrows

I'm trying to draw the following diagram using tikz-cd \documentclass[11pt]{article} %\usepackage[brazil]{babel} \usepackage{amssymb, tikz-cd} \tikzset{commutative diagrams/.cd} \begin{document} ...
3
votes
1answer
102 views

tikz-cd Extra arrow tip with start anchor on edge v0.9b

I'm drawing a BIG tikzpicture using the tikz-cd package. I won't reproduce the entire diagram here as there's no need. But the following MWE highlights the problem I'm having which is this: One region ...
6
votes
2answers
118 views

tikz-cd bug in horizontal line angle in v0.9b?

I have found what I think is another bug in tikz-cd v0.9b. Take the following code: \documentclass[11pt]{article} \usepackage{amsmath} %maths \usepackage{tikz-cd} \usetikzlibrary{arrows} \title{} ...
7
votes
1answer
159 views

'tikz' style arrow tips missing when using tikz-cd crossing over

I have been using tikz-cd to create commutative diagrams. I just upgraded to version 0.9b from 0.3c and now there is a problem with the arrow tips. I like to use the 'tikz' solid tips. The following ...
4
votes
1answer
761 views

Does pgf 3.0.0 on ctan not have the arrows.meta tikz library?

Ever since upgrading to pgf 3.0.0 and tikz-cd 0.9b, I cannot load the tikz-cd package. The issue seems to be with the arrows.meta tikz library. The following MWE throws up 3 errors and a warning, also ...
7
votes
1answer
136 views

Ampersands broken in tikz-cd 0.9?

I was just upgraded to tikz-cd 0.9 (with pgf 3.0.0). The following code now breaks: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usepackage{tikz-cd} \begin{document} \[ ...
4
votes
1answer
150 views

nested diagrams in TikZ-cd

Since the last update, the following code does not compile anymore \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} UL ...
4
votes
1answer
141 views

Removing arrow tips in TikZCD

I love the TikZcd syntax to draw diagrams, and I want to use it to draw diagrams of field extensions ; this involves drawing arrows without tips. The only command I know to draw lines in tikzcd ...
13
votes
1answer
315 views

Does anyone have a script that will convert \xymatrix to tikzcd?

I have a long set of lecture notes where the commutative diagrams are written in xy using the \xymatrix format. I would like to switch over to tikz-cd. The syntax for the two are pretty similar with ...
-1
votes
1answer
152 views

Cannot draw this diagram using tikz-cd

I'm having a lot of problem in drawing a diagram of the form \begin{itemize} \item \textbf{The Tower Property} \begin{tikzcd} L \arrow[hook]{u} \\ K \arrow[hook]{u} \\ k \arrow[hook]{u} ...
6
votes
1answer
100 views

Function in the half of arrow with tikzcd

I'd like to do a diagram in which a function f appears in the half of the arrow, like this: Is it possible doing this with tikzcd package?
1
vote
0answers
151 views

What's wrong in directly using tikzcd environment? [closed]

I have a MikTeX 2.9 distribution installed on Windows 7 with PGF 2.10 and tikz and I get a hundred errors at compilation no matter how many dollar sings I use to surround the diagram environment: ...
7
votes
2answers
280 views

Adjoint functors with tikz-cd

I'd like to construct diagrams such as , preferably with tikz-cd, but I've no idea where to start. Please help :) EDIT: This is what I have so far. \begin{tikzcd} \mathbf{C} \arrow[bend ...
9
votes
3answers
313 views

Manipulate cell width in tikz-cd

This is something of a nitpick, but I'm having some trouble getting to grips with tikz-cd. I'm not sure of the TikZ terminology, but I think I'm trying to find a way to manipulate cell widths. Here's ...
9
votes
3answers
773 views

Scaling a tikz-cd commutative diagram in TikZ?

I'd like to be able to scale some rather complex CDs using the scale key, for example scale=0.5. In the following MWE the scale key seems to have no effect. \documentclass{amsart} \usepackage{tikz} ...
10
votes
1answer
343 views

Arrow with superscript in tikz-cd

I need my tikz-cd diagrams to have arrows (vertical and horizontal) that mimic \mapsto^* to match the relation in the text. The closest I've managed is to add a label {*} at [pos=1]: ...
6
votes
1answer
265 views

\Mapsto in tikz-cd

I'm loving using tikz-cd to draw compiler correctness diagrams, but I can't manage to get quite the same arrows for relations that I'm using in the text. In particular, I'm not sure how to get \Mapsto ...
6
votes
1answer
236 views

Commutative Diagrams with internal mappings

I'd like to produce a commutative diagram with mappings specified inside it, as follows: My rankly amateur efforts so far have centered on tikzcd with extra columns and rows, as in ...
5
votes
2answers
480 views

Tikz-cd: How can I arrange diagonal arrows parallel?

The two lower diagonal arrows in the following diagram are obviously not exactly parallel. How can I arrange them correctly? \documentclass{article} \usepackage{tikz-cd} \usepackage{amsmath} ...
4
votes
0answers
89 views

Trying to get tikz-cd going [duplicate]

Trying to get samples from this document to work, I made the following minimal document on WriteLaTeX here \documentclass{beamer} \usepackage{tikz-cd} \begin{document} \begin{frame}{Hello ...