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

8
votes
2answers
757 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
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 ...
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?
6
votes
2answers
376 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
204 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
471 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
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 ...
2
votes
1answer
747 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
235 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] ...
1
vote
1answer
223 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{ & ...
8
votes
5answers
706 views

Convenient way of typesetting boxes with multiple input and output wires?

I want to typeset diagrams describing functions which take multiple inputs and return multiple outputs. These should look like boxes with labels in them like "f" or "g" and with some input wires ...
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 \/ ...
11
votes
1answer
218 views

Using etoolbox to automatically generate input for \xymatrix

I'd like to make a command \exactseq such that, for example, \exactseq{A,f,B,g,C} corresponds to \xymatrix{A \ar[r]^{f} & B \ar[r]^{g} & C} and such that this works for inputs of ...
2
votes
1answer
468 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 * ...
4
votes
1answer
1k views

Label positioning in XY-matrix

As denoted in XY-pic's user guide, "Each label is placed perpendicular to the arrow at the point halfway between the centers of the base and target objects." In order to center the label at the middle ...
4
votes
1answer
555 views

xypic, xymatrix, aligning entries in a column

I am working with the following code: \documentclass[12pt,letterpaper]{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix { & A \ar[dd]_{\pi_A} ...
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 ...
3
votes
2answers
685 views

Changing length of an arrows from a vertex to itself

I'm working with LyX. I would like to change the length of an arrow from a vertex to itself. I would like to make the arrow stretch longer up before returning down to the encircled vertex. The code I ...
4
votes
2answers
446 views

How to shift arrow in diagram

I need to shift this diagonal arrow (in bottom box) down. \xymatrix@R.8pc@C.8pc{ \bullet \ar[rrr]^{i'^{!}} \ar[ddd]_{Th(\Omega_{f'})} &&& \bullet \ar[ddd]^{Th(\Omega_{f})} \\ ...
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 ...
6
votes
1answer
423 views

Matrices as labels in xymatrix

How can I use a matrix as label in the xymatrix environment? I tried to nest matrices (naively) but it seems to be rather complicated. \xymatrix{ A \ar[r]^{\xymatrix{f \\ g}} & B }
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 ...
3
votes
1answer
971 views

Adjust spacing between specific rows with \xymatrix

I have the following diagram: \[ \xymatrix @!=1pc { & Z \ar@{.>}[d]^{\exists!h} \ar@/_1.2pc/[ddl]_{p'} \ar@/^1.2pc/[ddr]^{q'} & \\ & X \times_S Y \ar[dl]_p\ar[dr]^q & \\ X ...
6
votes
1answer
353 views

How does one typeset a pretty, squiggly arrow in xymatrix

I am LaTeX-ing some diagrams in rewriting theory where the rules are modulo a set of equations. Canonically, a ~-like symbol is used to denote equivalence. I have been using \ar@{~}. Here is an ...
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 ...
0
votes
0answers
52 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} ...
6
votes
1answer
285 views

Cannot draw diagram

I'm trying to draw a diagram but I get the following error message: ! Xy-pic error: in entry "1,1": No [ld] (is "2,0") from here. The code is: \xymatrix{A\times B \ar[ld]_p \ar[rd]_q\\ ...
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} ...
3
votes
1answer
135 views

Errors when trying to draw a commutative diagram using an xymatrix

Why is the following code not compiling? \[ \xymatrix{ A \ar[rd]^{g \circ f} \ar[r]^f & B \ar[d]^g\\ C} \] I'm trying to get a commutative diagram with 3 objects (A, B and C) ...
0
votes
0answers
83 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 ...
9
votes
2answers
1k views

Can't draw a commutative diagram

I'm trying to draw a commutative diagram using xymatrix: $\xymatrix{ S \ar@[ld]^{\pi_{i}} \ar@[rd]^{\pi_{j}}\\ R_{i} \ar[r]_{\mu_{ji}} & R_{j} }$ without any luck. Any idea? EDIT: I'm trying ...
5
votes
1answer
320 views

a couple of questions on xy-pic

I used xy-pic to typeset the following (long exact sequence) \[ \xymatrix@1{ \cdots \ \ar[r] & \widetilde{H}_n(A) \ar[r]^{i_*} & \widetilde{H}_n(X) \ar[r]^{j_*} & \widetilde{H}_n(X/A) ...
1
vote
1answer
452 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 ...
4
votes
1answer
343 views

Automatically scale an XY-Matrix in the Index of a math symbol

Consider the following code: \documentclass[a4paper,12pt]{article} \usepackage[all,2cell]{xy} \UseAllTwocells \newcommand{\partinto}[3][]{% \xymatrix@C=.85em@1{% *+{#2\,} ...
4
votes
1answer
379 views

Problem using twocell in xypic

I tried using the \rtwocell command to produce twocells in a commutative diagram and my LaTeX installation (TeX Live on a Mac) does not recognize it. It seems to recognize everything else I have ...
2
votes
1answer
711 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 ...
3
votes
1answer
552 views

Curved arrow in xymatrix going over text

In some notes I took in a lecture, where I was using xymatrix to do the commutative diagrams, I found that a curved arrow beneath the diagram actually crossed over some text. (Ideally, the text should ...
5
votes
1answer
290 views

How to center twocell arrows

I'm using 2cell (as in this previous question of mine: Natural transformation arrow ). I'd like to know how to center not just the twocell double arrow, but arrow with its name too. A picture is ...
4
votes
1answer
165 views

How can I move the arrow inside the commutative diagram into the centre?

I have the following diagram: \documentclass{article} \usepackage[all]{xy} \begin{document} \xymatrix@R.8pc@C.8pc{ F(Y) \ar[rr]^{E_{Y}} \ar[dd]_{F(f)} && F(Y) \ar[dd]^{F(f)} \\ & ...
3
votes
1answer
758 views

moving label of arrow

How can I shift the F_{2}(f') label so that it isn't touching the arrow? \usepackage[all]{xy} \SelectTips{xy}{12} \[ \xymatrix{ A \ar@{<->}[rrrr]^{F_{1}(h' \circ g')} ...
6
votes
1answer
598 views

Short diagonal arrows inside commutative diagram

I need to use the xy maths package (because I need to make it into a PNG file for Wordpress and mathurl.com accepts the xy template) to make a commutative diagram in which there are diagonal 4 shorter ...
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}}; ...
2
votes
1answer
201 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
237 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 ...
1
vote
1answer
372 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 ...
4
votes
1answer
427 views

xypic: curved invisible arrows

I want to create two invisible arrows so I can link between them, the problem is that when I try the make these arrows curved they become no longer invisible? Here is a sample document: ...
5
votes
1answer
378 views

relation symbols as arrows in xymatrix

Is there a way to put a relation symbol (appropriately oriented) as the arrow in an xymatrix diagram? For example, a lattice of sets with the subset relation symbol pointing from the subset to the ...
3
votes
2answers
377 views

How to join arrows within xymatrix?

I use xymatrix (\usepackage[all]{xy}) in order to create the following picture: \[ \xymatrix{A \ar@{-}[d] & B \\ \ar[r] & C} \] Is there any possibility to join the lines?
3
votes
2answers
554 views

xypic: Text inside square

I have a very basic square: \xymatrix{ A \ar[r] \ar[d] & B \ar[d] \\ C \ar[r] & D } What is the easiest way to place the text "hi" in the center of the square?
2
votes
1answer
170 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 ...