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
19 views

! Argument of \language@active@arg" has an extra } in a tikz-cd diagram

I am trying to insert a tikz-cd diagram which I have previously drawn in Obsidian into my TeX document. The code including the diagram is: \begin{equation*} \begin{tikzcd}[scale=3] \...
Daigaku no Baku's user avatar
3 votes
2 answers
191 views

tikz-cd "equal" arrow with a colored background

I use a Beamer template with black background. Whenever I type an equal arrow with tikzcd, it appears as a large white line (because some background is added between the two lines of the "equal&...
sparusaurata's user avatar
0 votes
0 answers
31 views

Automatic line break in two-columns text for placing a figure with tikz-table-‎resizebox

I am trying to place a figure with some tikz codes in it in a two-columns document. The figure contains a table which includes tikz command. But I want that figure appear in the one column across the ...
next_mokami's user avatar
0 votes
1 answer
68 views

I have to draw a complete 5-sunlet graph and a 5-barbel graph. I have tried to draw them (code given below). But this is not precise

\begin{tikzpicture}[xscale=1, yscale=1.8] \tikzstyle{every node}=[circle, fill=black!,inner sep=0pt, minimum width=5pt] \node (1) at (0,.65)[label=north east:{$x_1$}] {}; ...
Shahnawaz Ahmad's user avatar
1 vote
1 answer
87 views

Tic-Tac Toe (Tabular Method) for Integration by Parts

I was able to complete the code, but I am wondering if there is a quicker or more efficient way to create this. \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsfonts,amssymb} \...
Nick B's user avatar
  • 831
4 votes
1 answer
216 views

Diagram Problem

I need a diagram, I have attached the shape below, this is my attempt but it didn't work as I wanted, I would be very grateful if you can help me. \documentclass{article} \usepackage{amssymb} \...
Ali Harun DALDALLI's user avatar
2 votes
2 answers
110 views

Formating a tikz-cd quiver with big entries to have parallel arrows

I want to draw a nice looking Auslander-Reiten quivers using tikzcd but my entries are getting quite big which kills the formating a little. Is there (an easy) way to make AR-quivers look good? I ...
Bobior's user avatar
  • 95
0 votes
2 answers
94 views

How to make a from= , to= argument work in Tikzcd in compatibility mode?

For some reason, which will probably be too much work to fix without breaking something else in my document, Tikzcd only works in my document in compatibility mode with the "Alternative syntax ...
Felipe Dilho's user avatar
3 votes
2 answers
172 views

Reduce the size of a tikz quiver diagram

