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

4
votes
1answer
311 views

relation symbols as arrows in xymatrix

Is there a way to put a relation symbol (appropriately oriented) as the arrow in an xymatrix diagram? For example, a lattice of sets with the subset relation symbol pointing from the subset to the ...
4
votes
0answers
70 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"; ...
3
votes
2answers
283 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
3
votes
2answers
419 views

xypic: How to typeset the dashed line in this diagram?

I use xypics for diagrams, but I don't know how to put the dashed line in the diagram below. Search didn't find much. Can anybody here help?
3
votes
2answers
117 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
123 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
360 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
69 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 ...
3
votes
1answer
283 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
262 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
585 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
438 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
456 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
2answers
26 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 ...
3
votes
1answer
116 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
81 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
179 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
465 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
184 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
108 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
78 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
63 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
109 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 ...
3
votes
1answer
98 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
179 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
267 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
712 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
509 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
304 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
108 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
156 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
177 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
71 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
100 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
187 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
48 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
135 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
2
votes
1answer
95 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
307 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
326 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
321 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
173 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
53 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
1answer
58 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
149 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
538 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')} ...