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

5
votes
1answer
434 views

Problems rotating arrow labels

Xypic offers many placement and formatting options for labels, including rotation. However, I can't get this last feature to work correctly. I have two problems with this: with some inclinations ...
8
votes
1answer
411 views

How to redraw a previous arrow?

I'm trying to write a macro \mappingto which, basically, called after an arrow has been drawn, should add another one below clarifying what elements are mapped to. e.g. in an easy situation, I'd like ...
0
votes
1answer
561 views

Changing the Label Font Size for xypic Commutative Diagrams

I'm using xymatrix in the xypic package to draw commutative diagrams and I would like for the math in the arrow labels to use the same font size as the math in the rest of the document. Is there an ...
0
votes
1answer
123 views

Xypic not rendering edges

First off, I'm rather new to LaTeX and use it in a limited fashion (typing up notes + problem sets for my math classes). As such I'd like to apologize in advance for not knowing the correct ...
1
vote
1answer
367 views

Moving the position of an arrow in XY-pic

Any arrow in XY-pic is on a line which goes through the CENTER of a box, and points to the CENTER of another one. Is it possible to change SEPARETELY (the problem lies here!) the starting position and ...
2
votes
2answers
331 views

Multiple holes in arrows in xypic

I am trying to make a diagram where two arrows will be crossing one arrow. I have the current code for putting in one hole: \Omega \ar[r]|(.35)\hole^-{d} \ar[d]^-{e_*} which seems to work just ...
1
vote
1answer
133 views

Is that a bug between `xymatrix`, the `input` command and .sty file?

I have a problem compiling the following document. First, I have a file macros.sty that consists of : \newcommand{\test}{ \xymatrix@R=0mm{x} } Then, I have an auxiliary file out.aux that consists ...
13
votes
4answers
1k views

Bending snakes with xy-pic

This is a follow-up to this question: How do you draw the "snake" arrow for the connecting homomorphism in the snake lemma? I'm trying to emulate this snake diagram Aluffi does in his book ...
1
vote
0answers
261 views

Using \usepackage[all]{xy} and \xymatrix{} the arrowheads are not printing or viewing correctly [closed]

When I use \usepackage[all]{xy} and \xymatrix{} the arrowheads are not printing or viewing correctly. I have typeset for years and this problem only popped up when I changed operating systems a few ...
1
vote
1answer
738 views

Diagram draw with xy package looks wrong

I'm trying out the xy package and have compiled one of the examples on this website: http://en.wikibooks.org/wiki/LaTeX/Creating_Graphics#Xy-pic \begin{displaymath} \xymatrix{ A \ar[d] ...
3
votes
1answer
175 views

Missing } inserted (xypic code)

Good afternoon, Unfortunately I'm getting a "! Missing } inserted. <inserted text> } l.23 **\xymatrix{$\CIRCLE$ $\CIRCLE$ & $\CIRCLE$ } ...
0
votes
1answer
179 views

How can I shift individual cells in XY-pic without shifting the corresponding row/column?

I'd like to create a figure using XY-pic in which one cell actually spans two rows (like \multirow). Should look something like: 1,1 1,3 BIG 2,1 3,3 With arrows from 1,1 and 2,1 to ...
4
votes
1answer
414 views

Oversized parentheses around xymatrix

This must have been asked somewhere here before, but I cannot seem to find it. I am using \left( and \right) around an xymatrix, but the parenthesis are far too big; with the following code; ...
2
votes
1answer
262 views

Dashed /^/ in xy package

