{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
2answers
102 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 ...
3
votes
1answer
118 views

Errors when trying to draw a commutative diagram using an xymatrix

Why is the following code not compiling? \[ \xymatrix{ A \ar[rd]^{g \circ f} \ar[r]^f & B \ar[d]^g\\ C} \] I'm trying to get a commutative diagram with 3 objects (A, B and C) ...
3
votes
2answers
356 views

How to join arrows within xymatrix?

I use xymatrix (\usepackage[all]{xy}) in order to create the following picture: \[ \xymatrix{A \ar@{-}[d] & B \\ \ar[r] & C} \] Is there any possibility to join the lines?
3
votes
1answer
152 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 ...
3
votes
2answers
235 views

Draw a Cyclic State Machine with xypic

I want to draw the following diagram : \documentclass[11pt,twoside,a4paper]{book} \usepackage[margin=0.45in]{geometry} \usepackage[all]{xy} \begin{document} \begin{figure}[ht] ...
3
votes
2answers
533 views

Changing length of an arrows from a vertex to itself

I'm working with LyX. I would like to change the length of an arrow from a vertex to itself. I would like to make the arrow stretch longer up before returning down to the encircled vertex. The code I ...
3
votes
1answer
410 views

Curved arrow in xymatrix going over text

In some notes I took in a lecture, where I was using xymatrix to do the commutative diagrams, I found that a curved arrow beneath the diagram actually crossed over some text. (Ideally, the text should ...
3
votes
2answers
443 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 ...
3
votes
1answer
90 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
73 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} ...
3
votes
1answer
171 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
410 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
182 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
55 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
52 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 ...
3
votes
1answer
94 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
160 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 ...
3
votes
1answer
227 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
1answer
841 views

Label positioning in XY-matrix

As denoted in XY-pic's user guide, "Each label is placed perpendicular to the arrow at the point halfway between the centers of the base and target objects." In order to center the label at the middle ...
3
votes
1answer
622 views

Adjust spacing between specific rows with \xymatrix

I have the following diagram: \[ \xymatrix @!=1pc { & Z \ar@{.>}[d]^{\exists!h} \ar@/_1.2pc/[ddl]_{p'} \ar@/^1.2pc/[ddr]^{q'} & \\ & X \times_S Y \ar[dl]_p\ar[dr]^q & \\ X ...
3
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 ...
3
votes
2answers
482 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
301 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% ...
3
votes
1answer
95 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} ...
3
votes
1answer
248 views

How can I draw this commutative diagram for function composition?

I am working on a project, and need to add a diagram that displays a commutative diagram illustrating basic function composition similar to what is on page 17 in the image attached. I would like to ...
3
votes
1answer
129 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
167 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
63 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
95 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
162 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
1k 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
44 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
0answers
64 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
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] ...
2
votes
2answers
106 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
2
votes
1answer
73 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} ...
2
votes
3answers
237 views

Rotating labels in xypic

How do I rotate the label on a arrow in xymatrix? Say, I want the label texts parallel with the arrow? \documentclass[12pt, a4paper]{article}% a minimal example \usepackage[utf8]{inputenc} ...
2
votes
1answer
262 views

Need to produce “real” double quotes in LaTeX and XY-pic in Emacs

I am using Emacs as a text editor on Xubuntu. I am using the XY-pic package to make some commutative diagrams, and I need the following command (which is inside figure, center, and xy begin tags): ...
2
votes
2answers
307 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 ...
2
votes
1answer
170 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
39 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) ...
2
votes
1answer
140 views

How do I discover the shorthands defined by babel in my language?

The reason I want to do it is that I want to set brazilian language in babel and I want to use xy-pic package, but I have to use it inside an environment in which the shorthands are off.
2
votes
1answer
467 views

moving label of arrow

How can I shift the F_{2}(f') label so that it isn't touching the arrow? \usepackage[all]{xy} \SelectTips{xy}{12} \[ \xymatrix{ A \ar@{<->}[rrrr]^{F_{1}(h' \circ g')} ...
2
votes
1answer
133 views

How does one use math operators in xy-pic?

I am trying to format some large commutative diagrams (using the \xymatrix command) that involve colimits, and I would like to have the indexing information for the colimits appear underneath the word ...
2
votes
1answer
431 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
362 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
55 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
123 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 ...
2
votes
1answer
106 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
387 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 ...