Questions tagged [xymatrix]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
26 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? \...
0
votes
0answers
19 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_{...
3
votes
2answers
41 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{....
1
vote
1answer
56 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$'.
2
votes
1answer
48 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{...
0
votes
1answer
29 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 ...
1
vote
0answers
81 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]|...
1
vote
1answer
25 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} \...
1
vote
3answers
52 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 ...
2
votes
1answer
39 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} \[\...
3
votes
1answer
59 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@&...
1
vote
2answers
52 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 ...
2
votes
3answers
121 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.
1
vote
1answer
61 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\...
1
vote
2answers
61 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 ...
1
vote
0answers
32 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 ...
0
votes
1answer
37 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: \...
3
votes
0answers
42 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,...
0
votes
0answers
60 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{(}. \...
0
votes
1answer
47 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.
0
votes
0answers
25 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{...
2
votes
1answer
60 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@{...
2
votes
2answers
100 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} \...
1
vote
1answer
54 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 ...
2
votes
2answers
63 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] ...
4
votes
2answers
142 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 ...
2
votes
1answer
34 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} \...
2
votes
1answer
90 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 ...
2
votes
1answer
68 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: '% \...
2
votes
1answer
37 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 @/^/ "...
2
votes
1answer
44 views

Unknown compilation error with xymatrix [duplicate]

Here is my MWE: \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage[all]{xy} \makeatletter \newcommand{\test}{\xymatrix@M=-.3pt@=10pt} \newcommand{\testt}[2][1]{\ar@[|(1)]@...
2
votes
2answers
49 views

\xymatrix or other format

I want to draw the following: Here is my try: \begin{displaymath} \xymatrix{ &P \ar @{-}[ddl] \ar @{-}[dr]&\\ & &P_1 \ar @{-}[d]\\ P' \ar @{-}[dr] & &...
0
votes
0answers
50 views

tex4ht: possible conflict between \emph and \xymatrix

MWE: \documentclass{amsart} \usepackage[all]{xy} \begin{document} \emph{ Test \[ \xymatrix@C-20pt{ {\mathbf R} f_*\big[{\mathbf L} f^*A\otimes^{\mathbf L} f^\times{\mathcal O}_Y^{}\...
2
votes
1answer
68 views

Drawing a path with n vertices in XY-Pic

I am trying to draw a path graph using XY-Pic, and I would like to show that there's n vertices in a certain point, with a simple dashed / dotted line between two vertices, and an underbrace (or ...
0
votes
1answer
747 views

xymatrix figures cause compilation error

I formatted my computer, and installed LYX (latest version 2.3.3). I have a lyx file which won't compile (it compiled before formating my computer) for some reason. I realized that after deleting all ...
1
vote
1answer
221 views

How to color actually labels and arrows using xy/xymatrix package

I'm reading actually the xyrefer.pdf guide to give a color to the arrow and to the label. Starting from this MWE, there is not any color for the arrow (for example). \documentclass[a4paper,12pt]{...
2
votes
2answers
242 views

Adding a symbol to the top of a vertex in a connected tree

I have a code for a tree \[ \xymatrix@-1.25pc{ *={\bullet} & &*={\bullet} & \frm{}\\ &*={\bullet}\ar@{-}[lu] \ar@{-}[ru]& & } \] which will produce this as ...
1
vote
1answer
215 views

a problem of xymatrix in overleaf [closed]

I have a problem with this code. In overleaf, I compile it but I do not see anything on the pdf document. $$\xymatrixcolsep{32pt}\xymatrix{ P_{c_1}\oplus \cdots \oplus P_{c_s} \ar[r]^-{\left(P[\bar{\...
3
votes
1answer
321 views

Shift to the right or left bend arrow in xymatrix package

We suppose that we have a code build with xy package. For example this or another MWE: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{ \Omega \ar@{->}[r] \ar@...
2
votes
2answers
117 views

Changing starting place for arrow in XY picture

This script \documentclass{article} \usepackage[all]{xy} \begin{document} \begin{equation} \xymatrix @R=0.3pc @C=0.3pc{ & N_0\oplus G_1 & N_1\oplus G_2 \ar@/_1.5pc/[l]_u } \end{...
3
votes
2answers
120 views

Labels closer to the arrows with xy package

Few hours ago I have added my answer for this question How to make a math diagram on LaTex? \documentclass[12pt]{standalone} \usepackage[all,cmtip]{xy} \usepackage[bb = boondox]{mathalfa} \begin{...
2
votes
3answers
314 views

How do I make a commutative diagram with LaTeX? [duplicate]

How do I make a diagram like this? Thanks in advance
2
votes
1answer
185 views

Two line entry in xymatrix

I would like to create a two-lined entry in my xymatrix. In the attached picture, I want to split the direct sum into two lines. I tried array but this didn't work. Thanks !
2
votes
1answer
41 views

TeX4ht: Strange behavior when I include `\xymatrix` in a macro

See the following code: \documentclass{amsart} \usepackage[matrix,arrow,curve,cmtip]{xy} \begin{document} \newcommand\test{ \xymatrix{{a} \ar^-{b}[r] & {c} \ar@<0.7ex>^-{d}[r]\ar@<-0....
3
votes
2answers
126 views

In XY-pic, two parallel arrows passing under a shape are not parallel when they are separated by distance

I want to draw a commutative diagram with xy-pic package similar to the figure shown below. The two arrows from C to D and vice versa should pass under the rectangle ABEF, be separated by a distance, ...
4
votes
2answers
154 views

xypic bounding box

I am using xymatrix for a markov chain diagram. It looks awesome, but the bounding box is not correctly computed, and therefore, it overlaps with other text. This is special bad as I am also using it ...
1
vote
1answer
215 views

crossed arrows in \xymatrix

I would like to strike out arrows in \xymatrix. Here is what I've done so far: \documentclass{article} \usepackage[all,cmtip]{xy} \usepackage{amsmath} \begin{document} \xymatrix{ ABCDE\ar@{<->} ...
3
votes
1answer
110 views

Circling a collection of objects in a tree using xymatrix

This code \documentclass{amsart} \usepackage[all]{xy} \begin{document} \[ \xymatrix@-0.75pc{ \overset{1}{\bullet}& & \overset{2}{\bullet}& & \overset{3}{\bullet}& &\...
3
votes
1answer
135 views

Error in right diagonal dots in xymatrix

Compiling the following tex lines \documentclass{amsart} \usepackage[all]{xy} \def\rddots#1{\cdot^{\cdot^{\cdot^{#1}}}} \begin{document} \[ \xymatrix@-1.75pc{ \overset{}{\bullet} & & \...
2
votes
1answer
252 views

Default spacing rows/columns in xymatrix

I'm writing up some category theory notes and I prefer (generally) to have 20mm spaces between the entries of my diagrams, so every time I initiate a new matrix I end up typing \xymatrixrowsep{20mm}\...