Questions tagged [tikz-cd]

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

Filter by
Sorted by
Tagged with
3 votes
2 answers
82 views

How to change the size of labels in a commutative diagram with tikz-cd

I have made a commutative diagram using the tikz-cd package and cannot figure out how to increase the size of the labels for the arrows. I used [sep=2cm] to space out the rows and columns more, but ...
user avatar
0 votes
0 answers
69 views

Undefined Control Sequence error in tikz [duplicate]

I want to write a commutative diagram with tikz where some arrows are labeled with matrices. How can I improve the diagram to look correct, because the matrices look not correct in the diagram? Here ...
user avatar
  • 1
2 votes
1 answer
30 views

Help needed with formating tikz-cd diagram

I need help with formating tikz-cd. It should look like this picture: however i wrote this code: \documentclass[11pt]{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} m^3 ...
user avatar
3 votes
1 answer
79 views

tikzcd inside parbox

\documentclass{article} \usepackage{tikz-cd} \begin{document} \parbox{\textwidth}{\[ \begin{tikzcd} a \arrow{r}{} & b \end{tikzcd} \]} \end{document} The MWE above throws a ...
user avatar
  • 1,986
2 votes
1 answer
81 views

Too much empty space before a TikZ CD with a bent arrow with looseness [duplicate]

As you can see in the following example, there is too much empty space between the text and the diagram when I use an arrow with bend left=100, looseness=2. How can I avoid it? \documentclass{article} ...
user avatar
  • 54.8k
1 vote
1 answer
33 views

Custom style for tikzcd

I would like to define something called fieldtower (a style?) which stands for arrows=no head, column sep=small. This thing should be usable at will between tikzcd environments. So something like this ...
user avatar
  • 145
1 vote
1 answer
88 views

tikz-cd "undefined control sequence"

