{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
0answers
433 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
173 views

Example of the use of : and/or :: 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
436 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} ...
2
votes
0answers
376 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 ...
1
vote
2answers
353 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
747 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
2answers
121 views

How to draw this using XYpic?

I can't figure out how I can draw this with XYpic. I'm very new to XYpic. I tried the following: \documentclass{article} \usepackage[graph,knot,curve]{xy} \begin{document} $$\xygraph{ !{0; ...
1
vote
1answer
157 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
2answers
159 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
11k 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} ...
1
vote
1answer
401 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{ ...
1
vote
1answer
103 views

box around entries in xymatrix

I would like to reproduce the result of the following code \documentclass[a4paper,11pt]{article} \usepackage{amsmath,amsfonts} \usepackage{xypic} \begin{document} \[\xymatrix{ &&&& ...
1
vote
1answer
2k 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
648 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
4answers
914 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
250 views

hooked arrows with XY-matrix

The naive way to draw an hooked arrow in a diagram with XY-matrix is \ar@{^{(}->}. But it comes out that the hook is bigger respect the one of \hookrightarrow. How can I fix this difference? ...
1
vote
1answer
151 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
96 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
184 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 ...
1
vote
1answer
73 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
224 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
180 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
374 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
505 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
1answer
44 views

Make all arrow lengths the same in xypic

I'm trying to make all arrows in the following diagram look the same length. In beamer, the code is as follows: \documentclass[14pt]{beamer} \usepackage{xypic} \begin{document} \begin{frame}{A ...
1
vote
1answer
70 views

xymatrix upright arrow breaks labeling

When I try to compile the following diagram \xymatrix { A\ar[r]^{g}{\ar[d]_j} & B\ar[d]^{e}\\ X\ar[r]_{f} \ar[ur]^{\tilde g}& Y } the subscripts of the arrow labels are treated as the ...
1
vote
1answer
88 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
196 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
361 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
138 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
454 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
925 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
0answers
19 views

XY-Jax on a website [closed]

I saw examples of XY-Jax, for instance here, and I very much want to have a website in which incorporates it, enabling me to make such diagrams. My question is very basic: What are the steps I need ...
1
vote
1answer
47 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
301 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
292 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 ...
0
votes
1answer
382 views

blowing up the slash on arrows in xy-pic

I have a large diagram of dependencies that I want to put in a math paper. I want some of the arrows to denote implication, and I want crossed-out arrows to denote specific non-implications. Here's ...
0
votes
1answer
108 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
155 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
158 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 ...
0
votes
1answer
223 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] & ...
0
votes
1answer
292 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} ...
0
votes
1answer
283 views

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

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 ...
0
votes
1answer
248 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 ...
0
votes
1answer
858 views

Changing the Label Font Size for xypic Commutative Diagrams

I'm using xymatrix in the xypic package to draw commutative diagrams and I would like for the math in the arrow labels to use the same font size as the math in the rest of the document. Is there an ...
0
votes
1answer
210 views

How can I shift individual cells in XY-pic without shifting the corresponding row/column?

I'd like to create a figure using XY-pic in which one cell actually spans two rows (like \multirow). Should look something like: 1,1 1,3 BIG 2,1 3,3 With arrows from 1,1 and 2,1 to ...
0
votes
0answers
20 views

How to position an xypic diagram within body of text [duplicate]

I have an xypic diagram that I want to have within the body of text (article class). The .tex file looks like this at the relevant place: \section{A Framework} What we have now is a picture that ...
0
votes
0answers
17 views

LaTeX error with xy-pic [duplicate]

When i use the XY pack for LaTeX by adding the following line to my source: \usepackage[all]{xy} i get this error: ! No room for a new \dimen . \ch@ck ...\else \errmessage {No room for a new #3} ...
0
votes
0answers
11 views

How to use xymatrix with a0poster? [duplicate]

I want to make a DIN-A0 poster using the documentclass a0poster. Why can't I draw diagrams in that documentclass? The MWE below crashes and I don't know how to fix that. :( MWE: ...