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

learn more… | top users | synonyms (1)

2
votes
1answer
70 views

warning on xypic

I get several warning about xypic, I have no idea what to do about them. Can anyone help me? I can provide more info, if you ask me. The warnings I get are as follows:
2
votes
1answer
147 views

Is it possible to add some vertical space like ~~~?

I sometimes uses ~ to adjust space between symbols. Now I want to add some vertical space which play similar role, how do I do that? (It's not about controlling space between lines, but just add some ...
2
votes
1answer
753 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]\\ &x\ar@{-...
2
votes
2answers
47 views

I would like to use vertical dots to indicate I am omitting arrows

I have a diagram with many parallel arrows between objects in XYpic. Eventually, they become too numerous to all display. I would like to indicate this with two outside horizontal arrows and some \...
2
votes
1answer
73 views

vertical $\cong$ or $\sym$ in xymatrix

I need to show that a certain vertical arrow in a commutative diagram is an isomorphism. I would like to either add a $\sim$ next to the vertical line, rotated 90 degrees, or replace the arrow with a ...
2
votes
1answer
90 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} ...
2
votes
1answer
271 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
1answer
245 views

How to make a commutative diagram smooth?

I have drawn the following diagram: using the following command: \documentclass[11pt,twoside,a4paper]{book} \usepackage[margin=1.5in]{geometry} \usepackage{xypic} \begin{document} \xymatrix{ A\...
2
votes
2answers
1k 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} \...
2
votes
1answer
357 views

xymatrix: How to change the position of a vertex?

I have the following simple diagram: \[ \xymatrix{ A \ar[r]\ar[d] & B\ar[d] \\ C \ar[r] & Dxxx = Exxx = Fxxx} \] which will be typeset so that B will have a down arrow, possibly ...
2
votes
1answer
104 views

xypic: is it possible to change the slope of an arrow?