I am trying to make the following arc between two objects using the /^/ but I need it to be dashed my matrix is as follow: \xymatrix{ &0\ar@{-->}[r]&0'\ar@{-->}[l]\\ ...
4
votes
2answers
662 views

Better arrowheads in commutative diagrams

The Fourier package gives a different look for the arrowheads, which looks nice to me. I also want to use this arrowhead in the commutative diagrams. I have tried Taylor's diagrams package, xy-matrix, ...
1
vote
1answer
472 views

Draw a box around each element of the xy-pic

How could I draw lines (like those in a tabular environment drawn by \hline and |c|c|c| in the following code? \resizebox{\textwidth}{!}{ \xymatrix{ x_0 \ar[dr] & x_1 \ar[d] ...
6
votes
4answers
473 views

(Commutative) diagram with long labels on vertices

I am trying to draw a diagram that looks something similar to the following: ############## ---------> ############## \ / \ / ...
2
votes
1answer
215 views

How can I make an arrow returning to same entry in xymatrix?

I'm trying to make a diagram with arrows returning to the same entry using xymatrix. The following example works perfectly fine. \[ \xymatrix{ V \ar@(dl,ul)[]^{h'} \ar@<0.5ex>[r]^{i} & W ...
3
votes
1answer
1k views

Beamer overlays and XYpic

Let's suppose we have some really really trivial XY-pic drawing: \xymatrix { A & B \\ C & D } What I want to achieve would be something like: Only B and D are visible on slide 1 On ...
16
votes
2answers
2k views

How to make nice braids diagrams

This question led to a new package: braids — Blog: The Braids Package I search to draw braids diagram, if possible in xy-pic. I already know how to do that with the knot module and some ...
0
votes
1answer
315 views

Adding labels to graph in xy package

I'm using xy package to draw a simple graph representation. How can I add the labels to the egdes? Here is the code I've produced so far: \xygraph{ ...
3
votes
2answers
451 views

XYPic Frame with braces does not typeset correctly

I have a picture I am trying to typeset with xypic using pdflatex. As a minimal example there are basically a few boxes with a curly brace under them. I try to do this with the following code: ...
3
votes
2answers
422 views

xypic not showing arrowheads

I have (supposedly) successfully installed xypic and am attempting to draw some diagrams. Everything is compiling just fine, but no matter what I do I cannot get the heads of the arrows to appear. All ...
4
votes
2answers
1k views

xy diagram problem: too wide, some arrows too short

I'm trying to write the diagrams of the isomorphism theorems, and I'm having problems. Some objects are too wide, and some arrows too short. Currently I have $$\xymatrix{A\ar[r]^\pi\ar[d]_\rho & ...
9
votes
3answers
3k views

Commutative diagram with rounded arrows

I want to draw a diagram which has some arrows between to points A and B. First arrow goes straight from A to B and above it should be a $\Psi$. Second arrow goes in a round way from A to B and above ...
2
votes
3answers
1k views

Adding arrows to each term of an equation

\documentclass{beamer} \usepackage[all]{xy} \begin{document} \section{Introduction} \xymatrix{ &*+{\sum_{i=n}^m {i^2}} &*+{+}&*+{p} \\ & {\bullet} & D \ar[ul] && f \ar[ul] ...
4
votes
2answers
216 views

Accessing dvips features of xypic via pdflatex

I read from the xypic reference manual that extra graphics features are accessible using dvips to compile, even though it still works in most cases with pdflatex. On the PSTricks website are listed ...
4
votes
3answers
2k views

Subset arrows in xymatrix

Is it possible to make an arrow in xymatrix that is a subset symbol?
1
vote
0answers
306 views

Using xypic in Texmacs. [closed]

Question: When I try to "start up" the xypic interactive thing in texmacs, it just writes "Busy..." and never evaluates anything I put in. What am I doing wrong? Motivation: I just started to use ...
4
votes
1answer
467 views

Fatter arrowheads in xy-pic

I am formatting some diagrams using arrows in xy-pic. The "standard" arrow head that xy-pic produces with the command \ar is quite different (much smaller, thinner) than that produced by using the ...
7
votes
2answers
896 views

Showing arrows crossing over or under other arrows in xy-pic without knots

I have an xymatrix in which two arrows cross each other, say \xymatrix{ \ar[dr] & \\ \ar[ur] & } and I would like one arrow to cross over the other. I also want to to be able to do this ...
2
votes
1answer
168 views

Writing down an equation involving some xymatrices in xy-pic

I'm trying to do something that TikZ is probably more than capable of doing, but I am lazy so I'm trying to do it in xy-pic instead. What I am trying to do is write down an equation involving ...
4
votes
1answer
395 views

Can you have curving, empty, broken arrows in xymatrix?

In \xymatrix, the command \ar@{}[dr] |{\text{lab}} typesets an empty arrow, broken by some text. Similarly, the command \ar@/^10pt/ @{->}[ur] |{\text{lab}} typesets a curving arrow, broken by some ...
1
vote
3answers
652 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
1answer
274 views

Utterly stumped by xypic \newdir — just combining examples from xyguide!

I want to use arrows whose heads and/or tails can be almost-triangles: roughly, something like A ———▷ B or A ▷——> B.  For the heads, there’s a good solution in xyguide: ...
6
votes
1answer
3k views

Coloring arrows in \xymatrix

Is there a way to color certain (but not all) arrows using \xymatrix? I wish the following ignorant attempt would work!! \usepackage{xypic,color} \begin{document} \[ \xymatrix { ...
4
votes
3answers
517 views

Label an angle in xypic

I am frequently (i.e. about once per quarter, right before the end) set upon by the need to draw a diagram in which various lines are drawn and the angles between them labeled. I've been using xy-pic ...
10
votes
1answer
638 views

How do I make the arrow -->— using xymatrix?

I do not know any TikZ so I cannot use this post, which otherwise is precisely what I am looking for. So how do I make such a square? The best I could come up with was \ar@{-}[r]^{\delta}|-{>} ...
3
votes
1answer
1k views

Xypic problem: can't find file

I'm trying run pdflatex, but I get this one very unusual error. I've downloaded xypic from CTAN, and it still seems that pdflatex is unable to find some documents that are supposedly related to that ...
3
votes
1answer
297 views

How do I get the spacing in the redefined label box right?

I use the following code to make xy-pic arrow labels multiline capable: \let\oldlabelbox=\labelbox \def\newlabelbox#1{% \oldlabelbox{\vcenter{\normalbaselines% ...
38
votes
4answers
5k views

How do you draw the “snake” arrow for the connecting homomorphism in the snake lemma?

How does one draw the "snake" arrow for the connecting homomorphism when using the snake lemma? I'd also be interested in drawing similar arrows act as "carriage returns" when considering a long ...
4
votes
3answers
4k views

Is there a way to resize a figure created with xymatrix?

I've drawn some figures using xymatrix, but they're much larger than I'd like them to be. Is there a way to resize them? I'd be happy to cut them down to a fixed percentage of the original or to a ...
6
votes
2answers
1k views

How to nest xymatrix in Xy-pic

This is a bit of a long post, so apologies in advance. I would like to nest xymatrices in Xy-pic so that entire xymatrices would be treated as single entries in another xymatrix. I tried the obvious ...
10
votes
3answers
2k views

Pushouts and pullbacks

How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there. ...