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

3
votes
1answer
228 views

Does not imply arrow in \xymatrix?

I am wondering how to make a does not imply arrow when using \xymatrix. I have a square diagram with two implications (arrows) on three edges only and one arrow on the fourth edge. One of the arrows ...
3
votes
2answers
143 views

Extra whitespace at top of xymatrix

I'm making some slides where I want to show permutations with little diagrams of dots and arrows. Here is my attempt to depict the permutation 12345 --> 31245: \documentclass{article} \usepackage[...
3
votes
1answer
218 views

I want to create graph with nodes as in the image:

I wrote an example graph with \xymatrix - that's OK. I added circles with &*+[Fo], that's OK too. I added table inside first circle with \begin{tabular} - it is OK. But table needs to be rotated ...
3
votes
2answers
711 views

xypic: Text inside square

I have a very basic square: \xymatrix{ A \ar[r] \ar[d] & B \ar[d] \\ C \ar[r] & D } What is the easiest way to place the text "hi" in the center of the square?
3
votes
1answer
212 views

Missing } inserted (xypic code)

Good afternoon, Unfortunately I'm getting a "! Missing } inserted. <inserted text> } l.23 **\xymatrix{$\CIRCLE$ $\CIRCLE$ & $\CIRCLE$ } ...
3
votes
1answer
59 views