I cut-and-paste a basic example from the tikzcd manual and keep getting error messages. Here is a minimal example: \documentclass{beamer} \usepackage{tikz-cd} \usepackage[english]{babel} \usepackage[...
user avatar
  • 335
2 votes
3 answers
400 views

How to draw an equilateral triangle with a solid line inside it?

I know how to draw a triangle like so: \begin{tikzpicture} %Triangle 2 \node at (2,-1) {triangle 2}; \draw (0,0)--(2,0) node[sloped,pos=0.5]{}; \draw (2,0)--(2,2) node[sloped,pos=0.5]{\arrowR}; \draw (...
user avatar
  • 153
1 vote
1 answer
34 views

Drawing a vertical rectangle instead of horizontal one and making its dimensions smaller, 3cm by 2cm

\documentclass{book} \usepackage[margin=1in]{geometry} \usepackage{tikz} \usetikzlibrary{shapes.geometric, patterns, patterns.meta} \usetikzlibrary{arrows.meta} \usetikzlibrary{decorations....
user avatar
0 votes
1 answer
37 views

A square with a dotted line in it with arrows reversed or in the same direction

I want to draw the one of the squares of following figure: And I want to know how to reverse this bold arrow please. Thanks in advance!
user avatar
-1 votes
2 answers
105 views

Drawing a part of a cylinder

Here is the drawing I want to draw: I want to draw this part of the cylinder and a square with internal shading (I do not want the dotted line inside the square, it was a typo) Can someone help me in ...
user avatar
  • 353
1 vote
1 answer
53 views

Cartesian coordinates with rectangles on axes and lines bounded elements

I need help in the pictures below. I can not draw the rounded rectangle upon the two axes, the line like U in the pictures on the left, and the line bounded the elements in the picture on the right. ...
user avatar
  • 173
3 votes
1 answer
107 views

Tikz grid with text

I have a tikz grid with text in beamer. However, it is somehow moved to the left. How can I change it so that it appears centered in the slide? Here is the code for the grid: \begin{tikzcd} ...
user avatar
0 votes
1 answer
71 views

Making a commutative diagram with circular arrows inside it, using tikzcd [duplicate]

I am wondering how could I make the following commuting diagram using only tikzcd. I have constructed the diagram without the circular arrows; you may find the code below. However, I don't know how ...
user avatar
  • 559
0 votes
1 answer
35 views

Creation of macros for a part of commutative diagram

I am using tikz-cd for drawing commutative diagrams. Most of them are just exact triangles which are written as a sequence like a -> b -> c -> a[1] or two or three of them as rows, connected ...
user avatar
-1 votes
1 answer
75 views

how can I draw like this?

I don't know how to draw the double arrrow,the high arrow is right the low is leftstrong text
user avatar
  • 1
0 votes
1 answer
60 views

Adding boxed texts on commutative diagram

I'm trying to draw this commutative diagram (source: Elements of Algebraic Topology by James Munkres). I know how to draw the diagram using tikzcd without the boxes. Can someone help me about how to ...
user avatar
2 votes
1 answer
73 views

How to add an arrow in top of the other in tikz-cd?

I wanted it to look like \rightlefttarrows (as in one arrow in top of the other) \begin{tikzcd} X \ar{r} & \ar[l] B \end{tikzcd} The above code does not have that effect and instead fuses both ...
user avatar
2 votes
1 answer
97 views

How to make the background color of a description label transparent?

In the following MWE, the background color of \cong is constantly white. How can I make it transparent just like the remainder of the tikz-cd diagram? \documentclass{article} \usepackage{amsmath} \...
user avatar
  • 3,459
2 votes
2 answers
102 views

Drawing a hypergraph in latex

I need to draw following hypergraph in Latex. My attempt- \documentclass{article} \usepackage[usenames,dvipsnames]{pstricks} \usepackage{pstricks-add} \usepackage{epsfig} \usepackage{pst-grad} % For ...
user avatar
  • 155
2 votes
1 answer
58 views

redefining & within an environment

I've been following the solution here to get tikzcd and the externalisation library to play nicely with each other. One step of this redefines &. However, at the moment, it does this for the whole ...
user avatar
4 votes
2 answers
89 views

Centering commutativity arrow (arrow not showing)

I have the following diagram where I am using the \tikzcdmatrixname command to place the commutativity arrow, and using the "at end of picture" trick, but the arrow is not showing up. These ...
user avatar
2 votes
1 answer
67 views

Drawing arcs under letters

I have been trying to draw something like Can anyone help me with the code? I have no idea how to do this. Your help would be appreciated. Edit: Based on comments, I got the code \documentclass{...
user avatar
  • 155
5 votes
2 answers
137 views

How can I align the vertical arrows?

I am trying to make the following diagram compact and aligned for aesthetic reasons. \documentclass[11pt]{article} \usepackage{tikz} \usepackage{amsmath} \usepackage{amssymb} \usepackage{tikz-cd} \...
user avatar
  • 629
1 vote
1 answer
69 views

Some Arrows in the package tikzcd

Here is the diagram codes and the output of it. I got the codes from the tikzcd documentation but when I want to add some extra arrow, it gives a mistake. How can I add an UP ARROW from "ij-S-...
user avatar
2 votes
1 answer
46 views

How to keep the equation number in the line of a enlarged tikzcd diagram? [duplicate]

In the following MWE, \documentclass{article} \usepackage{tikz-cd} \usepackage{adjustbox} \begin{document} \begin{equation} \begin{tikzcd} \cdot \arrow[r,"m"] \arrow[rr,"h", ...
user avatar
  • 3,459
0 votes
0 answers
28 views

Problem bringing the commutative diagram inside the question and answer frame

I can not put the commutative diagram under the frame: \documentclass{amsart} \usepackage{latexsym,amsmath} \usepackage{tabularx, environ} \usepackage{wasysym,latexsym,amsmath,amssymb,mathrsfs} \...
user avatar
  • 113
2 votes
1 answer
33 views

Tikzcd: Filling node with image pattern fails if I apply it on all cells at once

I'm trying to fill some pictures with a background image using path picture as recomended here or here. It works great if I put the style in the cell directly like |[path card]| my content, but it ...
user avatar
  • 5,175
1 vote
1 answer
63 views

Typing a commutative diagram using tikzcd [duplicate]

How do I type this commutative diagram in tikz-cd in overleaf? I have tried this \documentclass{amsart} \usepackage{latexsym,amsmath} \usepackage{mathtools} \usepackage{scalerel,stackengine} \...
user avatar
  • 113
0 votes
1 answer
83 views

How to typeset this cup product using tikz

Can someone suggest how to typset this commutative diagram using tikz-cd. I'm unable to do it, instead I'm getting this . This is what I have tried: \begin{tikzcd} H^p(G,A^{''}) \dar{\delta} \...
user avatar
2 votes
1 answer
75 views

Tikzcd: point to specific line using tikzmark

I'd like to add in tikzcd some arrows pointing to a specific line (here the line JKL). However my code always point to the top of the cell (when it's even producing a meaningfull output): I'm not ...
user avatar
  • 5,175
2 votes
1 answer
41 views

tex4ht and tex4ebook: problems when tikzcd is put in the inline math

MWE: \documentclass[oneside]{amsart} \usepackage{amsmath,amssymb,amsfonts, accents} % Include the following code before \usepackage{tikz} \ifdefined\HCode \def\pgfsysdriver{pgfsys-dvisvgm4ht.def} \...
user avatar
  • 669
0 votes
1 answer
95 views

tikz-cd editor woes

I am using an online Tikz-cd editor I found on this site (link). It provides tex code for the diagrams you make, but I am not able to get the code it provides to compile. More Specifically, the code I'...
user avatar
0 votes
1 answer
29 views

How do I get three tikcd diagrams to be colinear minipages?

So yeah, like my question says I am having trouble with these minipages. For 2 diagrams it usually does not complain too much. At the end of each minipage I get overfull hboxes, for what it's worth. \...
user avatar
2 votes
1 answer
43 views

How do I deal with these scaling and positioning issues in Tikzcd

I have been trying for a while with this one, but I can't get the 'a's to be further from the arrows and the dot for the $f$ to be bigger. I tried quiverapp, but the problem with the dot persists. ...
user avatar
0 votes
0 answers
42 views

Placing different kinds of tikz drawings side by side with captions

Lots of people have approached this question, but none with the twist I think I am suffering from. I am using diagrams both in regular tikzcd and from quiver. I want to place them side by side and to ...
user avatar
3 votes
2 answers
90 views

Sum of hypermatrices with centered operation signs

I have written the sum of three hypermatrices with the following code. The result is I am trying to raise the = and + sings to be centered with the hypermatrices. Any help would be appreciated! \...
user avatar
  • 249
1 vote
2 answers
56 views

How to make labels non-italicized in tikz-cd?

I have the following LaTeX code: \tikzcdset{every label/.append style={font=\normalfont\scriptsize}} $$ \begin{tikzcd} G\arrow[r, "\alpha"] \arrow[d, "{onto}"] & G'\\ G/N\...
user avatar
1 vote
1 answer
63 views

How to scale the bar in tikz-cd mapsto arrow?

After setting \tikzcdset{ arrow style=tikz, diagrams={>={Straight Barb[scale=0.7]}} } the bar tail of the arrow gets bigger than the tip. I thought perhaps I could scale the tail in a similar ...
user avatar
  • 87
0 votes
0 answers
17 views

Commutativity arrow inside diagram [duplicate]

I have got the following commutative drawing and would like to put one of those round arrows in the middle (inside) of the diagram to show that the diagram commutes. The MWE is: \documentclass[tikz,...
user avatar
4 votes
2 answers
153 views

Circular arrow in commutative diagram using tikz

I am using tikz and the following code to make a commutative diagram. \documentclass{article} \usepackage{tikz-cd, mathtools} \usetikzlibrary{calc} \usetikzlibrary{arrows} \begin{document} \...
user avatar
  • 249
3 votes
1 answer
33 views

Formatting the sum of two hypermatrices with tikz

I have written the sum of two hypermatrices with tikz with the following code. \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{calc} \usetikzlibrary{arrows} \begin{document} ...
user avatar
  • 249
1 vote
1 answer
52 views

Suggestions for fitting commutative diagram onto page

I'm trying to fix some hbox errors in the following commutative diagram. Note the symbol strings are simplified here, but what is written is the actual length: \documentclass{amsart} \usepackage{tikz-...
user avatar
1 vote
1 answer
153 views

pdfLaTeX hangs with tikz-cd and comma in the arrow label

When I compile a file containing \documentclass{article} \usepackage{mathtools} \mathtoolsset{centercolon} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}\ar[r,","] &\end{tikzcd}$:$...
user avatar
2 votes
1 answer
89 views

"node on layer" style in tikz matrix (tikzcd)

I've been trying this answer https://tex.stackexchange.com/a/20426/116348 to put a node on a layer using only its style, like in \node[node on layer=front]{A};. It works great... except in tikz ...
user avatar
  • 5,175
3 votes
1 answer
96 views

Tikz-cd in Latex in Inkscape, arrow lines disappear

I am using a "render Latex" function in Inkscape. In the input box I use this code: \begin{tikzcd} A \arrow{r} {x} & C \\ B \arrow{r} {x} \arrow[u, "F"] & D \arrow[u, "...
user avatar
  • 1,601
0 votes
1 answer
59 views

Quantikz breaks spacing in tikz matrices/tikz-cd

For now, If I just create a simple diagram with all inner sep and outer sep set to 0, I still have no spacing: Now, if I also load quantikz, the spacing is bad (quantikz also breaks the baseline, but ...
user avatar
  • 5,175
1 vote
2 answers
65 views

tikzcd/tikz matrices: remove space in empty node to connect wires

I'd like to create nodes in tikz with exactly zero space around it, notably to connect stuff to it in tikz matrices/tikz-cd. If I force the anchor to be centered it works, but I'd prefer to directly ...
user avatar
  • 5,175
0 votes
2 answers
77 views

pgfkeys: How to group multiple styles together

For now I put all my tikz/pgf keys/styles in the global scope. However, I'd like now to do it more properly not to pollute the global scope with useless styles, my goal being to group styles together ...
user avatar
  • 5,175
2 votes
1 answer
35 views

Wrap tikz matrix/tikzcd inside vcenter

How could I create an environment that wraps a tikzcd (basically a tikz matrix) inside \vcenter{...} while keeping the syntax intact? What I tried: According to How do I wrap a macro definition in an ...
user avatar
  • 5,175

1
2
3 4 5
16