In this diagram, I want arrows from \Delta X~ in the middle of the 2nd row goes to both N\Delta X and (Delta X)~/D\Delta X, how do I do that? (making columns very narrow and draw very fine lattices ...
2
votes
1answer
603 views

Use special objects of xy-pic with beamer

When I try to use the general format for labels (cf. xyguide, §2.2) together with beamer overlays, the part that should show up later isn't formatted properly. I guess, beamer doesn't convert the * ...
2
votes
1answer
234 views

Larger arrows in xy

I'm trying to make a poster, and have managed to enlarge math symbols in XY for my diagrams, but the arrows are too thin and unless you're right up against the poster, the arrow heads are almost ...
2
votes
1answer
249 views

Distributive arrows in xypic

I am trying to draw "distributive arrows" in xypic, but I can't make it look nice. Here is a MWE: \xymatrix{a\ar @/^1.4pc/[r] \ar @/^1.4pc/[rrr] &( b &+& c)} Does anyone know how to ...
2
votes
1answer
327 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: \newdir{|>}{!/4.5pt/@{|}*...
2
votes
1answer
52 views

Xy model without arrows in Metathesis file

First of all, I'm sorry if the question is bad, but I'm desesperate. I'm using the metathesis file that is in this link. The problem is that I entered in the thesis.tex file, and edited it, adding ...
2
votes
1answer
52 views

How to change the arrows tips for the whole document?

After I asked this question: What is "\SelectTips{a}{b}" (and how to increase the head of an arrow's head?) I'd like to know one more thing: I want to change it (the arrow tips) for the ...
2
votes
2answers
79 views

Typesetting the Middle Four Interchange Law

I would like to typeset the middle four interchange law of 2-categories. In xypic, I managed to typeset the following repulsive thing: Here's the code: \xymatrix { \text{Middle} & \text{Four} &...
2
votes
1answer
84 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 ...
2
votes
1answer
68 views

XY matrix tampering with footnote counter

Typesetting the following MWE: \documentclass[a4paper]{report} \usepackage[all]{xy} \usepackage{mathtools} \begin{document} \arabic{footnote} $$\arabic{footnote}\xymatrix{\arabic{footnote}0\overset{\...
2
votes
1answer
65 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, ...
2
votes
1answer
187 views

How can I align entries in the column?

I have drawn the following picture in xypic and I would like to align in the right column the Hom term in the first row as well as direct product guys in the 2nd and 3rd rows exactly together. How ...
2
votes
1answer
911 views

Circling/Framing part of one entry in xymatrix

I want to circle ONLY part of an entry in xymatrix, I have skimmed through several references for xypic but only able to find how I can frame the whole entry (e.g. the one in first and third row in ...
2
votes
1answer
300 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 \...
2
votes
0answers
66 views

Composition in a multicategory

I am trying to figure out how to draw composition in a multicategory using same depiction used in Leinster's book "Higher Operads, Higher Categories". Here is what I am trying to draw: I did ...
2
votes
0answers
41 views

How to make longer arrows from object to itself at xy-pic

I trying to control on the length of arrow from object to itself at xymatrix (xy-pic): for example - This is what I get when I'm typing *+++[o][F.]{a}\ar@(d,r) And this is what I get when I ...
2
votes
0answers
77 views

Xy-pic: Draw a partial circle segment with the command \cir

I can't figure out if is it possible or not to draw a partial circle segment between to arbitrary direction, with the command \cir? The manual says: *\cir<radius>{<diag> <orient> &...
2
votes
0answers
116 views

Can I use xymatrix to make a spectral sequence ? meaning how to make the boxes?

Is it possible to use the xymatrix command to make a spectral sequence ? Since xymatrix has all the arrows, what I am really asking is are there commands that will enclose the entries in a lattice of ...
2
votes
0answers
184 views

Example of the use of : and/or :: in XY-pic [closed]

Could someone please provide an example of the use of ::, using sample code and coordinates and showing step-by step the changed content of p, c, origin, xbase, ybase, and any other pertinent ...
2
votes
0answers
492 views

Nested \xygraph in \xymatrix [closed]

I am nesting an \xygraph in an \xymatrix like so: %\documentclass{article} \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{MnSymbol} \usepackage{chemarr} \...
2
votes
0answers
415 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 ...
1
vote
2answers
1k views

Use \label and cross-references in xymatrix

Whenever I am trying to use \caption, \label and cross-references in xymatrix, it is not working. An MWE : \documentclass{book} \usepackage[a4paper,margin=.45in]{geometry} \usepackage{xypic} \...
1
vote
2answers
276 views

How can I draw this triangle?

I want to draw a a following triangle. What is the simplest way to draw a following triangle?
1
vote
2answers
166 views

How to draw this using XYpic?

I can't figure out how I can draw this with XYpic. I'm very new to XYpic. I tried the following: \documentclass{article} \usepackage[graph,knot,curve]{xy} \begin{document} $$\xygraph{ !{0; /r1.0pc/ :...
1
vote
1answer
190 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 ...
1
vote
2answers
70 views

draw diagrams with \xymatrix

I'm using \xymatrix to draw a diagram and I need some of the arrows to be named with a matrix over it. To draw the matrices over arrows, I'm using the \arrow command but, unfortunately, it puts very ...
1
vote
2answers
225 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
2answers
113 views

Squiggly arrow in xypic giving error in LyX

I am trying to compile \xymatrix{A\ar@{\sim>}[r] & B} in LyX and I get the following error message: How can I fix this? The code compiles in ERT, just not in the native xypic mathmode. Here ...
1
vote
1answer
18k views

“\caption outside float” error

I am trying to have a caption in a commutative diagram using the xypic package. But it is not working. I have written the code below: \documentclass[a4paper,12pt]{article} \usepackage{xypic} \begin{...
1
vote
1answer
472 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{ !{<0cm,0cm>;<1cm,0cm>:<0cm,1cm>::...
1
vote
2answers
63 views

Bipartite graph in xypic

Could you help me somebody please. I don't understand, how I can draw bipartite graphs using xypic, for example K3,3 or something like that.
1
vote
2answers
54 views

Rotatable triangular arrowheads in xy-pic

I want an answer to Triangular arrow head in xypic that plays nicely with directions other than r, rr, rrr, etc. Consider the following code: \documentclass{book} \usepackage{amssymb} \usepackage[...
1
vote
1answer
920 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? ...
1
vote
1answer
232 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{ &&&& ...
1
vote
1answer
3k views

Commutative diagram with curved arrows, colour, and changing the style of arrows

I am using xy matrix and I would to curve an arrow over other arrows in a diagram, at the same time as setting some of these curved arrows to equal and changing their colour. This is what I have so ...
1
vote
1answer
788 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] \ar[dr]...
1
vote
4answers
1k 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 \...
1
vote
2answers
51 views

A problem about centering a figure in xy pic

Using xy package, I have produced a figure. But I have a problem: I am trying to center a figure, but it just goes beyond the right. How can I centre the flow chart? (in fact, it is inclined or ...
1
vote
1answer
222 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 ...
1
vote
1answer
126 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 ...