The following tikz quiver code appears too large when compiled in latex. Is there a way to reduce it? Thank you \documentclass{article} \usepackage{tikz-cd} \begin{document} \[\begin{tikzcd}[cramped] ...
Tomais's user avatar
  • 163
1 vote
1 answer
21 views

How to add tikz-cd diagrams together with the package "versions"? [duplicate]

I would like to know how to use tikz-cd inside a "processifversion" environment. Compiling the following code, I get an error message saying "Undefined control sequence." \...
Doug Liu's user avatar
  • 155
2 votes
1 answer
37 views

How to draw Functor Diagram with tikz-cd and any framed environment

I would like to draw a diagram like the one in the image with tikzcd and any framed environment(e.g. itembox). For me, using tikz is complicated and cumbersome and I would prefer to avoid it. I want ...
nat-cat's user avatar
  • 23
-2 votes
1 answer
114 views

Tikz-cd diagram with beamer [closed]

In the following beamer code, \RequirePackage{plautopatch} \documentclass[14pt,aspectratio=169,xcolor=dvipsnames,table,dvipdfmx]{beamer} \usepackage{bxdpx-beamer} % dvipdfmxなので必要 %Beamerの設定 \...
BrauerManinobstruction's user avatar
1 vote
1 answer
55 views

tikz-cd arrows not aligned horizontally as expected

I have the following code \begin{tikzcd}[row sep=tiny] & (\nu d,\, e)(\bar{b} \langle e \rangle \,|\,\bar{d}) \not\downarrow_c \\ (\nu d,\, e)\bar{b} \langle d \rangle \,|\, \bar{b} \langle e \...
Filu's user avatar
  • 25
2 votes
3 answers
337 views

Hexagon commutative diagram in mathematics (Herbrand quotient diagram)

The following code \[ \begin{tikzpicture}[>=latex] \def\radius{3cm} % change to an appropriate value \node (h0A) at (60:\radius) {$H^0(G,A)$}; \node (h0C) at (0:\radius) {$H^0(G,C)$...
BrauerManinobstruction's user avatar
0 votes
1 answer
49 views

coloring and labeling in quiver tikz

@Qrrbrbirlbel, thank you very much for the response to this link:How do I enclose and color vertices?, how do I make the yellow circle see its label? I send you my latex code : %https://q.uiver.app/#q=...
Tomais's user avatar
  • 163
2 votes
2 answers
100 views

To write diagram with injective arrow

I want to write the following diagram. I wrote following code, but I cannot out put the injective map from $A$ to $B$. How can I do that and I can write beautiful diagram ? \documentclass[tikz,border=...
BrauerManinobstruction's user avatar
0 votes
1 answer
36 views

Issue with diagrams made using tikzcd

I have made the following diagrams using the tikz-cd environment: \[\begin{tikzcd}[column sep=25pt]\emph{Aut}(A)\arrow[rr,"\phi_h"]&&\emph{Aut (A')\\&G\arrow[ur,"\rho'"...
Aravind Gundakaram's user avatar
1 vote
2 answers
162 views

Unusual diagram of snake lemma

I want to draw the following diagram in LaTeX. This is essentially a diagram of the snake lemma, but a bit different from the usual one. By rotating the diagram of the snake lemma ninety degrees and ...
BrauerManinobstruction's user avatar
0 votes
1 answer
25 views

How to give an extent when putting a label on the right of an arrow in tikz-cd?

I want to put the function names on the outer side of my arrows and for some it means that I should put them on the right of the arrow: \begin{tikzcd} & {A+1} \arrow[dd, dotted, "{[f,g]}&...
Gergely's user avatar
  • 1,005
2 votes
1 answer
45 views

How do I create a horizontal "strikeout" of a symbol in the first row of a tikzcd diagram?

Suppose we have the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{cd} \makeatletter \tikzcdset{diagrams={% this will allow math mode to be deselected /tikz/matrix of ...
Arbuja's user avatar
  • 231
1 vote
0 answers
39 views

Problem with babel and tikzcd [closed]

Consider the following MWE: \documentclass[italian]{standalone} \usepackage{babel} \usepackage{tikz} \usetikzlibrary{cd} \usetikzlibrary{babel} \begin{document} \begin{tikzcd} A \arrow[dr, "\...
brad's user avatar
  • 517
3 votes
2 answers
104 views

reflectbox interferes with tikz-cd's automatic resizing

The Japanese character "yo", よ, is often used to denote the Yoneda embedding in category theory. Wanting to denote a related operator with the horizontally reflected character, I created a ...
Morgan Rogers's user avatar
0 votes
3 answers
116 views

Drawing cubes with crossing overs

I would like to draw the following picture with the dashed arrows replaced by the crossing overs in xymatrix or in tikz. I drew this one tikz but somehow unable to do the crossing overs. Any help will ...
math's user avatar
  • 179
-1 votes
1 answer
93 views

Draw the simple graph with or without Tikz [closed]

I am trying to recover the LaTeX code of the following graph. I have basic knowledge of Tikz and can work this out. Instead, I am looking for ways to let the program bend the arrows automatically, ...
Covariant's user avatar
  • 101
0 votes
1 answer
61 views

Accounting for label width in TikZ paths with control points

I have a simple custom TikZ path style, which may be reduced to the following style: \tikzset{custom/.style={ to path={ (\tikztostart) .. controls ($(\tikztostart)!.3!(\...
varkor's user avatar
  • 509
7 votes
2 answers
817 views

TikZ picture of field theory

I am currently still learning to use TikZ to add diagrams to my paper about field theory, but it seems that I currently lack the ability to use this tool flexibly. The diagram I want to create is as ...
Yoshinori Monamoto's user avatar
0 votes
3 answers
117 views

How to do pullback with universal property diagram?

I want to make a commutative diagram in the tikz (or tikz-cd) environment to demonstrate the universal property of the pullback. To be precise, I want to make the following diagram in LaTeX (the ...
JE2912's user avatar
  • 111
0 votes
0 answers
27 views

tikzcd commutative diagrams [duplicate]

I would like to write the following in Latex: I have written this, which does not work: \usepackage{tikz-cd} \[\begin{tikzcd} {} \\ {T[1]M\otimes \mathcal{F}} & {\mathcal{N}} \\ {\...
fasdgr's user avatar
  • 145
1 vote
1 answer
62 views

Latex tree diagrams with common children

I have the following tree diagram (packages specified in the heading). \usepackage{tikz} \usetikzlibrary{trees} \usepackage{tikz-cd} % Set the overall layout of the tree \tikzstyle{level 1}=[level ...
Martingalo's user avatar
0 votes
1 answer
114 views

Diagrams for partial-ordered sets

The diagram below shows the relations between the subsets of a set with three elements {x,y,z}. How can one in Tikz draw such diagrams?
Quantum Fields's user avatar
1 vote
1 answer
128 views

How can I make a diagram for a DWT in TikZ?

I would like to make a similar diagram like next figure using package tikz-cd in overleaf. I can make this: \documentclass[a4paper, 12pt, twoside]{article} % ------------ Packages ------------ % \...
Siqueira's user avatar
1 vote
1 answer
75 views

How to put ellipses around nodes in tikz-cd diagrams several times in one document

Using the idea of https://tex.stackexchange.com/a/394924/305075 I use execute at end picture to draw the ellipses in tikz-cd diagrams. The names of the nodes for the ellipse to fit are of the form ...
joergkunze63's user avatar
1 vote
1 answer
83 views

Cannot set sbox inside tikz [duplicate]

(updated version after Qrrbrbirlbel's answer: I want to measure tikz nodes) I'd like to compute the width of the content (tikz multiline node) that I will typeset in a tikz-cd node to adapt the shape ...
tobiasBora's user avatar
  • 8,401
0 votes
0 answers
38 views

Tikz matrices/tikzcd: Add automatically a node at existing cells to point to it

I am using execute at begin cell to automatically add some nodes in a tikzcd matrix (which is basically a tikz matrix, note that in practice I actually use it only on a subset of nodes, for for ...
tobiasBora's user avatar
  • 8,401
0 votes
1 answer
58 views

Nested and boxed sub-diagrams using tikz-cd package

Is there a simple way of making nested and boxed sub-diagrams using the tikz-cd package? For example (from Lawvere and Schanuel, Conceptual Mathematics): I currently use the following environment to ...
Sharanjit's user avatar
0 votes
3 answers
92 views

How to type a special mathematical expression in the context of matrix computations?

I am writing lecture notes for a course I am teaching. A Module on Matrix Computations involves a special mathematical expression and I have no clue how to typeset in LaTeX. I have enclosed an image ...
Dr. Sundar's user avatar
2 votes
1 answer
78 views

Insert equation labels inside a tikz(cd) diagram

I have the following commuting diagram and I want to insert equation labels as (phantom) edge labels inside the diagram (the label here doesn't work, it's pseudocode): \begin{tikzcd} A \arrow[&...
cxandru's user avatar
  • 45
0 votes
0 answers
16 views

Scaling of Tikz-drawn figures and hidden paths [duplicate]

I want a certain path that I generate to remain hidden (so I use the path command without actually drawing it), so that I can use that path to compute other points of interest such as intersections, ...
user134070's user avatar
0 votes
2 answers
47 views

How can I use a modified arrow in a tikz-cd diagram?

I need to make a commutative diagram with arrows that are themselves marked as incoming or outgoing. After some fiddling I produced this command, which produces an acceptable shape: \newcommand{\...
Alexander Praehauser's user avatar
0 votes
1 answer
89 views

How do I enclose and color vertices?

Does anyone know how to enclose and color the vertices? % https://q.uiver.app/#q=...
Tomais's user avatar
  • 163
1 vote
0 answers
48 views

how to avoid this change of size in tikz-cd [closed]

I was happy to learn here how to place "pullback-corner" decorations in tikz-cd squares using labels instead of phantom diagonals, but now I noticed that the label technique seems to affect ...
user313032's user avatar
0 votes
2 answers
79 views

Cube with tikzcd

I am trying to make a cube like this: I included the text so you can see that the cube is not more broad than the text. This is from the paper https://arxiv.org/pdf/math/0609301.pdf Proposition 3.6. ...
Candyblock's user avatar
1 vote
3 answers
90 views

Simple tikz-cd triangle: how add upward arrow

How can I get an arrow going vertically upward, from Z to Y, like what I drew by hand in red, in the following diagram? Code so far: \documentclass{article} \usepackage{tikz-cd} \begin{document}...
murray's user avatar
  • 7,914
0 votes
0 answers
36 views

Problem with drawing commutative diagram using tikzcd inside onslide command in frame [duplicate]

I have been trying to prepare a presentation for which I require a commutative diagram. Now I tried to use tikzcd to draw the diagram, but it didn't work properly. Here's the code: \begin{frame}{...
Devansh Kamra's user avatar
1 vote
0 answers
271 views

Permuting empty wires in quantikz2

I want to be able to draw some circuits with weaving wires. The quantikz2 tikzlibrary (here) has the \permute gate which almost does what I want, but there is a problem is if a row has an empty wire. ...
markoman's user avatar
  • 647
6 votes
2 answers
376 views

Middle arrow for dynkin diagrams

I want something like this for my Dynkin diagrams: What I'm not able to create is the middle arrowhead. Up until now I managed to obtain this: \documentclass{report} \usepackage{amsmath,amssymb,tikz-...
toyr99's user avatar
  • 63
3 votes
2 answers
203 views

correct placement of pullback corner for non-square rectangular diagrams in tikz-cd

The recommended way (see Section 4.2 here) to place pullback corners in tikz-cd diagrams is using diagonal phantom arrows, as in \documentclass{article} \usepackage{tikz-cd} \usepackage{amssymb} \...
user313032's user avatar
0 votes
0 answers
114 views

tikzcd not working for me

I created the following test file: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{cd} %opening \title{} \author{} \begin{document} \maketitle \...
Raul Gomez's user avatar
1 vote
1 answer
97 views

moving the position of the label in tikzcd

Please see the code below \documentclass[12pt,reqno,a4paper]{amsart} \usepackage{amsmath,amsthm,amsfonts,amssymb} \usepackage{hyperref} \usepackage{mathrsfs} \usepackage[all]{xy} \usepackage{tikz-cd} ...
Praphulla Koushik's user avatar
3 votes
1 answer
136 views

How do I use both quantikz and zx-calculus packages?

I am a long-time consumer of the discussions in this great forum. This is my first question, so please correct me if I do not follow some protocols. In my attempt to use both the packages zx-calculus ...
Max Schwetz's user avatar

1
2 3 4 5
19