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

2
votes
1answer
318 views

Dashed /^/ in xy package

I am trying to make the following arc between two objects using the /^/ but I need it to be dashed my matrix is as follow: \xymatrix{ &0\ar@{-->}[r]&0'\ar@{-->}[l]\\ ...
2
votes
2answers
137 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
155 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{ ...
2
votes
1answer
213 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
54 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
317 views

Use special objects of xy-pic with beamer

When I try to use the general format for labels (cf. xyguide, §2.2) together with beamer overlays, the part that should show up later isn't formatted properly. I guess, beamer doesn't convert the * ...
2
votes
1answer
170 views

Larger arrows in xy

I'm trying to make a poster, and have managed to enlarge math symbols in XY for my diagrams, but the arrows are too thin and unless you're right up against the poster, the arrow heads are almost ...
2
votes
1answer
213 views

Distributive arrows in xypic

I am trying to draw "distributive arrows" in xypic, but I can't make it look nice. Here is a MWE: \xymatrix{a\ar @/^1.4pc/[r] \ar @/^1.4pc/[rrr] &( b &+& c)} Does anyone know how to ...
2
votes
1answer
34 views

Adding labels to xypic

How would I add labels to the following xypic? \xymatrix{ 1 \ar@<-.5ex>[r] \ar@<.5ex>[r] & 2. } I would like to add a \alpha_1 above the top arrow and a \alpha_2 below the bottom ...
2
votes
1answer
46 views

XY matrix tampering with footnote counter

Typesetting the following MWE: \documentclass[a4paper]{report} \usepackage[all]{xy} \usepackage{mathtools} \begin{document} \arabic{footnote} ...
2
votes
1answer
89 views

xymatrix using lyx

I'm trying to draw in LyX, using XYmatrix. I'm using it with the Ctrl+shift+M command, and then using the \xymatrix to start "drawing" what i want. I'm having a problem doint a "hookrightarrow" ...
2
votes
1answer
118 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 ...
2
votes
1answer
520 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} ...
2
votes
1answer
505 views

Circling/Framing part of one entry in xymatrix

I want to circle ONLY part of an entry in xymatrix, I have skimmed through several references for xypic but only able to find how I can frame the whole entry (e.g. the one in first and third row in ...
2
votes
1answer
235 views

How can I make an arrow returning to same entry in xymatrix?

I'm trying to make a diagram with arrows returning to the same entry using xymatrix. The following example works perfectly fine. \[ \xymatrix{ V \ar@(dl,ul)[]^{h'} \ar@<0.5ex>[r]^{i} & W ...
2
votes
1answer
282 views

Utterly stumped by xypic \newdir — just combining examples from xyguide!

I want to use arrows whose heads and/or tails can be almost-triangles: roughly, something like A ———▷ B or A ▷——> B.  For the heads, there’s a good solution in xyguide: ...
2
votes
0answers
251 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 ...
2
votes
0answers
158 views

Example of the use of :: in XY-pic [closed]

Could someone please provide an example of the use of ::, using sample code and coordinates and showing step-by step the changed content of p, c, origin, xbase, ybase, and any other pertinent ...
2
votes
0answers
358 views

Nested \xygraph in \xymatrix [closed]

I am nesting an \xygraph in an \xymatrix like so: %\documentclass{article} \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{MnSymbol} \usepackage{chemarr} ...
1
vote
2answers
272 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 ...
1
vote
2answers
384 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} ...
1
vote
1answer
138 views

Is that a bug between `xymatrix`, the `input` command and .sty file?

I have a problem compiling the following document. First, I have a file macros.sty that consists of : \newcommand{\test}{ \xymatrix@R=0mm{x} } Then, I have an auxiliary file out.aux that consists ...
1
vote
1answer
90 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 ...
1
vote
1answer
1k views

Commutative diagram with curved arrows, colour, and changing the style of arrows

I am using xy matrix and I would to curve an arrow over other arrows in a diagram, at the same time as setting some of these curved arrows to equal and changing their colour. This is what I have so ...
1
vote
1answer
527 views

Draw a box around each element of the xy-pic

