{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
3answers
731 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
279 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
543 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
658 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
301 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 ...
6
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. ...