Questions tagged [tikz-cd]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
480 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 \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,...
user avatar
  • 2,179
1 vote
1 answer
533 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 ...
user avatar
  • 35.5k
4 votes
0 answers
3k 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} \...
user avatar
  • 185
7 votes
1 answer
1k 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 ...
user avatar
  • 123
27 votes
4 answers
2k 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} \...
user avatar
2 votes
2 answers
383 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 like ...
user avatar
  • 55
3 votes
1 answer
485 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} ...
user avatar
  • 55
4 votes
1 answer
491 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} \[...
user avatar
  • 143
10 votes
2 answers
1k 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 ...
user avatar
6 votes
2 answers
270 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{} \...
user avatar
7 votes
1 answer
1k 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 ...
user avatar
7 votes
1 answer
3k 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 ...
user avatar
  • 1,285
6 votes
1 answer
515 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} \[ \begin{...
user avatar
4 votes
1 answer
834 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 \arrow{r}{{\begin{tikzcd}1\arrow{r}{a}&2\end{...
user avatar
  • 7,305
14 votes
2 answers
5k 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 ...
user avatar
17 votes
1 answer
756 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 ...
user avatar
0 votes
1 answer
342 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} \...
user avatar
5 votes
1 answer
658 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?
user avatar
  • 706
2 votes
0 answers
688 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: \...
user avatar
8 votes
3 answers
2k 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 left=35]{r}...
user avatar
  • 271
9 votes
3 answers
2k 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 ...
user avatar
  • 91
19 votes
3 answers
13k 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} \...
user avatar
  • 7,797
10 votes
1 answer
954 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]: \documentclass{...
user avatar
8 votes
2 answers
3k 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 ...
user avatar
8 votes
1 answer
845 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 \usepackage{tikz-...
user avatar
7 votes
2 answers
2k 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} \begin{...
user avatar
  • 135
3 votes
0 answers
117 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 ...
user avatar
  • 457
2 votes
0 answers
1k 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 \...
user avatar
  • 21
20 votes
1 answer
25k 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 ...
user avatar
10 votes
1 answer
2k 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 centre of my commutative diagrams, thus: \documentclass{article} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd}[row sep=tiny] A \arrow{d}[swap]...
user avatar
5 votes
1 answer
4k 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} \[\...
user avatar
31 votes
2 answers
22k views

How to draw commutative diagrams?

Can anyone help me in giving commands for commutative diagrams in LaTeX ? It doesn't seem to appear properly in the LaTeX guides that I have. A command for a simple triangular diagram with arrows ...
user avatar
  • 607
2 votes
1 answer
752 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 see,...
user avatar
  • 559
3 votes
2 answers
994 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 ...
user avatar
4 votes
1 answer
667 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 ...
user avatar
3 votes
2 answers
2k views

Vertical parallel lines/arrows

How can I draw with tikz-cd two vertical parallel lines two vertical parallel lines pointing in opposite directions?
user avatar
4 votes
2 answers
2k views

Tikz for Commutative Diagrams

I need to use tikz package because of the quality of commutative diagrams it produces as I've seen in some manuals. I've tried it severally but all to no avail. I'm using MiKTeX with TeXmaker editor ...
user avatar
1 vote
0 answers
311 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} \\ & ...
user avatar
12 votes
3 answers
3k 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} \begin{document}...
user avatar
5 votes
1 answer
5k 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, ...
user avatar
5 votes
1 answer
567 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} &...
user avatar
13 votes
1 answer
2k 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} ...
user avatar
12 votes
2 answers
1k 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 arrows)...
user avatar
  • 745
13 votes
1 answer
994 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} & ...
user avatar

1
12 13 14 15
16