{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
247 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
290 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
133 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
70 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
843 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
125 views

How does one use math operators in xy-pic?

I am trying to format some large commutative diagrams (using the \xymatrix command) that involve colimits, and I would like to have the indexing information for the colimits appear underneath the word ...
1
vote
1answer
472 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
131 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
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 ...
1
vote
1answer
148 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
131 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
158 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 ...
1
vote
1answer
252 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
399 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
368 views

Moving the position of an arrow in XY-pic

Any arrow in XY-pic is on a line which goes through the CENTER of a box, and points to the CENTER of another one. Is it possible to change SEPARETELY (the problem lies here!) the starting position and ...
1
vote
3answers
653 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
65 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
96 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
231 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
95 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
286 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
738 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
17 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
29 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
196 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
261 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
306 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
315 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
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} ...
0
votes
1answer
96 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
123 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
142 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
158 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
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 ...
0
votes
1answer
160 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
561 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
179 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
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: ...
0
votes
0answers
31 views

Issue with XY-pic

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 ...
0
votes
0answers
113 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 ...
0
votes
0answers
49 views

Cannot draw commutative diagram [duplicate]

Possible Duplicate: Cannot draw diagram My code is: \xymatrix{& C \ar@/_/[ld]_f \ar[d]_{(f,g)} \ar@/^/[rd]^g\\ & A\times B \ar[ld]_p \ar[rd]^q\\ A && B} ...
0
votes
0answers
81 views

XY-pic not sufficiently expressive to draw a simple linked list (data structure)? [duplicate]

Possible Duplicate: How should I draw a singly/double linked list? I am using xypic to draw a linked list. It consists essentially a sequence of chained 2-cell boxes. The problem is how to ...
-1
votes
1answer
134 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 ...