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

Moving a subscript in Xy-pic

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 ...
1
vote
1answer
38 views

xymatrix upright arrow breaks labeling

When I try to compile the following diagram \xymatrix { A\ar[r]^{g}{\ar[d]_j} & B\ar[d]^{e}\\ X\ar[r]_{f} \ar[ur]^{\tilde g}& Y } the subscripts of the arrow labels are treated as the ...
2
votes
1answer
45 views

Triangular arrow head in xypic

Let us consider the following example: \documentclass{book} \usepackage[all]{xy} \begin{document} $\xymatrix{A\ar[rr] && B}$ \end{document} This produces but I want the following ...
2
votes
0answers
65 views

Change of arrow head in $\xymatrix{} [closed]

Let us consider the following example : $A\xrightarrow{\quad } B$ This gives But in the following way we can change arrow head \documentclass[fleqn,12pt,a4paper]{article} ...
5
votes
1answer
55 views

Xy curves not obeying round frames

I am trying to draw the Frucht graph in with Xy-pic, using the polygon extension. The natural way to make curved inside edges ("origin" ; "destination" **\crv{"center"}) doesn't quite reach the ...
4
votes
2answers
122 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 ...
3
votes
2answers
182 views

Does anyone have ideas on how to make this commutative diagram look nicer

Hi I am trying to draw a long exact sequence and importantly with the terms appearing in threes. Unfortunately what comes out looks awful, does anyone have any ideas of how to make it look nicer? ...
4
votes
1answer
31 views

xypic bending arrows whith non-default shafts

I have troubles trying to bend double arrows in XYpic. Here is my code at the moment: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ \ar@2 `r[r] [dr] & \\ & & ...
5
votes
2answers
80 views

How to position hole in an arrow in xypic

trying to draw a 3D commutative diagram here and getting really stuck trying to get the hole in one of the arrows in the right place, you should see which one I mean as there is only one crossover. ...
8
votes
2answers
666 views

Bold arrows in xymatrix

How can I produce a bold arrow in the package \xymatrix? I've tried with \ar@{\bf{->}}[r] and similar alternatives without success.
3
votes
1answer
36 views

Bending arrows the right way in xypic

I have a problem typesetting a diagram. The problematic part is this: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{% && C \\ & B \ar[ru] & \\ A ...
5
votes
1answer
59 views

Xypic Diagram with MnSymbol Arrows

When I use the MnSymbol package, I get the usual short arrows, but this is not the case for xypic diagrams. Having the following packages \usepackage{xypic} \usepackage[all,cmtip]{xy} ...
0
votes
0answers
17 views

xycirc.tex problem with “;”

So I am having this problem, while using xyqcirc.tex. I called at the beginning by using \input{xyqcirc.tex}, but then before every \item, in itemize environment, or example, this symbol appears: ; , ...
3
votes
1answer
27 views

Using xypic, why are the symbols not sitting nicely above the arrows?

I'm trying to use xy-pic to do commutative diagrams but the symbols above my arrows keep coming up in the wrong places! Can anyone see what I am doing wrong? Many thanks. \[ \xymatrix{\Gamma(\xi) ...
0
votes
0answers
19 views

How to position an xypic diagram within body of text [duplicate]

I have an xypic diagram that I want to have within the body of text (article class). The .tex file looks like this at the relevant place: \section{A Framework} What we have now is a picture that ...
1
vote
0answers
17 views

XY-Jax on a website [closed]

I saw examples of XY-Jax, for instance here, and I very much want to have a website in which incorporates it, enabling me to make such diagrams. My question is very basic: What are the steps I need ...
3
votes
1answer
176 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 ...
0
votes
1answer
50 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
124 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} ...
3
votes
2answers
76 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
86 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
44 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
36 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
78 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
327 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
2
votes
2answers
55 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 %% ...
4
votes
1answer
117 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
42 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
721 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
139 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
842 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
204 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
48 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
75 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
142 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
96 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
100 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
109 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
158 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
147 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
152 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
1
vote
1answer
82 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
106 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
77 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
228 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
136 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
51 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 ...
4
votes
1answer
97 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 ...