{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)

3
votes
1answer
140 views

Pyramid Commutative Diagram for Cones

In the second edition of Awodey's Category Theory he suggests visualizing a cone as a many sided pyramid. I'd much like to make the proper commutative diagrams, but I don't know how to make a many ...
4
votes
2answers
76 views

xypic: 2-Cell Triangle Identities

I would like to typeset, using xypic, the triangle identities from the definition of adjoint functors in category theory. My problem is with creating the double arrow connecting the hypotenuse and the ...
0
votes
1answer
28 views

blowing up the slash on arrows in xy-pic

I have a large diagram of dependencies that I want to put in a math paper. I want some of the arrows to denote implication, and I want crossed-out arrows to denote specific non-implications. Here's ...
4
votes
1answer
99 views

How to draw this diagram

Please help me to draw the following diagram: \begin{displaymath} \xymatrix{ H\ar[r]&H .1={}_HI_Q\supset 1.Q&Q\ar[l]_\epsilon^{\cong} \\ &R\ar[u]\ar[r]&R\ar[u] } \end{displaymath} ...
2
votes
1answer
34 views

Moving a subscript in {xy-pix}

To obtain a larger version of \nrightarrow (LaTeX, Package amssymb), I typed $\xymatrix{A\ar@<-1.5ex>@{}[r]^{/}\ar[r]&B}$ Is there a simpler way to obtain the same result, i.e. is it ...
3
votes
2answers
38 views

xypic: Pasting Diagrams in LyX

I haven't been able to find detailed instructions on how to use \compositemap from the 2cell feature of xypic, and I want to make (relatively simple) pasting diagrams. In particular, I want to typeset ...
0
votes
1answer
33 views

hooked arrows with XY-matrix

The naive way to draw an hooked arrow in a diagram with XY-matrix is \ar@{^{(}->}. But it comes out that the hook is bigger respect the one of \hookrightarrow. How can I fix this difference? ...
2
votes
1answer
31 views

Breqn and xypic

\documentclass[a4paper,12pt]{scrbook} \usepackage[all,cmtip]{xy} \usepackage{breqn} \begin{document} \begin{displaymath} \xymatrix{ A \ar[r]^f & B } \end{displaymath} \end{document} ...
3
votes
2answers
29 views

random marks in graph using xy-pic

I used xy-pic to draw a graphical model, but strangely enough when I run it, the circle in the downleft corner is always marked with some random marks. It seems to mark the middle of the circle. Does ...
2
votes
1answer
59 views

How do I put color on frame at \xymatrix?

I'm writing *++[o][F-,]{3} at \xymatrix for example. How can I make that the 3 will be green and the frame at red? And one more Q please: How can I make the *++[o][F-,]{3} that will be more dark? ...
3
votes
2answers
297 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
2
votes
2answers
37 views

xypic: \varprojlim and \varinjlim not working

LyX refuses to compile any xymatrix containing \varprojlim $\varprojlim$ and \varinjlim $\varinjlim$. (How) Can this be fixed? Edit: Here's an example of non-working code. % Preview source code %% ...
3
votes
1answer
74 views

Loops of different sizes

In xy-pic we can draw a loop in this way: \documentclass[12pt,letter]{report} \usepackage[all]{xy} \begin{document} $$\xymatrix{a\ar@(dr,ur)}$$ \end{\document} My question is how to draw a bigger ...
2
votes
2answers
32 views

arrows with xy package

I am trying, using the xy package, to make an arrow of the form {>->} with orientation "up-right" via $\xymatrix@1{\ar@{>->}[ur]& }$, but it is not operating. Would you please help me? ...
2
votes
2answers
646 views

How to decrease 1cm arrow length in commutative diagram on the base?

\documentclass{article} \usepackage{xypic} \begin{document} $\xymatrix{ & Y\ar[ldd]_{\psi_{i}}\ar[rdd]^{\psi_{j}}\ar[d]^{h} & \\ & S \ar[ld]^{\pi_{i}} \ar[rd]_{\pi_{j}} & \\ R_{i} ...
1
vote
2answers
125 views

2-cells in xy-pic annoying problem

The following part of my code does not compile \usepackage[all,2cell]{xy} \begin{document} \UseTwocells \xymatrix { B & {} & {} & C\llltwocell} \end{document} The funny ...
1
vote
4answers
797 views

Unequally spaced columns in XYpic

I often need to create a diagram in XYpic where the distance between the columns varies. This is usually when one has a map to some object X where the definition of X is in the diagram itself, like ...
2
votes
3answers
182 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 ...
6
votes
2answers
1k views

Commutative Diagrams

Can anyone help me in giving commands for commutative diagrams in LaTeX ? It doesn't seem to appear properly in the LaTeX guides that I have. A command for a simple triangular diagram with arrows ...
0
votes
0answers
15 views

LaTeX error with xy-pic [duplicate]

When i use the XY pack for LaTeX by adding the following line to my source: \usepackage[all]{xy} i get this error: ! No room for a new \dimen . \ch@ck ...\else \errmessage {No room for a new #3} ...
4
votes
1answer
34 views

Unequal spacing of columns in xymatrix

Hello I have the following diagram in \xymatrix \xymatrix@R=2pt{A \ar[r] & B \ar[r] & C & D\\ E \ar[ur] & F \ar[r] & & D} Is there a way to reduce the gap between the ...
1
vote
1answer
63 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{ &&&& ...
4
votes
1answer
120 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 ...
4
votes
2answers
89 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] ...
5
votes
1answer
92 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 ...
3
votes
1answer
102 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 ...
4
votes
1answer
148 views

xypic: custom arrow shaft(stem)

I've noted that xy-pic have predefined some dir's. The tail and head (tip) are easy to custom (one can learn by xyrefer.pdf), but I find it hard to implement my own shaft types. Because the dash stem ...
2
votes
1answer
128 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" ...
2
votes
2answers
143 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
1
vote
1answer
71 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 ...
4
votes
1answer
101 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] & ...
3
votes
1answer
74 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 ...
5
votes
1answer
211 views

Heavy arrow tips for xy-pic

Arrows in xy-pic have narrow heads, but I need heavy tips for my graphs. I tried the following arrow definition, but the tip of the arrow enters into the circle of graph node. \documentclass{report} ...
7
votes
1answer
125 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 ...
2
votes
1answer
46 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
82 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 ...
2
votes
3answers
325 views

Rotating labels in xypic

How do I rotate the label on a arrow in xymatrix? Say, I want the label texts parallel with the arrow? \documentclass[12pt, a4paper]{article}% a minimal example \usepackage[utf8]{inputenc} ...
3
votes
1answer
67 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
57 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
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}, ...
5
votes
3answers
147 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 ...
1
vote
1answer
104 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 ...
0
votes
1answer
106 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 ...
3
votes
1answer
323 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
60 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
92 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 ...
7
votes
2answers
122 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 ...
6
votes
1answer
105 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
269 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] ...
2
votes
1answer
102 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} ...