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

0
votes
1answer
31 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
2answers
78 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 ...
4
votes
1answer
102 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
40 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 ...
2
votes
1answer
35 views

Moving a subscript in {xy-pix}

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 ...
2
votes
1answer
31 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} ...
0
votes
1answer
36 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? ...
3
votes
2answers
30 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
60 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
307 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
2
votes
2answers
38 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 %% ...
3
votes
1answer
144 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 ...
3
votes
1answer
75 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
33 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? ...
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
35 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
66 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{ &&&& ...
5
votes
1answer
92 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 ...
2
votes
2answers
143 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
3
votes
1answer
83 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 ...
3
votes
1answer
68 views

Fixing a Commutative Diagram

I am using the xymatrix command... If I type the following code \documentclass[11pt,oneside,a4paper,fleqn]{report} \usepackage[all,cmtip]{xy} \begin{document} $\xymatrix{ 0 \ar[r] & A ...
2
votes
1answer
47 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 ...
3
votes
1answer
328 views

Writing a 6-term Exact Sequence

I am trying to use the xymatrix package to write the following exact sequence $\xymatrix{ A \ar[r] & B \ar[r] &C \ar[d] & \\ \ar[u]& D \ar[l]& E \ar[l]& F }$ When I ...
2
votes
1answer
57 views

XY matrix tampering with footnote counter

Typesetting the following MWE: \documentclass[a4paper]{report} \usepackage[all]{xy} \usepackage{mathtools} \begin{document} \arabic{footnote} ...
5
votes
3answers
150 views

Draw a graph using xymatrix. Is there another way?

I am using the package xy to draw simple Graphs or Networks. It allows oriented and non oriented edges and even weights on the edges, but the code is very complicated and it is very difficult to build ...
0
votes
1answer
107 views

Centering a xy matrix inside beamer frame and figure

In the following beamer frame, I want the description text to stay top-left, while the xymatrix-figure should be centered. However, whatever I tried with \centering, \begin{center} and other online ...
1
vote
1answer
104 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 ...
2
votes
1answer
60 views

How to align brackets in this diagram? [duplicate]

When I write the following : \documentclass[psamsfonts]{amsart} \usepackage{amssymb,amsfonts} \usepackage[all,arc]{xy} \begin{document} \[Q(M) :=\left[ \xymatrix{ &\Xi(j^*M) ...
5
votes
2answers
92 views

Arrow cuts symbol when using the xymatrix command

I would like to know the following: Using xy-pic, how can I avoid that in the diagram below the one arrow's tail cuts the letter I? Is there a command in xy-pic to shorten arrows? Thanks for the ...
6
votes
1answer
106 views

xymatrix is broken when inside section

If I use xymatrix inside of a section command, it doesn't compile. Example: \documentclass{article} \usepackage[all,cmtip]{xy} \begin{document} \section{$\xymatrix{A\ar[r]&B}$} \end{document} ...
11
votes
3answers
271 views

Circling a collection objects in xymatrix

I have the following code that produces a bicomplex: \begin{displaymath} \xymatrix{ 0 \ar[r] & \Omega^0_X \ar[d] \ar[r] & \Omega_X^1 \ar[r] \ar[d] & \ldots \ar[r] & \Omega_X^n \ar[d] ...
7
votes
2answers
122 views

How can I change the style of two-cells?

How can I change the style of a two-cell? Take the following minimal example: \documentclass{article} \usepackage[all,cmtip,2cell]{xy} \UseTwocells \begin{document} $\xymatrix@C+1pc{C ...
4
votes
2answers
89 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] ...
2
votes
1answer
102 views

xy and circuitikz conflict

Following MWE compiles: \documentclass{beamer} %\usepackage[all]{xy} \usepackage{circuitikz} \begin{document} \end{document} Following MWE also compiles: \documentclass{beamer} ...
1
vote
1answer
35 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, ...
4
votes
1answer
120 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 ...
6
votes
1answer
239 views

Big vertices on my cube kill parallelism

I have coded the following diagram in xypic: \xymatrix{ & B \ar[rr] \ar'[d][dd]^(.45)\simeq && B\cup_A C \ar@{.>}[dd]^-\simeq \\ A \ar@{>->}[ru] \ar[rr] \ar[dd]_-\simeq ...
5
votes
2answers
1k views

stack in xy-pic

I want to draw this: and my xy-pic code is \[ \xy @={(0,0),(10,0),(10,10),(0,10)}, {\ar@{-}^{f_1}|{\dir{>}} s0;s1}, {\ar@{-}^{f_2}|{\dir{>}} s1;s2}, {\ar@{-}^{f_3}|{\dir{>}} s2;s3}, ...
4
votes
0answers
76 views

arrow crossings of curves in xy-pic

I want a diagram like What I can do is \[ \xy (-10,0)*+{ml}="ml"; (10,0)*+{mr}="mr"; (-5,13)*+{t}="t"; (10,-10)*+{b}="b"; ...
4
votes
1answer
73 views

How can an arrow cross under an entry in xymatrix?

I know how can an arrow cross under another arrow in xymatrix (i.e. using |\hole). But how can it cross under an entry (e.g. wide textual entry). One solution would be to fill the box under the entry ...
3
votes
2answers
121 views

Why is \txt element of \xymatrix moved downwards?

I wonder why is the textual "A" in \xymatrix{A \ar[r] & \txt{A}} moved downwards. All I want is to have textual elements in xymatrix with possibility of line breaks inside the element. I thought ...
5
votes
2answers
246 views

How to center xymatrix with respect to logical center?

I have an \xymatrix with 4 rows and 2 columns. I want to center it horizontally. I used \centerline{} but it (of course) just centers the whole box created by \xymatrix. Since my matrix entries are ...
3
votes
0answers
49 views

How to transpose or mirror xymatrix?

I know that it is possible to rotate \xymatrix (using e.g. \xymatrix@d) but how to transpose or mirror it?
0
votes
0answers
11 views

How to use xymatrix with a0poster? [duplicate]

I want to make a DIN-A0 poster using the documentclass a0poster. Why can't I draw diagrams in that documentclass? The MWE below crashes and I don't know how to fix that. :( MWE: ...
6
votes
2answers
185 views

Draw dots at the beginning and at the end of an arrow with xypic

I want to draw the following figure : I have compiled with following code to get it : \documentclass{book} \usepackage[all]{xypic} \begin{document} $\xymatrix{\vdots && \vdots \\ ...
4
votes
1answer
102 views

text on arrow for xypic

In the following example, I find that the u and w are vertically too far from the arrow: is there any way so that \documentclass[10pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{E ...
5
votes
1answer
83 views

Make a \hole larger?

In order to make the arrow go behind 'B' I use \hole. \xymatrix{ A \ar[ddrr]|\hole \\ & B \\ & & C } But what if I have something big instead of 'B', such as \xymatrix{ A ...
2
votes
1answer
129 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" ...
4
votes
1answer
59 views

Using overbrace in xymatrix

My TeX code is not compiling correctly (the overbrace is causing the error). How I can fix my file? Here's what I have: \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsmath} ...
13
votes
1answer
327 views

Does anyone have a script that will convert \xymatrix to tikzcd?

I have a long set of lecture notes where the commutative diagrams are written in xy using the \xymatrix format. I would like to switch over to tikz-cd. The syntax for the two are pretty similar with ...