Questions tagged [tikz-cd]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
31 views

Equilateral triangle commutative diagram

Here is my LaTeX for a commutative diagram using tikz-cd: \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[column sep=small] & & Y & & \\ & A \...
2
votes
2answers
80 views

Make tikz arrows glow

I have a tikz-cd diagram where I would like each arrow to have a "glow", where the glow is the same colour as the arrow. How might I do this? MWE \documentclass{article} \usepackage[dvipsnames]{...
1
vote
1answer
28 views

Tikz-cd diagrams are not fancy

So I tried looking for that on the net, but nobody seems to be addressing this issue. I am trying to add diagrams to a document, and it does work. But the result is not as fancy as in this tool : ...
1
vote
1answer
18 views

How can I draw a commutative diagram without the arrows overlapping?

I am trying to draw a commutative diagram as follows. \usepackage{tikz-cd} \usepackage{newtxmath} \begin{document} \[ \begin{tikzcd} & P \arrow[d, "\pi_i" near start] &\\ & P_i \arrow[u,...
0
votes
3answers
36 views

TikzCd: Midway label of a diagonal edge

I have the following problem. I want to label the edge of A and B with a letter f. The thing is, if I use \draw [->] (v1) -- node[midway]{$f$} (v2); I get this: And if I use \draw [->] (v1) ...
1
vote
2answers
28 views

yshift for arrow labels in tikz-cd, without also shifting arrow

The syntax for arrows in tikz-cd is \arrow[options]. Arrows can either be positioned relatively (e.g. \arrow[r, "\phi"]) or absolutely (\arrow[from=1-1, to=1-2, "\phi"]). I want to shift the label of ...
1
vote
1answer
39 views

Commutative Diagram in Standalone using TikZcd

I'm trying to draw a diagram of a function that is Injective but not Surjective. I'm using standalone, and want the end result to look like the this image: My code is modified from https://tex....
0
votes
1answer
29 views

How can I align a short bit in a tikz diagram with part of a longer expression without tearing the long expression apart?

I have this commutative diagram, drawn with tiz-cd: \[ \begin{tikzcd}[row sep=0.1em] R \arrow[r, "T_R"] & T_R(R) \arrow[r, "G", dashed] & T_S(S) & S \arrow[l, "T_S"'] \\ ...
1
vote
1answer
30 views

Keep getting missing $ error in beamer using code that worked fine elsewhere

I am getting errors like, missing $ inserted or extra or forgotten } while trying to compile the following code using beamer class. \documentclass{beamer} \newcommand*{\theorembreak}{\...
0
votes
1answer
31 views

`tikz-cd` diagram is not rendered when there are labels on arrows

I am using tikz-cd for the first time, trying to create a rather simple commutative diagram. This is the first part of the diagram I am trying to get to render: \begin{tikzcd} R \arrow[r, "T_R"] &...
3
votes
2answers
65 views

How do I draw a cube with even edges on tikz or latex in general?

Below is what I have but the edges aren't equal length, does anyone know how to fix it? \begin{tikzpicture}[node distance=2.5cm] \node (a) at (0,0) {27\ 9\ 3}; \node [below right of=a] (b) {27\ $3^4$...
0
votes
1answer
28 views

A not wanted diagonal arrow is appearing in the diagram

I don't want the diagonal arrow appearing in the second line. Can someone please help me to fix it? Here's the tex code I used: \begin{center} \begin{tikzcd} \mathbb{C}\arrow[rrrr,"\times e'_\lambda(...
0
votes
1answer
36 views

How can I put an angle at this specific point? [duplicate]

I am new to tikz and I am struggling to be precise with the placement of my figures. Specifically, I was looking to have angle EDF be labeled with $\frac{x}{2}$ and angle ADF to have the "right angle" ...
0
votes
1answer
46 views

How can I label the x-axis of my tikz plot with variables?

I am struggling to label the x-axis with my desired points 0, a, b respectively. I want 0 to sit just below the origin, a to sit below where the white rectangle ends and b to sit below where the grey ...
2
votes
1answer
37 views

How to slightly shorten a Rightarrow in tikzcd?

I want to draw a triangular 2-cell diagram in tikz. The obvious attempt is the following. \[\begin{tikzcd}[row sep=3em] a \arrow{dr} & \\ b \arrow{u} \arrow[""{name=foo}]{r} & c \arrow[...
3
votes
1answer
48 views

Move node slightly up in Tikzcd

I'm trying to draw the following diagram in tikzcd but I want to move the marked node slightly up, is that possible to do this in tikzcd? Or is this one of the cases when it is just better to use tikz ...
2
votes
1answer
28 views

Slightly non-horizontal arrow in tikz-cd

I have written the following diagram with tikz-cd: As you can see, the middle "maps to" arrow is very slightly non horizontal, but I don't know why. Maybe the technique I used to set arrows between ...
2
votes
1answer
51 views

This diagram needs fixing… And I don't know how to fix it

This is my diagram so far \documentclass{amsart} \usepackage{tikz-cd} \begin{document} \begin{center} \begin{tikzcd}[row sep=huge, column sep=huge] & \ \ O \arrow[r, "\phi_{1}", yshift=0.7ex] \...
0
votes
1answer
38 views

Curved arrows for denoting chemical reactions (as a commutative diagram)

The following code generates the sequence of reactions for formation of specific products. \begin{tikzpicture}[ start chain = going below, block/.style = {text width=2em, font=\linespread{1.5}\...
1
vote
1answer
37 views

TikZ Figure with text, arrows, dashed line, and brackets

I am trying to produce the following figure: So far, this is my code: \documentclass{article} \usepackage{amsmath} \usepackage{arydshln} \begin{document} \pagestyle{empty} \centering \[ \begin{...
0
votes
1answer
40 views

Writing text on a curve in tikz

I was trying to change the typeface of some text that I wrote in a tikzpicture. I have tried a few things, but none of them seem to work. What I current have is \begin{tikzpicture}[scale=0.4] \path ...
2
votes
2answers
86 views

Clash with dutch Babel and tikzcd

I was trying to make a commutative diagram using something like \arrow[r, "A"] at some point, and I kept getting weird errors. I finally found out that I got no errors if I removed "dutch" from \...
1
vote
1answer
25 views

Negating squiggle arrows in tikzcd

I am trying to negate (some) squiggle arrows in tikzcd. I have tried "/" marking, etc. I can either get the appropriate squiggle arrow not negated, or I can get a normal arrow negated, but not a ...
1
vote
1answer
39 views

Problem on map name on arrow

I have an issue with double map: I can't put the maps names on the right place, one on the top of the arrow, the other on the bottom. \begin{tikzcd} X'' \arrow[r, shift right, "", "h"] \...
3
votes
1answer
45 views

tikz-cd `equal` option produces faint edge across “gap” at ends of path

I want to draw an arrow as an equals sign in a commutative diagram. This should be possible using the equal option provided by tikz-cd. As pointed out in Long equals in tikz, this produces a faint ...
0
votes
1answer
22 views

Error when typing arrows

I have recently installed Texmaker and Miktex on my new laptop, but I can't get my tikzdiagrams to work. \documentclass[12pt]{article} \usepackage{mathtools} \usepackage{amsmath} \usepackage{amsthm} ...
-1
votes
2answers
80 views

How to draw this diagram using tikz?

How to draw this diagram using tikz?
1
vote
2answers
42 views

How to draw nodes of graphs connected by curve lines?

How to make nodes of graphs connected by curve lines that looks like: My working: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,matrix,positioning,shapes,arrows} \usetikzlibrary{...
0
votes
1answer
29 views

How to add circle to the diagram along with the labels

How can I produce a diagram that looks like this: My working is as follows \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,matrix,positioning,shapes,arrows} \usetikzlibrary{shapes....
3
votes
2answers
128 views

Labelled Text Boxes that are Connected with Arrows [tikz]

I want to make the diagram along with the labels (citation) that looks like: My working is as follows: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,matrix,positioning,shapes,...
0
votes
1answer
31 views

Interference between babel and tikzcd

I have a problem with using the babel package and tikzcd. Here is my MWE: \documentclass{article} \usepackage[ngerman, english]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amsthm} ...
1
vote
2answers
47 views

tikzcd downarrow aligned in one column

I am trying to draw an arrow[d] that would depart directly from C straight to Y : \documentclass{beamer} \usepackage{...
1
vote
1answer
47 views

Tikzcd “Crossing Over” Background Color?

I'm making a Tikzcd diagram but I wanted to add color to the background of my document like so: However, there's clearly an issue with the middle diagram. In the middle diagram, I wanted to make ...
0
votes
1answer
39 views

Diagram with diagonal, vertical, horizontal and bent arrows

How can I draw the following diagram using tikz-cd? I've seen a lot of examples on the internet, but none of them helped (actually, they confused me more).
4
votes
2answers
203 views

Producing a Commutative Diagram in the Shape of a Dodecagon

I am trying to produce a diagram in the shape of a dodecagon, but using the approach I am more comfortable with I would need to be able to change the separation of individual pairs of columns and rows....
2
votes
1answer
50 views

How do I draw symbols above arrows in tikz?

I am using the following code to draw a commutative diagram and I want to draw the chi above the arrow but I don't know how \begin{document} \usepackage{tikz-cd} \begin{center} \begin{tikzcd} ...
0
votes
2answers
51 views

tikz-cd commutative diagram special form

I am using the tikz-cd package. How can I draw the above diagram in LaTeX?
1
vote
2answers
45 views

TikZ-cd: How can we draw a border around multiple nodes?

I am wondering if there is a way of drawing a border around a selected set of nodes in tikz-cd. There are some past threads for TikZ, and they are too complicated for me to comprehend. I would like to ...
0
votes
1answer
47 views

Displaced arrow labels with tikzcd

In the output of my diagram in tikzcd, the arrow labels are displaced. I guess the problem is the subscript C_T, but I don't know how to fix this.
2
votes
2answers
125 views

Labels in the center of Tikz-cd diagrams

How do I get the $\Sigma_i$ to appear in the center of a diagram as in the following Thanks!
1
vote
1answer
50 views

extract package and macros that use extract environments

I have a number of (long) documents from which I want to extract all of the tikzpicture environments into a separate file. The extract package seems the right place to start, but there's a problem: ...
2
votes
2answers
377 views

Help with better isomorphic function symbol

I'm trying to us TikZcd to create a better isomorphic mapping symbol. I've seen the other posts about this issue and they're all terrible, and they even acknowledge their solutions aren't great. The ...
4
votes
4answers
183 views

Labelling arrows drawn to paths in tikz-cd

I'm trying to draw a (commutative) diagram using tikz-cd. The package manual, in section 3.2, describes how to use to path for fine-grained control of the shapes of arrows, but says little on how to ...
1
vote
3answers
73 views

How to put dashed line and caption to the figure drawn using tikz?

I want to put the dashed line to the flow chart I have drawn using tikz. The current working looks like as follows: \documentclass{article} \usepackage{tikz-cd,tikz} \usetikzlibrary{arrows, matrix, ...
1
vote
1answer
56 views

Create a Custom Neural Network Picture

I'm currently searching for an effective tool to draw and import the following neural network picture into my thesis. I have learned a lot thank to you guys w.r.t. TikZ but unfortunately my skills ...
-2
votes
1answer
104 views

How can I have dots in my 3D diagram? I cannot add the diagonal dots, the slopes are different [closed]

I am trying to make his diagram. But I realized that \diagdots does not work due to different slopes with \arrow{dr}. Can you please help me?
0
votes
0answers
51 views

Tikz-cd: What exactly does \arrow{rr} do in contrast to \arrow{r}, and how does it relate to “&&” versus “&”?

So I've used the wonderful tool "tikz-cd editor": https://tikzcd.yichuanshen.de/ I am also using Overleaf for what it's worth. \arrow[rr, "\digamma"] versus \arrow[r, "\digamma"] I'm guessing what ...
1
vote
1answer
48 views

Two bent arrows one origin tikz-cd

For linguistic syntax analysis I need two bent arrows with the same origin but different end. What I have is this: \documentclass{article} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd} \...
3
votes
1answer
116 views

Complicated adjoint functor diagram

How can I make two diagrams like in the following picture? Thank you in advance for your help.
3
votes
1answer
364 views

Simple tikzcd diagram with one branch

My goal is to have a simple diagram with A followed by a right arrow to B followed by two 45 degree arrows, one which branches up to C, and which branches down to D. Can anyone please help me repair ...

1
2 3 4 5
11