{xy-pic} is a package for typesetting graphs and diagrams using the principle of "logical composition of visual components."
0
votes
1answer
190 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
0answers
62 views
Compile Errors While Using XYMATRIX in Lyx 2.0.4 [closed]
While trying to write \ar@{.>}[r] in my Lyx 2.0.4, the software gives me a
"Latex error":
"Xy-pic error: Illegal ation (macro:-> \x@protect {\protect {). "
What should I do in order to ...
1
vote
0answers
108 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
164 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
117 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 ...
0
votes
0answers
113 views
Is there any probability that PGFplots/TikZ interferes with the xymatrix (xy package)? [closed]
That's the question. In case the answer is true I'll post my problem (full with all the latex, etc.).
The main problem is that if I use externalize from TikZ / PGFplots, pdflatex shows me a problem ...
6
votes
1answer
174 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
118 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 ...
1
vote
0answers
99 views
Thickness of frames in xymatrix (for a beamer presentation)
I have an xymatrix that looks like this:
xymatrix{
A & B & C & D \\
& A & B & C }
I would like to put a red frame around the second column. I've been able to accomplish ...
2
votes
1answer
96 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 ...
0
votes
0answers
59 views
xy-pic trouble with svjour3 [closed]
I'm attempting to compile in svjour3 a tex file which compiles without any trouble in article. However, my \xymatrix code block doesn't compile properly in svjour3, and I get the error
...
5
votes
1answer
106 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
91 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
373 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 ...
0
votes
1answer
101 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
170 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
146 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
0answers
274 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 ...
3
votes
1answer
176 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
127 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
2answers
294 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 ...
3
votes
1answer
141 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
346 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
136 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
261 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
250 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
185 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
203 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
81 views
Linecolor and linewidht of xy-pic's \frm [closed]
I'm trying to draw a frame using xy-pic and give that frame a different line width and color.
The situation looks exactly like this:
\xy
(0,0)*++={};(90, 28)*++={} **\frm<8pt>{-}
\endxy
I ...
0
votes
0answers
48 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
183 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
245 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
98 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
80 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
646 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
137 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
182 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
163 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
189 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
215 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
270 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
158 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
108 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)} \\
& ...
2
votes
1answer
182 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
349 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
89 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}};
...
1
vote
1answer
120 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
186 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
167 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
244 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:
...
