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

learn more… | top users | synonyms

2
votes
1answer
51 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 ...
2
votes
1answer
41 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
45 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
26 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
76 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
44 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 ...
3
votes
1answer
205 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
89 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} \[ ...
3
votes
1answer
83 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
66 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 ...
12
votes
1answer
261 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 ...
0
votes
1answer
107 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
66 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
95 views

What's wrong in directly using tikzcd environment?

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: ...
0
votes
0answers
81 views

Tikzcd label size

Since this is so basic, it has to be written somewhere but I can't seem to find it. I am attempting to change the size of a label for a commutative diagram with tikzcd. The documentation hints at how ...
7
votes
2answers
151 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 ...
8
votes
3answers
256 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 ...
8
votes
3answers
431 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
295 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
208 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
188 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
301 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
81 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 ...
1
vote
0answers
224 views

Can't use 'equal' in tikz-cd [closed]

Ok, here is the problem. I'm trying to draw some commutative diagram in LaTeX that involve some "equal" sign in tikz-cd: \[ \begin{tikzcd} 0 \arrow{r} & X \ar[equal]{d}\\ 0 \arrow{r} & X ...
6
votes
1answer
453 views

Labels in tikzcd?

For some reason the tikzcd documentation that comes with TeXLive says nothing about the following: How do I specify whether or not a label is below/above an arrow? How do I specify the size of ...
5
votes
1answer
148 views

How can I get symbols to appear in the middle of commutative diagrams using tikz-cd?

I'd like to get question mark symbols in the center of my commutative diagrams, thus: \documentclass{article} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd}[row sep=tiny] A ...
4
votes
1answer
1k views

tikz-cd error: Single ampersand used with wrong catcode

I'm trying to draw a diamond-shaped commutative diagram using the tikz-cd package. Below is my LaTeX source: \documentclass{amsart} \usepackage{tikz} \usepackage{tikz-cd} \begin{document} ...
2
votes
1answer
172 views

How to adjust the sign of implication sign

I want to get the following implication arrows: But according to percusse's suggestion not implies, not Leftarrow, description in the middle of an arrow in TikZ-cd I would get this: As you can ...
4
votes
2answers
202 views

Scaling tikz-cd labels

I'd like to scale a custom symbol drawn in tikz, such that it's the same size as surrounding text in a tikz-cd diagram. For example, in the following code I'd like the box to the left of A_2 to be ...
5
votes
1answer
187 views

How to draw bent arrows going to a new line in long formulas (ex. chain complexes)

I have to write quite long chain complexes such as 0\rightarrow A \rightarrow B \rightarrow C \rightarrow etc. with many terms in them, and I would like the arrows close to the side of the page to ...
1
vote
0answers
127 views

Why doesn't yshift seem to work in tikzcd? [closed]

In the tikz-cd documentation, the following code snipped is given: \begin{tikzcd} A \arrow[yshift=0.7ex]{r} \arrow[yshift=-0.7ex]{r} & B \arrow[xshift=0.7ex]{d} \arrow[xshift=-0.7ex]{d} \\ & ...
4
votes
2answers
499 views

Delayed drawing of arrows in tikz-cd

I want to draw an arrow which passes over another arrow in a tikz-cd commutative diagram. I can do that as follows from the documentation: \documentclass{article} \usepackage{tikz-cd} ...
3
votes
1answer
298 views

Parallel arrows without heads

The official tikz-cd is available here. On page 3, one reads: The following list shows all available arrows. I tried all items in the list, and got error messages for the three items: dash, ...
5
votes
1answer
213 views

tikz-cd equivalent to the xy-pic command \ar@{-}

How do I make the diagram X - Y -> Z with tikz-cd? With xy-pic, I would enter \xymatrix{ X \ar@{-}[r] & Y \ar[r] & Z } I tried \begin{tikzcd} X \ar[no head]{r} & Y \ar{r} ...
11
votes
1answer
323 views

Tikz-cd and snake lemma: “loseness” and centered figures

I have to draw a snake lemma, as here: snake lemma. The code is \documentclass{article} \usepackage{tikz-cd} \usepackage{amsmath} \DeclareMathOperator{\Tor}{Tor} \begin{document} ...
8
votes
2answers
310 views

How to ensure consecutive diagonal arrows form a straight line?

How can I ensure that consecutive diagonal arrows in a tikz-cd commutative diagram spanning many rows and columns lie on a straight line (as is automatically the case for consecutive horizontal ...
9
votes
1answer
250 views

Using tikzcd in newcommand (for inline arrows)

I’m using tikz-cd for diagrams, and have a medium-sized diagram that I want to re-use several times. However, when I try using a definition like: \newcommand{\myarrow}{$\begin{tikzcd} A \ar{r} & ...