Skip to main content

Questions tagged [xymatrix]

Part of the XY-pic bundle providing macros for drawing commutative diagrams.

Filter by
Sorted by
Tagged with
5 votes
1 answer
69 views

Is it possible with xy to "extend" an arrow in such a way that it enters the box containing an object?

I would like to draw an arrow in xy that visits all the entries of a $4 \times 4$ grid like the one below \documentclass{book} \usepackage[all]{xy} \begin{document} \[ \xymatrix @=0ex @W=4ex @H=...
Ender Wiggins's user avatar
0 votes
1 answer
44 views

Stroked arrow in xymatrix

I'd like to know whether there exists are more "official" way of stroking an xymatrix arrow than the following: \ar[r]|{\setminus}
AlgebraicsAnonymous's user avatar
2 votes
1 answer
77 views

Implies and centered backtick for no implies in a particular commutative diagram using xy package

I have this MWE: \documentclass{amsart} \usepackage[cmtip, all]{xy} \begin{document} \xymatrix@R=2pc@C=2pc{ f\in\mathcal C^1(D) \ar@<.8ex>@{=>}[r] \ar@<-.8ex>@{<=}[r]|{\SelectTips{...
Sebastiano's user avatar
  • 56.7k
0 votes
0 answers
107 views

A curved arrow disappears when its end position is specified in xymatrix

I want to draw a curved arrow with specifing its end position in xymatrix. I tried the following code. \xymatrix{ A \ar@{=>}@/^/[r] & B \\ C \ar@{=>}[r]+<-5pt,3pt> & D \...
Teirflegne's user avatar
4 votes
2 answers
253 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
0 votes
2 answers
106 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
0 answers
81 views

making loops longer with \xymatrix

I am wondering if I can put all the loops on the left side of "u" by changing the length of loops in the following graph. (keep working in \xymatrix) (see the photo) \documentclass[varwidth]...
Zahra Nazemian's user avatar
1 vote
1 answer
92 views

putting arrowhead in the middle of an arrow

I have the following graph with \xymatrix. I want to place arrowheads in the middle of each arrow, as you can see the result is messy: \documentclass[a4paper,11pt]{article} \usepackage[all]{xy} \...
Zahra Nazemian's user avatar
1 vote
2 answers
199 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
1 vote
1 answer
48 views

A diagram in xymatrix, and a problem with arrows

In the code below, the arrows from left to right and up and down get mixed up and look like a single arrow. How can I separate them so that I have one arrow> pointing up and one pointing down, and ...
Jake Wetlock's user avatar
0 votes
3 answers
128 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
107 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
0 answers
21 views

Draw arrows between arrows in xypic [duplicate]

I would like to draw natural transformations like this: Is there a way to do this in xymatrix?
Sardines's user avatar
  • 161
2 votes
2 answers
54 views

xymatrix arrow labels for long formulas

I'm trying to label an arrow in an xymatrix but because one of the formulas is quite long the label for the arrow is appearing over the second formula rather than over the arrow. What is the best way ...
user297024's user avatar
0 votes
2 answers
70 views

Align texts with the formula

I'm using the package xymatrix to create the following diagram: The diagram is bigger than the text, but the texts don't automatically go to the center of the line. Here is the code: \documentclass[...
Sardines's user avatar
  • 161
3 votes
1 answer
67 views

Suppress space around inline xymatrix

An inline xymatrix is, by default, surrounded by a non-0 amount of space: \documentclass{amsart} \usepackage[all]{xy} \begin{document} [\(\xymatrix{A}\)] vs.\ [\(A\)] \end{document} produces How do ...
LSpice's user avatar
  • 1,468
5 votes
2 answers
188 views

Labels too close and overlapping with the internal symbols in xy package

I have given an answer on a question with this MWE, and I am not see an evident hole created when I insert a symbol into an arrow. The labels also overlapped to the symbols. How to solve the problem? ...
Sebastiano's user avatar
  • 56.7k
2 votes
1 answer
48 views

How to write a xymatrix-like LaTeX environment?

I like to draw commutative diagrams using the xymatrix command. What I do not like is the fact that xymatrix is a command and not an environment. The structure of the xymatrix minilanguage is similar ...
Gejza Jenča's user avatar
3 votes
0 answers
46 views

about xypic : how to draw a turn with double line?

Here is my original code : \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{ amsmath,amssymb, } \usepackage{graphicx} \usepackage[% xypic ...
Chen_zy's user avatar
  • 51
0 votes
1 answer
94 views

Make a lozenge diagram

I would like to create a lozenge diagram with the package \xymatrix. Here is the code I wrote : \[\xymatrix{ & M\ar@{-}[ld]^{n}_{G} \ar@{-}[rd]^{m^2}& \\ H\ar@{-}[rd]^{m^2} && Z(M)\...
Emilie's user avatar
  • 19
2 votes
1 answer
63 views

Inside arrow in xy package: steps

Given the image taken from this question here How do I deal with these scaling and positioning issues in Tikzcd, how is it possible to obtain an arrow inside a segment using only xy package? \...
Sebastiano's user avatar
  • 56.7k
0 votes
0 answers
28 views

Problem with xymatrix figure__> error: unknown float option

I have this code (xy and float packages loaded, (do I really need float?)), editor: texmaker: \begin{figure}[h,scale=0.9] \tightdisplaymath \[ \xymatrix{ *+[F]{\text{Adina (x)}} \ar@/^2pc/[r]^{r_{...
Josemari's user avatar
3 votes
2 answers
100 views

Long arrow into a twocell diagram

Through the code: \documentclass[12pt,a4paper]{memoir} \usepackage[all,cmtip,2cell]{xy} \UseAllTwocells \begin{document} \xymatrix@R+20pc@C+3pc{ \bullet\ruppertwocell^a{\hspace{....
gibarian's user avatar
1 vote
2 answers
657 views

Typesetting Subgroup Lattices in LaTeX

Trying to figure out the easiest way to create a subgroup lattice in LaTeX. Looking to create something like this one for `$D_4$'.
Semi-confused math major's user avatar
3 votes
1 answer
627 views

xymatrix: make long equal signs "=" to replace the arrow

Do people know how to make long equal signs "=" to replace the arrow in the xymatrix? \begin{equation} \xymatrix{ a \ar@{^{(}->}[r] \ar@{^{(}->}[d] & b\\ c & d }\nn \end{...
wonderich's user avatar
  • 2,437
0 votes
1 answer
99 views

Xymatrix. ArchArrow

I have a trouble with this code: \xymatrix(\boxed{1.}\ar@2{<->}[r]&\boxed{2.}\ar@2{<->}[r]&\boxed{3.}\ar@2{<->}[r]&\boxed{4.}\ar@2{<->}[r]&\boxed{5.}} I'd like ...
Puck's user avatar
  • 1,212
1 vote
0 answers
107 views

Crossing over method with xy package for one or more arrows

Related on this question, considering the original image, adding my MWE: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix@R=2pc@C=2.8pc{ & b' \ar@{~>}[ddl]|...
Sebastiano's user avatar
  • 56.7k
1 vote
1 answer
90 views

Circle label of xymatrix

Related from my answer where I must put the | to have the label into the arrow considering \ar@{.>}[d]^*+<8pt>[o][F]{\ell}? \documentclass[a4paper,12pt]{article} \usepackage{amssymb} \...
Sebastiano's user avatar
  • 56.7k
1 vote
3 answers
207 views

xymatrix arrow changing directions

In an \xymatrix environment, how can I get an arrow going down, then two steps right and then up again, as in the picture? In the good old days there was LAMSTeX to do this kind of things, but not ...
yannis's user avatar
  • 2,013
2 votes
1 answer
247 views

A commutative diagram created with xy package for an old question

Starting from this question with this first image, I wanted to reproduce the drawing with xy package as training. \documentclass[a4paper,12pt]{article} \usepackage[all,cmtip]{xy} \begin{document} \[\...
Sebastiano's user avatar
  • 56.7k
3 votes
1 answer
216 views

xy-package: two parallel arrows and clarifications

I have this little MWE taken and modificated from the documentation from pag. 6/16 of the guide xyguide: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{ A \ar@&...
Sebastiano's user avatar
  • 56.7k
1 vote
2 answers
68 views

Shifting curved line downwards in xymatrix

In the following MEW I have two problems Only due to the MWE: stackexchange is having some problem highlighting my code (due to the back upper coma) The real problem: I would like that the snake go ...
Agyla's user avatar
  • 11
2 votes
3 answers
745 views

How to draw this commutative diagram

Please, I want to draw the below diagram in latex and don't know how to go about it.
alex jagboro's user avatar
1 vote
1 answer
69 views

What is the latex code of the braid given below using xy matrix? I have tried but the result does not look symmetric

I have written what I tried, in the second picture. The outcome does not look like above picture. \documentclass{article} \usepackage[all,cmtip]{xy} \begin{document} $$ \xymatrix@C=0.4cm@R = 1cm{ 0\...
SAR's user avatar
  • 11
1 vote
2 answers
99 views

Labeling two different parts of one equation with two arrows with different start and end points

I want to write a formula, like the attachment picture, with two different arrows for two parts of the formula. I could write the below code by \xymatrix finally. But the starting point of the second ...
Reza's user avatar
  • 61
1 vote
0 answers
71 views

How to have the bold tip using xy package

From this old question Commutative Diagrams and TikZ, I have seen that there is an implies with the bold tip done with TikZ. Is it possible to replicate with xy package to have the same tip or others ...
Sebastiano's user avatar
  • 56.7k
0 votes
1 answer
73 views

`xymatrix` arrow labels compiles incorrectly or does not compile

Update: added detail as per @Christoph Frings comments! I am trying to draw a commutative-style diagram using xymatrix and could not find a post detailing the same issue I have. I have used: \...
user232427's user avatar
3 votes
0 answers
54 views

Turnstile arrow in.....xy package

Following the previous question Turnstile arrow in tikz-cd, now I am curious how I can increase the left tail with the xy package. In the documentation I haven't found anything. \documentclass[a4paper,...
Sebastiano's user avatar
  • 56.7k
0 votes
0 answers
81 views

How to redefine the hook in XY-pic?

I want to add an empty space before the hooked arrow the way it is done in the barr package. \newdir{ (}{{ }*!/-.5em/@^{(}}% But instead of defining a new \dir{ (}, I just want to redefine \dir{(}. \...
FR09's user avatar
  • 159
0 votes
1 answer
70 views

Drawing diagrams inside a particular commutative diagram

I have difficulty in drawing the following diagram by XY matrix. It would be nice if anyone from this forum can help me out by giving any suggestions. Many thanks for considering my request.
math's user avatar
  • 179
0 votes
0 answers
71 views

Rounded corner in xy package and ellipse shape

This question very hard for me. xy package have also the shapes, circle with [o], or other forms using this table: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{...
Sebastiano's user avatar
  • 56.7k
2 votes
1 answer
106 views

3D perspective mode using xy package

Starting from this code where I have used xy package: \documentclass[a4paper,12pt]{article} \usepackage{amssymb} \usepackage[all,cmtip]{xy} \begin{document} \xymatrix@!0{ & \alpha \ar@{-}[rr]\ar@{...
Sebastiano's user avatar
  • 56.7k
2 votes
2 answers
154 views

How can I typeset the included diagram in xymatrix?

\documentclass[10pt]{article} \usepackage{fancyhdr,graphicx,lastpage} \usepackage[all]{xy} \usepackage{listings} \usepackage{latexsym} \usepackage{amsmath} \usepackage{amssymb} \usepackage{makeidx} \...
Sifiso Masuku's user avatar
1 vote
1 answer
106 views

Increase distance between a formula and the arrow and to change the tip/arc of the hook arrow

My question is the following: for exercise I was drawing the 2nd figure of this question using xy package and I have found some difficulties that I have marked with the red rectangles: How can I ...
Sebastiano's user avatar
  • 56.7k
2 votes
2 answers
163 views

xymatrix and cartesian product

I am using this to produce a diagram \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[all]{xy} \begin{document} \[ \xymatrix{H_n(X;R) \ar[d]^{f_*}& \times & H^m(X;R) \ar[r] ...
Van's user avatar
  • 23
4 votes
2 answers
257 views

Choose between xymatrix, forest and pst-tree

I'm embarrassed about the choice of the package used to produce rooted trees like this I have the option of the forest package Example1, The xymatrix package example2, or pst-tree package Example3 ...
Furdzik Zbignew's user avatar
2 votes
2 answers
83 views

Horizontally misaligned labels in xy package

I have answered to a this question, Long arrows in a commutative diagram with transform canvas with this MWE: \documentclass[a4paper,12pt]{article} \usepackage[cmtip,all]{xy} \labelmargin-{1pt} \...
Sebastiano's user avatar
  • 56.7k
2 votes
1 answer
250 views

Space around mid-arrow xymatrix labels

I'd like the top figure here (the one in the MWE) to look like the bottom figure (which was made by changing the labels into targets etc., but I have a lot of these diagrams to change and would rather ...
Fintan's user avatar
  • 438
2 votes
1 answer
201 views

can't execute this latex source code

i've been drawing a quantum circuit using the qiskit package in python. i needed the latex source code and executed circuit.draw(output='latex_source') i got this very long line of latex code: '% \...
Quintis's user avatar
  • 155
2 votes
1 answer
59 views

xymatrix bug, the arrow has a wrong source and target!

I am trying to draw an arrow between two labels and even on this example from "XY-pic User's guide" I don't get the normal diagram. \xymatrix{ A \ar[r] ^a="a" & B \ar[r] ^b="b" & C \ar @/^/ "...
Noix07's user avatar
  • 451