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

1
vote
2answers
298 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
295 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
446 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
105 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
151 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
144 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] & ...
3
votes
1answer
56 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
4k 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
145 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
138 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
91 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
512 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} ...
2
votes
0answers
102 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
201 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
125 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
233 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 ...
-1
votes
1answer
136 views

How to cut a horizontal line by a perpendicular line?

I'd like to cut the line AC at the point p by a perpendicular line. \documentclass{article} \usepackage{xypic} \begin{document} \xymatrix{ & B\ar @{-}[d] &\\ A\ar @{-}[rr]_{P} & & C ...
2
votes
1answer
388 views

How to decrease 1cm arrow length in commutative diagram on the base?

\documentclass{article} \usepackage{xypic} \begin{document} $\xymatrix{ & Y\ar[ldd]_{\psi_{i}}\ar[rdd]^{\psi_{j}}\ar[d]^{h} & \\ & S \ar[ld]^{\pi_{i}} \ar[rd]_{\pi_{j}} & \\ R_{i} ...
1
vote
1answer
96 views

change tag position in amsmath and xy-package

I use the amsmath-package and xy. Now I have a formulae like this \[ \label{eq-name} \tag{$\ast$} \xymatrix{ & A & B & C \\ D & & E & & F \\ & G & & H } \] ...
3
votes
1answer
144 views

Overlapping columns in xymatrix

I have the following diagram: \documentclass{article} \usepackage{xypic,amsmath} \DeclareMathOperator{\coker}{coker} \DeclareMathOperator{\im}{im} \newcommand{\subU}[1]{\left.#1\right|_U} ...
3
votes
1answer
141 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
523 views

Shorten or extend xypic arrows

In an xypic or xymatrix diagram, is it possible to specify that an arrow should only cover part of the distance it normally would? In other words, for an arrow \xymatrix{ A \ar[r] & B }, or ...
2
votes
1answer
174 views

xymatrix: How to change the position of a vertex?

I have the following simple diagram: \[ \xymatrix{ A \ar[r]\ar[d] & B\ar[d] \\ C \ar[r] & Dxxx = Exxx = Fxxx} \] which will be typeset so that B will have a down arrow, possibly ...
2
votes
1answer
46 views

xypic: is it possible to change the slope of an arrow?

In this diagram, I want arrows from \Delta X~ in the middle of the 2nd row goes to both N\Delta X and (Delta X)~/D\Delta X, how do I do that? (making columns very narrow and draw very fine lattices ...
2
votes
1answer
98 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 ...
3
votes
1answer
169 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 ...
1
vote
1answer
62 views

Question about rotatebox and xy pic [closed]

I have the following question: I have heard that you can use $\xymatrix@1...$, if you want to put diagrams not into a separate line, but into the line you are writing text at the very moment. This ...
3
votes
2answers
305 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?
4
votes
2answers
106 views

How to use 2cell in Lyx?

I'd like to write natural transformation arrows in LyX (2.0.5.1) using 2cell (see this answer). The problem is, LyX seems to include the xy package by default and it's only using the [all] option. I ...
0
votes
1answer
159 views

xypic putting a hole when two arrows cross [duplicate]

I am trying to draw the following figure in trying to typeset the lattice diagram of the semidihedral group or order 16. Here is my tex code. \documentclass[11pt]{amsart} \usepackage[all]{xypic} ...
7
votes
0answers
427 views

TikZ exercises [closed]

I am not sure that this is a right fit for SE, but I will risk it. I was recently acquainting myself with the xy-pic package, and I found the included exercises very helpful in getting up to speed ...
5
votes
1answer
213 views

tikz-cd equivalent to the xy-pic command \ar@{-}

How do I make the diagram X - Y -> Z with tikz-cd? With xy-pic, I would enter \xymatrix{ X \ar@{-}[r] & Y \ar[r] & Z } I tried \begin{tikzcd} X \ar[no head]{r} & Y \ar{r} ...
3
votes
1answer
161 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 ...
2
votes
1answer
128 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.
4
votes
1answer
150 views

Nested xy-pic diagrams

Is it possible to include a xy-pic diagram as an entry of another xy-pic diagram? I have a map to a group of homomorphisms and I would like to print the homomorphism image. Is there some way to do ...
6
votes
2answers
206 views

Help with diagram

I do not have very much experience with the xy-pic package and I always try to figure out things by copying and pasting codes. I am stuck in here: I would like to get an arrow from A to C with an ...
5
votes
1answer
107 views

Changing arrow tips in XYpic to Lucida Bright ones

I am producing a document with Lucida Bright fonts and using xypic to produce diagrams. The thing is the Lucida arrow tips are very different (much prettier!) from the ones in xypic, which amounts to ...
4
votes
1answer
203 views

xymatrix: Arrows badly placed when used with large nodes

I find that using xymatrix with large nodes results in awkwardly placed arrows: MWE: \documentclass{book} \usepackage{xypic} \begin{document} \xymatrix{ \textbf{Natural Numbers} \ar@/_/[r] ...
4
votes
0answers
150 views

Heavy arrow tips for xy-pic

Arrows in xy-pic have narrow heads, but I need heavy tips for my graphs. I tried the following arrow definition, but the tip of the arrow enters into the circle of graph node. \documentclass{report} ...
9
votes
1answer
156 views

Using xy-pic, how do you label an arrow with a curly brace that spans the length of the arrow, and can be offset arbitrary distances?

I'm trying to figure out how to label the arrows with curly braces that span the length of the arrow, and to make it all very pretty. More specifically, I'm trying to make ...
6
votes
2answers
192 views

Wavy arrows in xy-pic

What method should I use, to draw beautiful wavy arrows. So far I tried the following. I use xy-pic package, there I use @{~>} definition for the arrow. The code I've composed is like this: ...
6
votes
1answer
441 views

Bold arrows in xymatrix

How can I produce a bold arrow in the package \xymatrix? I've tried with \ar@{\bf{->}}[r] and similar alternatives without success.
0
votes
1answer
237 views

What files should I prepare to make commutative diagrams in TeX Writer?

I am using an iPad app TeX Writer and would like to draw a commutative diagram. I can use amscd in the app but it is not sufficient for the diagrams I want to draw. To include new package, I need to ...
1
vote
0answers
198 views

Lyx Draw a curve from point A to B using xy-pic [closed]

How can I draw a curve using an xy-pic picture to draw a curve from point A to B?
6
votes
2answers
293 views

Set Braces in XYPic, XYMatrix

I want to add three braces to a xymatrix in a xypic environment. Here's how I got so far. \documentclass[11pt]{article} % use larger type; default would be 10pt \usepackage[all]{xy} \begin{document} ...
3
votes
1answer
161 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 ...
6
votes
1answer
295 views

How to show the “commutate” symbol inside a diagram in LyX?

I am using this code $$ \xymatrix{ z\in\ar@{|->}[d] & \mathbb{C}\ar[r]^{f}\ar[d] & \overline{\mathbb{C}}\\ {}[z]\in & \mathbb{C}/L\ar[ru]_{\hat{f}} } $$ to generate this ...
0
votes
1answer
161 views

Resizing the vertices inside xymatrix

Does anyone know how to resize the names of entries which appear as vertices inside \xymatrix? I have huge commuative cubes with more then 40 inner or outer vertices and when these names become too ...
2
votes
1answer
277 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 ...
5
votes
1answer
169 views

Rotated xymatrix takes up too much space

When I do this... \documentclass{minimal} \usepackage[all]{xy} \begin{document} This text should come directly before the diagram. \[ \xymatrix@ru{ \bullet \ar[rd] \ar[d] \\ \bullet \ar[r] \ar[rd] ...