{xy-pic} is a package for typesetting graphs and diagrams using the principle of "logical composition of visual components."

learn more… | top users | synonyms (1)

1
vote
1answer
41 views

box around entries in xymatrix

I would like to reproduce the result of the following code \documentclass[a4paper,11pt]{article} \usepackage{amsmath,amsfonts} \usepackage{xypic} \begin{document} \[\xymatrix{ &&&& ...
5
votes
1answer
72 views

xy + overrightarrow = error

M(non-)WE: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ \overrightarrow{C} } \] \end{document} produces "ERROR: Illegal parameter number in definition of ...
2
votes
2answers
118 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
3
votes
1answer
59 views

diamond diagram with large objects

I am trying the following: \[ \xymatrix@C-70pt{ {}& *+[r]{I\times_E I=\{(p,L_i,L_j)\ |\ p\in L_i, p\in L_j\}} \ar[dl]\ar[dr] & {}\\ I\ar[rd] &{}&*+[r]{I=\{(p,L_i)\ |\ p\in ...
3
votes
1answer
59 views

Fixing a Commutative Diagram

I am using the xymatrix command... If I type the following code \documentclass[11pt,oneside,a4paper,fleqn]{report} \usepackage[all,cmtip]{xy} \begin{document} $\xymatrix{ 0 \ar[r] & A ...
2
votes
1answer
35 views

Adding labels to xypic

How would I add labels to the following xypic? \xymatrix{ 1 \ar@<-.5ex>[r] \ar@<.5ex>[r] & 2. } I would like to add a \alpha_1 above the top arrow and a \alpha_2 below the bottom ...
3
votes
1answer
192 views

Writing a 6-term Exact Sequence

I am trying to use the xymatrix package to write the following exact sequence $\xymatrix{ A \ar[r] & B \ar[r] &C \ar[d] & \\ \ar[u]& D \ar[l]& E \ar[l]& F }$ When I ...
2
votes
1answer
49 views

XY matrix tampering with footnote counter

Typesetting the following MWE: \documentclass[a4paper]{report} \usepackage[all]{xy} \usepackage{mathtools} \begin{document} \arabic{footnote} ...
5
votes
3answers
115 views

Draw a graph using xymatrix. Is there another way?

I am using the package xy to draw simple Graphs or Networks. It allows oriented and non oriented edges and even weights on the edges, but the code is very complicated and it is very difficult to build ...
0
votes
1answer
74 views

Centering a xy matrix inside beamer frame and figure

In the following beamer frame, I want the description text to stay top-left, while the xymatrix-figure should be centered. However, whatever I tried with \centering, \begin{center} and other online ...
1
vote
1answer
79 views

Improve inline xymatrix/tikzcd?

When I was typesetting commutative diagrams, I always put my \xymatrix or tikzcd in displaymath: For a long time I believed that this is the only way to do so. However, about last month, I saw ...
2
votes
1answer
46 views

How to align brackets in this diagram? [duplicate]

When I write the following : \documentclass[psamsfonts]{amsart} \usepackage{amssymb,amsfonts} \usepackage[all,arc]{xy} \begin{document} \[Q(M) :=\left[ \xymatrix{ &\Xi(j^*M) ...
5
votes
2answers
67 views

Arrow cuts symbol when using the xymatrix command

I would like to know the following: Using xy-pic, how can I avoid that in the diagram below the one arrow's tail cuts the letter I? Is there a command in xy-pic to shorten arrows? Thanks for the ...
6
votes
1answer
87 views

xymatrix is broken when inside section

If I use xymatrix inside of a section command, it doesn't compile. Example: \documentclass{article} \usepackage[all,cmtip]{xy} \begin{document} \section{$\xymatrix{A\ar[r]&B}$} \end{document} ...
11
votes
3answers
245 views

Circling a collection objects in xymatrix

I have the following code that produces a bicomplex: \begin{displaymath} \xymatrix{ 0 \ar[r] & \Omega^0_X \ar[d] \ar[r] & \Omega_X^1 \ar[r] \ar[d] & \ldots \ar[r] & \Omega_X^n \ar[d] ...
7
votes
2answers
105 views

How can I change the style of two-cells?

How can I change the style of a two-cell? Take the following minimal example: \documentclass{article} \usepackage[all,cmtip,2cell]{xy} \UseTwocells \begin{document} $\xymatrix@C+1pc{C ...
4
votes
2answers
79 views

How can I get a curved arrow to break?

I have the following diagram in xypic: \documentclass{article} \usepackage{amsmath,amsthm} \usepackage[all,cmtip,2cell]{xy} \begin{document} \[\xymatrix{ & K\Omega M \ar[rr] ...
2
votes
1answer
77 views

xy and circuitikz conflict

Following MWE compiles: \documentclass{beamer} %\usepackage[all]{xy} \usepackage{circuitikz} \begin{document} \end{document} Following MWE also compiles: \documentclass{beamer} ...
1
vote
1answer
30 views

Error: LaTeX Xy-pic error: <turn> cannot be half or full… What does it mean?

I'm attempting to use xy to make an arrow bend a specific way. When I try it, this error pops up: LaTeX Xy-pic error: < turn > cannot be half or full. What does this mean? For more context, ...
3
votes
1answer
79 views

Issue with arXiv LaTeX - xypic diagrams rendering badly

I’m having an odd issue with the arXiv’s LaTeX processing: xypic diagrams that look fine when processed on my own system are rendering badly when processed by the arXiv. My question is: Is this ...
6
votes
1answer
216 views

Big vertices on my cube kill parallelism

I have coded the following diagram in xypic: \xymatrix{ & B \ar[rr] \ar'[d][dd]^(.45)\simeq && B\cup_A C \ar@{.>}[dd]^-\simeq \\ A \ar@{>->}[ru] \ar[rr] \ar[dd]_-\simeq ...
5
votes
2answers
1k views

stack in xy-pic

I want to draw this: and my xy-pic code is \[ \xy @={(0,0),(10,0),(10,10),(0,10)}, {\ar@{-}^{f_1}|{\dir{>}} s0;s1}, {\ar@{-}^{f_2}|{\dir{>}} s1;s2}, {\ar@{-}^{f_3}|{\dir{>}} s2;s3}, ...
4
votes
0answers
67 views

arrow crossings of curves in xy-pic

I want a diagram like What I can do is \[ \xy (-10,0)*+{ml}="ml"; (10,0)*+{mr}="mr"; (-5,13)*+{t}="t"; (10,-10)*+{b}="b"; ...
4
votes
1answer
59 views

How can an arrow cross under an entry in xymatrix?

I know how can an arrow cross under another arrow in xymatrix (i.e. using |\hole). But how can it cross under an entry (e.g. wide textual entry). One solution would be to fill the box under the entry ...
3
votes
2answers
108 views

Why is \txt element of \xymatrix moved downwards?

I wonder why is the textual "A" in \xymatrix{A \ar[r] & \txt{A}} moved downwards. All I want is to have textual elements in xymatrix with possibility of line breaks inside the element. I thought ...
5
votes
2answers
146 views

How to center xymatrix with respect to logical center?

I have an \xymatrix with 4 rows and 2 columns. I want to center it horizontally. I used \centerline{} but it (of course) just centers the whole box created by \xymatrix. Since my matrix entries are ...
3
votes
0answers
45 views

How to transpose or mirror xymatrix?

I know that it is possible to rotate \xymatrix (using e.g. \xymatrix@d) but how to transpose or mirror it?
0
votes
0answers
11 views

How to use xymatrix with a0poster? [duplicate]

I want to make a DIN-A0 poster using the documentclass a0poster. Why can't I draw diagrams in that documentclass? The MWE below crashes and I don't know how to fix that. :( MWE: ...
6
votes
2answers
153 views

Draw dots at the beginning and at the end of an arrow with xypic

I want to draw the following figure : I have compiled with following code to get it : \documentclass{book} \usepackage[all]{xypic} \begin{document} $\xymatrix{\vdots && \vdots \\ ...
4
votes
1answer
69 views

text on arrow for xypic

In the following example, I find that the u and w are vertically too far from the arrow: is there any way so that \documentclass[10pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{E ...
5
votes
1answer
79 views

Make a \hole larger?

In order to make the arrow go behind 'B' I use \hole. \xymatrix{ A \ar[ddrr]|\hole \\ & B \\ & & C } But what if I have something big instead of 'B', such as \xymatrix{ A ...
2
votes
1answer
99 views

xymatrix using lyx

I'm trying to draw in LyX, using XYmatrix. I'm using it with the Ctrl+shift+M command, and then using the \xymatrix to start "drawing" what i want. I'm having a problem doint a "hookrightarrow" ...
4
votes
1answer
53 views

Using overbrace in xymatrix

My TeX code is not compiling correctly (the overbrace is causing the error). How I can fix my file? Here's what I have: \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsmath} ...
13
votes
1answer
306 views

Does anyone have a script that will convert \xymatrix to tikzcd?

I have a long set of lecture notes where the commutative diagrams are written in xy using the \xymatrix format. I would like to switch over to tikz-cd. The syntax for the two are pretty similar with ...
5
votes
3answers
187 views

Gaps between arrows and labels

I have a question about my diagram. How can I increase the gap between the arrows and the labels? I would like to have more space between the left arrow and the label (2). Thanks for any suggestions. ...
3
votes
1answer
99 views

Does not imply arrow in \xymatrix?

I am wondering how to make a does not imply arrow when using \xymatrix. I have a square diagram with two implications (arrows) on three edges only and one arrow on the fourth edge. One of the arrows ...
1
vote
1answer
56 views

Issue with XY-pic [closed]

I am trying to use XY-pic for the first time. I copied a bit of headline code from here : http://zoonek2.free.fr/UNIX/11_xypic/ (sorry, it's in french) and put it in an already existing document. This ...
7
votes
1answer
99 views

dotted or colored arc in \xymatrix

Does not arrows style or color option apply an arc in \xymatrix? Please let me know the way. \documentclass{article} \usepackage[arrow, matrix]{xy} \begin{document} \[ \xymatrix{ A ...
3
votes
1answer
100 views

An unwanted overlapping of arrows with xymatrix

I try to make a commutative diagram like this: with the code $\xymatrix{ Y \ar@{->>}[rd] \ar@{->>}[r] &{Y_1} \ar@{.>}[d]^<<<{\cong}_<<<{\exists} ...
6
votes
1answer
390 views

Triangular commutative diagram

I am using the \xymatrix command this is the code I've written \[\xymatrix{ & A \ar[d]^{i}\\ B \ar@{-->}[ru]^-{\exists \overset{\sim} \varphi}\ar[r]^{\varphi}&C }\] My problem is ...
3
votes
1answer
67 views

Arrow joining beginning and end of line with xy-pic

I'm trying to draw a sequence of arrows with xy-pic that extends over two lines, and so I need to draw an arrow joining the end of the first line with the beginning of the second line. Here's the code ...
3
votes
1answer
263 views

How can I draw this commutative diagram for function composition?

I am working on a project, and need to add a diagram that displays a commutative diagram illustrating basic function composition similar to what is on page 17 in the image attached. I would like to ...
4
votes
1answer
100 views

Custom commands for `xymatrix` paths

I would like to define a custom command to replace \ar@{->}`r[d]`[l]`[llld]_-{\delta}`[d][lld] in this bit of code: \[\xymatrix{ \cdots\ar@{->}[r] & H_n(X)\ar@{->}[r] & ...
2
votes
0answers
267 views

xy-pic or tikz : which one should I learn? [closed]

I want to learn how to use tikz more in depth. But I wonder wether I should also learn how to use xy-pic, because it seems, at first glance, that xy-pic can do much of what tikz does when it comes to ...
9
votes
3answers
309 views

How to draw a braid of long exact sequences

For example, in page 353 of Ranicki's book Algebraic and geometric surgery, there is a braid of long exact sequences like so: I use xy-pic. Thanks in advance!
0
votes
0answers
131 views

Make a 2cell diagram more beautiful (or less ugly)

I want to draw a two-cell diagram using xypic, the problem is that the bigone label is to long, how can I make the following diagram: looks like this one: using exclusively the two-cell feature ...
2
votes
2answers
142 views

xypic: 2cell diagram label position issue

This code \xymatrix{z & y\ltwocell_{f}^{g}{^{\alpha}} & x\ltwocell_{f'}^{g'}{^{\beta}}} =\xymatrix{z & & y\lltwocell_{f\cdot f'}^{g\cdot g'}{^{\alpha\circ\beta}}} produced this ...
3
votes
1answer
97 views

Arrow end points problem

I keep getting these circles in my graph and I cannot figure out why. This is the code, is there something wrong with it? Every arrow has a circle at its start and end points and there are also 3 more ...
1
vote
1answer
74 views

Issue with sliding a label in xypic using LyX

I want to slide a label so I use the tex code \xymatrix{A\ar^(.25){f}[r] & B} Using directly this code as latex in LyX works, but I want to do the same thing in equations environment in LyX, ...
5
votes
1answer
86 views

Bad interaction between babel and xypic?

I'm writing an elaborate in Italian, and I'm using XY-pic to draw some diagrams. Unfortunately it seems that babel is interacting with XY-pic, making it impossible to group elements. Here is a MWE: ...