How could I draw lines (like those in a tabular environment drawn by \hline and |c|c|c| in the following code? \resizebox{\textwidth}{!}{ \xymatrix{ x_0 \ar[dr] & x_1 \ar[d] ...
1
vote
1answer
67 views

Improve inline xymatrix/tikzcd?

When I was typesetting commutative diagrams, I always put my \xymatrix or tikzcd in displaymath: For a long time I believed that this is the only way to do so. However, about last month, I saw ...
1
vote
1answer
54 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 ...
1
vote
1answer
64 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 ...
1
vote
1answer
176 views

Problem with \xymatrix in svjour3 [closed]

I attempt to compile the following \newcommand{\arb}[1]{\ar@<-.15ex>[#1]\ar@<.15ex>[#1]\ar@<-.075ex>[#1]\ar@<.075ex>[#1]\ar[#1]} \[\xymatrix{ & ...
1
vote
1answer
141 views

Error messages with diagonal arrows [closed]

When I copy and paste the corrected code for example in this question, I get the following error message: xymatrix 2x2 ! Missing number, treated as zero. to be read again \/ ...
1
vote
1answer
1k views

“Preamble” menu item does not appear in LyX

I'm trying to use xy-pic in LyX to create diagrams and using this tutorial. It says on page 3 to go Layout->Document->Preamble to enable the xy-pic package. However, there is no "Layout" menu on my ...
1
vote
1answer
276 views

xypic: how to create an arrow between two arrows that do not share a common target and/or source

I've created the following diagram by using invisible arrows, I wonder if there is another solution without using them. \documentclass{article} \usepackage[all]{xy} \newdir{:=}{{}} %creates an empty ...
1
vote
1answer
428 views

Changing color of \dir in xypic

I'm trying to use \dir to draw custom frames in an XYpic drawing, but have been unable to figure out how to change the color of the line drawn by each command. For instance, to draw a triangle frame, ...
1
vote
3answers
735 views

Unequally spaced columns in XYpic

I often need to create a diagram in XYpic where the distance between the columns varies. This is usually when one has a map to some object X where the definition of X is in the diagram itself, like ...
1
vote
1answer
71 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, ...
1
vote
1answer
125 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 ...
1
vote
1answer
263 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
vote
1answer
111 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 } \] ...
1
vote
1answer
324 views

How to make self-refering arrow with xydigram in a box

I'm trying to make a nice state diagram with some arrows I cannot find a way to make the arrows pointing to the same state: in my case, I would like a self-refering arrow to altcache I'm not fixed ...
1
vote
1answer
796 views

Diagram draw with xy package looks wrong

I'm trying out the xy package and have compiled one of the examples on this website: http://en.wikibooks.org/wiki/LaTeX/Creating_Graphics#Xy-pic \begin{displaymath} \xymatrix{ A \ar[d] ...
1
vote
1answer
28 views

Error: LaTeX Xy-pic error: <turn> cannot be half or full… What does it mean?

I'm attempting to use xy to make an arrow bend a specific way. When I try it, this error pops up: LaTeX Xy-pic error: < turn > cannot be half or full. What does this mean? For more context, ...
1
vote
0answers
60 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 ...
1
vote
0answers
224 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?
1
vote
0answers
270 views

Using \usepackage[all]{xy} and \xymatrix{} the arrowheads are not printing or viewing correctly [closed]

When I use \usepackage[all]{xy} and \xymatrix{} the arrowheads are not printing or viewing correctly. I have typeset for years and this problem only popped up when I changed operating systems a few ...
1
vote
0answers
327 views

Using xypic in Texmacs. [closed]

Question: When I try to "start up" the xypic interactive thing in texmacs, it just writes "Busy..." and never evaluates anything I put in. What am I doing wrong? Motivation: I just started to use ...
0
votes
1answer
337 views

Adding labels to graph in xy package

I'm using xy package to draw a simple graph representation. How can I add the labels to the egdes? Here is the code I've produced so far: \xygraph{ ...
0
votes
1answer
6k 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} ...
0
votes
1answer
101 views

XY-Pic: Make fractions appear as in displayed math

When writing diagrams with XY-Pic, fractions appear as if they were math enclosed in $$. Example: \documentclass{minimal} \usepackage{xy} \begin{document} \begin{xy} (0,0)*{\frac{d_1}{d_2}}; ...
0
votes
1answer
135 views

Xypic not rendering edges

First off, I'm rather new to LaTeX and use it in a limited fashion (typing up notes + problem sets for my math classes). As such I'd like to apologize in advance for not knowing the correct ...
0
votes
1answer
68 views

Centering a xy matrix inside beamer frame and figure

In the following beamer frame, I want the description text to stay top-left, while the xymatrix-figure should be centered. However, whatever I tried with \centering, \begin{center} and other online ...