What is “\SelectTips{a}{b}” (and how to increase the head of an arrow's head?)

At is \SelectTips{a}{b} and is the meaning of {a} and {b}? I know that the first one changing the type of the arrow, but what is the second one? The value there can be only 10,11,12.... And if I can ...
3
votes
2answers
112 views

Drawing trees with xymatrix

I would like to draw trees using xymatrix, however using for example \xymatrix{\ar@{-}[dr] & & \ar@{-}[dl]\\ & \ar@{-}[d] & \\ & & } returns the image My problem with ...
3
votes
1answer
107 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 ...
3
votes
1answer
313 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
87 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 \ar@{^{(}-...
3
votes
1answer
315 views

Change the orientation of Arrow of xtwocell in the 2cell option for xy

I'm trying to make a diagram similar to this (from wikipedia) Except that I want to the double arrow $\eta$ two be pointing from node $B$ toward the middle of arrow $X$ (it is, after all, a natural ...
3
votes
1answer
122 views

How do I make a circled frame?

I'm using LYX at XyMatrix. If I'm writing in one of the cells a code like that: \save"1,1"."1,2"*+[r][F]\frm{}\restore I get a rectangle frame. If want to get a circled frame what should I write? ...
3
votes
1answer
281 views

“Dimension too large” error with XY-pic

What's wrong with the following? \documentclass{amsart} \usepackage[all]{xy} \begin{document} \xymatrix{ \text{Long string of text that causes an error during the compilation of this document}...
3
votes
1answer
411 views

\xymatrix undefined

I am trying to use xy package to draw some diagrams. So I use the command \usepackage{xy} and I type a sample as follows: \xymatrix{ A &*+[F]{\sum_{i=n}^m {i^2}} \\ & {\bullet} & D \...
3
votes
2answers
628 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
1answer
315 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% \let\\=\cr\ialign{$\labelstyle##\...
3
votes
1answer
35 views

standalone package, with its subpreambles option, gives error if xy package is loaded in a standalone input file

The standalone package, with its subpreambles option, gives error if the xy package is loaded in one of the standalone input files. This is shown by the following M(n)WE: \begin{filecontents}{testxy} ...
3
votes
1answer
102 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?
3
votes
1answer
178 views

An unwanted overlapping of arrows with xymatrix

I try to make a commutative diagram like this: with the code $\xymatrix{ Y \ar@{->>}[rd] \ar@{->>}[r] &{Y_1} \ar@{.>}[d]^<<<{\cong}_<<<{\exists} \ar@{^{(}->}...
3
votes
1answer
292 views

Reference for a commutative diagram

How to give a number (for later reference) to the following diagram? \begin{displaymath} \xymatrix@!C{ \{ \prod_{g \in A} \OO_g \} \ar@{->>}[r] & { \{\prod_{g \in A^{\prime}} \OO_g \} }\\ {...
3
votes
1answer
250 views

labeling diagrams with matrices

I it possible to label an arrow with a matrix in Xy-pic? In the following diagram I want to label the arrows with 2x2 matrices to represent linear maps between vector spaces, in the place of a,b and ...
3
votes
1answer
57 views

Creating multiline labels in xy-pics, xy-matrix or similar

I would like to make a diagram that shows the order in which i used some models. I normally make diagrams with xy-matrix, but some of the model names would look clumsy if kept on a single line, so I'd ...
3
votes
1answer
54 views

misdirected xymatrix arrow heads with certain fonts

I'd like to use $\mathsf{C}$ rather than $\mathcal{C}$ for categories. However, when I use the former in the first displayed equation, the top arrowhead (the arrow labelled "L") points northwest, ...
3
votes
1answer
85 views

Quiver representation shorthand

Consider the quiver \xymatrix{ 1 \ar[r] &2 \ar[r] &3 \ar[r] &4}. The projective representation P(1) is \xymatrix{ k \ar[r] &k \ar[r] &k \ar[r] &k}. I would like to use the ...
3
votes
1answer
72 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 ...
3
votes
1answer
106 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 ...
3
votes
1answer
117 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 ...
3
votes
1answer
330 views

Change the font style inside *modifier{text} in xypic

I'm trying to create a tree structure using "xypic" package. Everything is ok except that when I write something inside *modifier{text} the default font used for labeling in xypic is not used. ...
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
0answers
27 views

Arrow lines crooked when using xymatrix frame around group of entries

The following does not yield squared arrow lines. The lines connecting the two lower blocks are crooked. Does anyone have any idea how to fix that? Thanks, Dave \usepackage{tikz} \usepackage[all,...
3
votes
0answers
675 views

xy-pic or tikz : which one should I learn? [closed]

I want to learn how to use tikz more in depth. But I wonder wether I should also learn how to use xy-pic, because it seems, at first glance, that xy-pic can do much of what tikz does when it comes to ...
3
votes
0answers
66 views

How to increase perpendicular distance of labels from arrow in XYPic? [duplicate]

How do I move a label further away from an arrow in XYPic? Example \xymatrix{ g_0 + \beta_1)(n + n') \ar[r]_-{(g_0 + \beta_1)^+(n,n')} & (g_0 + \beta_1)(n) + (g_0 + \beta_1)(n') } I want to ...
2
votes
2answers
448 views

Is it possible to use the verbatim environment in an XY-pic node?

Is it possible to use the verbatim environment (i.e. \begin{verbatim}...\end{verbatim}) in an XY-pic node? If so, please could you provide a MWE (Minimal Working Example)? Update for those who want ...
2
votes
2answers
227 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
2
votes
3answers
48 views

How to insert /_/ in lyx math mode?

I am editing an xymatrix in LyX, and in order to curve some of the edges it requires me to be able to insert /_/ in math mode. However, every time I type that sequence of characters, LyX converts it ...
2
votes
1answer
256 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} \usepackage[all]{xy}...
2
votes
1answer
166 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
1answer
188 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 ...
2
votes
1answer
101 views

Complicated 2-cell diagrams

I would very much like to typeset the diagrams below, but I am absolutely unable to understand how to do this from any of the xypic guides. Help and examples greatly appreciated!
2
votes
1answer
244 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? (...
2
votes
2answers
59 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
1answer
99 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) \ar@{->>}[rd]...
2
votes
1answer
1k views

too much spacing in xymatrix

I am using xypic package and I wrote the following xymatrix \[ \xymatrix{ x \ar@(ur,dr)[]|{a} \\ | \\ y \ar@(ur,dr)[]|{b}\\ | \\ z \ar@(ur,dr)[]...
2
votes
1answer
693 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
486 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 ...
2
votes
1answer
134 views

Arrow tip for curved arrow in xymatrix

Inserting () in A on diagram #3 corrects the arrow tip at C. But replacing C by a fraction, the problem comes back. MWE \documentclass[11pt,a5paper]{report} \usepackage[all]{xy} \SelectTips{cm}{...
2
votes
1answer
110 views

How to draw a diagram with the given semantic?

I need to draw a diagram similar to the following: The task is to draw a diagram with this semantics, not necessarily the same appearance. Note that in the above diagram $\sqsupseteq$ denotes a ...
2
votes
2answers
186 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 %% ...
2
votes
3answers
330 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 ...
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: