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

5
votes
3answers
222 views

Gaps between arrows and labels

I have a question about my diagram. How can I increase the gap between the arrows and the labels? I would like to have more space between the left arrow and the label (2). Thanks for any suggestions. ...
3
votes
1answer
118 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 ...
1
vote
1answer
72 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 ...
7
votes
1answer
125 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 ...
3
votes
1answer
115 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} ...
6
votes
1answer
560 views

Triangular commutative diagram

I am using the \xymatrix command this is the code I've written \[\xymatrix{ & A \ar[d]^{i}\\ B \ar@{-->}[ru]^-{\exists \overset{\sim} \varphi}\ar[r]^{\varphi}&C }\] My problem is ...
3
votes
1answer
74 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 ...
4
votes
1answer
325 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 ...
4
votes
1answer
101 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] & ...
2
votes
0answers
324 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 ...
9
votes
3answers
360 views

How to draw a braid of long exact sequences

For example, in page 353 of Ranicki's book Algebraic and geometric surgery, there is a braid of long exact sequences like so: I use xy-pic. Thanks in advance!
0
votes
0answers
145 views

Make a 2cell diagram more beautiful (or less ugly)

I want to draw a two-cell diagram using xypic, the problem is that the bigone label is to long, how can I make the following diagram: looks like this one: using exclusively the two-cell feature ...
2
votes
3answers
185 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 ...
3
votes
1answer
102 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 ...
1
vote
1answer
82 views

Issue with sliding a label in xypic using LyX

I want to slide a label so I use the tex code \xymatrix{A\ar^(.25){f}[r] & B} Using directly this code as latex in LyX works, but I want to do the same thing in equations environment in LyX, ...
5
votes
1answer
97 views

Bad interaction between babel and xypic?

I'm writing an elaborate in Italian, and I'm using XY-pic to draw some diagrams. Unfortunately it seems that babel is interacting with XY-pic, making it impossible to group elements. Here is a MWE: ...
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
1answer
57 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:
6
votes
2answers
219 views

Problem plotting hasse diagram with xypic

I need to plot the following hasse diagrams: 1) 2) I tried using xypic. For the first I worte the following code \xymatrix{ &{G}\ar@{-}[dr]\ar@{-}[dl] \\ {\mathbb{Z}_p}\ar@{-}[dr] & ...
1
vote
1answer
163 views

Label the source/target object in the middle of compositemaps from 2cell package of xy?

In the 2cell package for xy, there is a command for typesetting 2cells between composite arrows, namely \..compositearrow (where the .. stands for some number of u,l,d,r). I would like to use this ...
2
votes
1answer
164 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 ...
5
votes
1answer
224 views

Qcircuit: How to insert a vertical dashed line in a circuit?

I want to insert vertical dashed lines between parts of the following circuit to make some comments: \documentclass{amsart} \usepackage[matrix,frame,arrow]{xy} \input{Qcircuit} \vfuzz2pt % Don't ...
10
votes
3answers
312 views

Vertical cofibration arrow in xypic

I want to use xypic to make diagrams using vertical cofibration arrows, i.e. ones that look like $\rightarrowtail$. Naively using \ar@{>->} gives an arrow whose tail overlaps with the ...
2
votes
1answer
132 views

How can I align entries in the column?

I have drawn the following picture in xypic and I would like to align in the right column the Hom term in the first row as well as direct product guys in the 2nd and 3rd rows exactly together. How ...
5
votes
2answers
437 views

Problem bending arrows in xypic

I'm having an annoying problem bending an arrow with xypic. I read the part 2.8 of the manual (http://www-bcf.usc.edu/~cautis/tools/xypic.pdf‎) about bending arrows, but could not understand it. ...
6
votes
1answer
194 views

TeX figure to .png

Let me begin with a confession: when someone says ``command line'' I nearly pee because I get so scared. I know that means I'm asking my question to the wrong community, and yes, I'm seeing someone ...
6
votes
2answers
147 views

Punctuation after multiline math diagram

How to place the punctuation after multiline math diagram at the last line rather than the first line as the case showed in my following code. \documentclass{article} \usepackage[utf8]{inputenc} ...
3
votes
2answers
84 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} ...
5
votes
1answer
825 views

Using xypic to draw a Hasse diagram

I'd like to use xypic to draw a Hasse diagram similar to this one: which was generated with the following code: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ s_{2,0} ...
2
votes
3answers
326 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} ...
1
vote
2answers
125 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 ...
3
votes
2answers
271 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] ...
5
votes
1answer
197 views

XyPic xymatrix not showing arrow labels with TeX Live-2012

Recently I have upgraded my TeX installation to TeX Live-2012 from TeX Live-2009. Now \xymatrix is misbehaving. The behavior affects both Mac OS X and Ubuntu Linux 12.04 installations. For example, ...
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 ...
1
vote
2answers
508 views

Use \label and cross-references in xymatrix

Whenever I am trying to use \caption, \label and cross-references in xymatrix, it is not working. An MWE : \documentclass{book} \usepackage[a4paper,margin=.45in]{geometry} \usepackage{xypic} ...
9
votes
3answers
363 views

Which package should I use for doing a connecting homomorphism diagram like this in latex

which package should I use for doing a diagram like this in latex:
6
votes
6answers
530 views

Representing Hasse diagram of the Green order

I need to represent graphs like the one below using xypics. They arise as the Hasse diagram of the Green order of finite semigroups (specifically finite Left Regular Bands) with the homomorphism to ...
3
votes
1answer
164 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
191 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. ...
0
votes
1answer
191 views

Missing number treated as zero [closed]

I am getting Missing number treated as zero error when I type the following code in my document. But when I wrote it in a new document, everything seems OK. $\xymatrix{ A \ar[d] \ar[dr] \ar[r] & ...
4
votes
1answer
61 views

XyPic does not accept targets

I am trying to typeset an arrow between the middle points of two other arrows. I thought the more canonical choice would have been to give a target to the labels of the two arrows and then draw an ...
0
votes
1answer
8k views

“\caption outside float” error

I am trying to have a caption in a commutative diagram using the xypic package. But it is not working. I have written the code below: \documentclass[a4paper,12pt]{article} \usepackage{xypic} ...
7
votes
1answer
183 views

Hiding arrow in xymatrix?

I want to enlarge a xy-diagram. Using the \invisible command, I got some strange spacing. That's why I decided to redraw the complete diagram using the \only and the \phantom command. But there is an ...
2
votes
1answer
173 views

How to make a commutative diagram smooth?

I have drawn the following diagram: using the following command: \documentclass[11pt,twoside,a4paper]{book} \usepackage[margin=1.5in]{geometry} \usepackage{xypic} \begin{document} \xymatrix{ ...
3
votes
1answer
99 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? ...
6
votes
1answer
707 views

How to draw arrow between two text lines?

I want to draw this figure. Is it possible ? I have written the following code to draw that figure : \documentclass[11pt,twoside,a4paper]{book} \usepackage{xypic,wrapfig} \begin{document} ...
4
votes
1answer
148 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
342 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): ...
7
votes
2answers
142 views

How to join the left end of an arrow with a line?

\documentclass[a4paper,twoside]{article} \usepackage{xypic} \begin{document} \xymatrix{ A\ar@{-} [rr] & & D\ar @{-}[r] & E\\ L\ar @{-}[rrr] & & ...
1
vote
1answer
288 views

How to draw circle using 'xypic ' package?

I have little knowledge about the package xypic. I am stuck with the following problems: I cannot able drow a circle with radius BC, centered at C. I want to draw the five dots on the line. For ...