{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
504 views

Changing color of \dir in xypic

I'm trying to use \dir to draw custom frames in an XYpic drawing, but have been unable to figure out how to change the color of the line drawn by each command. For instance, to draw a triangle frame, ...
5
votes
2answers
850 views

ways to indicate commutativity and non-commutativity of a diagram when using xymatrix

I used the following code, but \circlearrowleft looks no good in this diagram. I would like to know if there is a better way to indicate the commutativity. Also, is there any way to indicate ...
4
votes
1answer
666 views

xypic produces error when I try to use any arrow style

I have a very annoying issue with xypic. I'm trying to typeset an exact sequence, one of which morphisms is the inclusion, so I'd like to use the inclusion arrow ↪. The problem is that when I use ANY ...
4
votes
1answer
417 views

TikZ arrowheads to match xy-pic?

I’d like to make arrow tips in TikZ that match with xy-pic’s standard arrowheads. The methods from this similar question look appropriate, but I thought I’d check first: has anyone else already ...
3
votes
2answers
373 views

Is there a good xypic editor?

I'm using LyX for my LaTeX editing, and I use LyX's matrix editing capabilities to edit xypic matrices. While this is much more comfortable than editing raw xypic LaTeX code, it can get quite messy ...
8
votes
1answer
583 views

Natural transformation arrow

I'm trying to do the following with xymatrix: This is a diagram I drew sometime ago... But now I don't have the source and I can't remember how I did it, nor can I find an easy, simple way to do ...
4
votes
1answer
816 views

Equation Labeling and xypic

Suppose I have the following TeX code for a diagram using xymatrix: \begin{align}\label{diagram} \xymatrix{ C\ar[r] & D &\\ B\ar[u] & & \\ A\ar[u] & &} \end{align} This ...
6
votes
3answers
1k views

Is there a way to uncover arrows in an xymatrix?

Is there a way to uncover arrows in an xymatrix? Usually when I have problems with \uncover I use multiple frames, but I would like to be able to do this on a single frame. Here is a sample: I would ...
4
votes
2answers
1k views

Is there a way to make superscripts larger?

Is there a way to make superscripts larger? Here is a minimal working example. \documentclass[12pt]{amsart} \usepackage{amssymb} \usepackage[all]{xy} \begin{document} \xymatrix{A \\ ...
5
votes
1answer
534 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
465 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
854 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
155 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 ...
2
votes
1answer
551 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
423 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
157 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
292 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
924 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
200 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
210 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
576 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
472 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
800 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
643 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
517 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
264 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 ...
4
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 ...
17
votes
2answers
3k 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 ...
1
vote
1answer
401 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
555 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
482 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
2k 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 & ...
10
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
2k 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
241 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 ...
5
votes
3answers
3k views

Subset arrows in xymatrix

Is it possible to make an arrow in xymatrix that is a subset symbol?
2
votes
0answers
376 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
590 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
1k 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
181 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
460 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
4answers
914 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
302 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
4k 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
626 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
721 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
2k 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
306 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% ...
41
votes
4answers
6k 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 ...