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

arrow in a diagram

in the following code that encodes a diagram: \xymatrix{a\ar[rr]^{\varphi\qquad}&\ar@{^{(}->}[d]&b\ar@{=}[r]&a\ar[rr]^\varphi&\ar[dd]&b \\ ...
2
votes
0answers
42 views

Xy-pic: Draw a partial circle segment with the command \cir

I can't figure out if is it possible or not to draw a partial circle segment between to arbitrary direction, with the command \cir? The manual says: *\cir<radius>{<diag> <orient> ...
3
votes
2answers
74 views

Bending arrow in XY-Pic diagram

In the diagram with bending arrow given by the LaTeX file below, the arrow has a misdirected head. How can I correct it? \documentclass[a4paper,11pt]{amsart} \usepackage[all]{xy} \begin{document} \[ ...
2
votes
1answer
63 views

How to draw a diagram with the given semantic?

I need to draw a diagram similar to the following: The task is to draw a diagram with this semantics, not necessarily the same appearance. Note that in the above diagram $\sqsupseteq$ denotes a ...
4
votes
2answers
129 views

Dotted and bent xy matrix arrow has non-dotted turns

I have this diagram I'm doing with xypic, and I want to make bent arrows going from the top to the bottom of the diagram. So I re-learn the syntax for bending around entries. THen I decide I want ...
2
votes
1answer
43 views

Quiver representation shorthand

Consider the quiver \xymatrix{ 1 \ar[r] &2 \ar[r] &3 \ar[r] &4}. The projective representation P(1) is \xymatrix{ k \ar[r] &k \ar[r] &k \ar[r] &k}. I would like to use the ...
5
votes
2answers
68 views

xypic error at macro @!

Here is an example of the problem I encounter with xypic \documentclass[10pt,a4paper,french,oneside]{amsbook} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[applemac]{inputenc} ...
3
votes
1answer
79 views

How to transpose or mirror xymatrix?

I know that it is possible to rotate \xymatrix (using e.g. \xymatrix@d) but how to transpose or mirror it?
3
votes
3answers
65 views

commutative diagram without arrow code

I am new to LaTeX. It will be helpful if someone gives me a simple LaTeX code for the following diagram The problem here is: I know the code for commuting diagrams like this only when there is the ...
3
votes
3answers
149 views

a commutative diagram compatible with group actions

I'm trying to draw the following commutative diagram using xymatrix: \documentclass{article} \usepackage[all]{xy} \begin{document} $\xymatrix{A \ar[rr] & & B \\ & C \ar[ul] ...
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 ...
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
2answers
122 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; ...
3
votes
2answers
72 views

How to draw double stranded crossing using XYpic

I want to draw this double stranded crossing of a knot with xypic. How do I do this? Any help is much appreciated.
3
votes
1answer
170 views

Loop arrow in xypic

I am trying to get a loop arrow in an xypic diagram, and I just can't. For now, I have the following: \[\xymatrix{ p^{-1}(U_{\alpha})\ar[rr]^-{\tau_{\alpha}} & & U_{\alpha}\times\mathbb ...
2
votes
1answer
51 views

Complicated 2-cell diagrams

I would very much like to typeset the diagrams below, but I am absolutely unable to understand how to do this from any of the xypic guides. Help and examples greatly appreciated!
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 ...
3
votes
1answer
58 views

Moving a subscript in Xy-pic

To obtain a larger version of \nrightarrow (LaTeX, Package amssymb), I typed $\xymatrix{A\ar@<-1.5ex>@{}[r]^{/}\ar[r]&B}$ Is there a simpler way to obtain the same result, i.e. is it ...
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 ...
2
votes
1answer
75 views

Triangular arrow head in xypic

Let us consider the following example: \documentclass{book} \usepackage[all]{xy} \begin{document} $\xymatrix{A\ar[rr] && B}$ \end{document} This produces but I want the following ...
3
votes
0answers
116 views

Change of arrow head in $\xymatrix{} [closed]

Let us consider the following example : $A\xrightarrow{\quad } B$ This gives But in the following way we can change arrow head \documentclass[fleqn,12pt,a4paper]{article} ...
5
votes
1answer
91 views

Xy curves not obeying round frames

I am trying to draw the Frucht graph in with Xy-pic, using the polygon extension. The natural way to make curved inside edges ("origin" ; "destination" **\crv{"center"}) doesn't quite reach the ...
4
votes
2answers
174 views

xypic: 2-Cell Triangle Identities

I would like to typeset, using xypic, the triangle identities from the definition of adjoint functors in category theory. My problem is with creating the double arrow connecting the hypotenuse and the ...
3
votes
2answers
218 views

Does anyone have ideas on how to make this commutative diagram look nicer

Hi I am trying to draw a long exact sequence and importantly with the terms appearing in threes. Unfortunately what comes out looks awful, does anyone have any ideas of how to make it look nicer? ...
4
votes
1answer
54 views

xypic bending arrows whith non-default shafts

I have troubles trying to bend double arrows in XYpic. Here is my code at the moment: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{ \ar@2 `r[r] [dr] & \\ & & ...
5
votes
2answers
119 views

How to position hole in an arrow in xypic

trying to draw a 3D commutative diagram here and getting really stuck trying to get the hole in one of the arrows in the right place, you should see which one I mean as there is only one crossover. ...
8
votes
2answers
760 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.
3
votes
1answer
59 views

Bending arrows the right way in xypic

I have a problem typesetting a diagram. The problematic part is this: \documentclass{article} \usepackage[all]{xy} \begin{document} \[ \xymatrix{% && C \\ & B \ar[ru] & \\ A ...
5
votes
1answer
74 views

Xypic Diagram with MnSymbol Arrows

When I use the MnSymbol package, I get the usual short arrows, but this is not the case for xypic diagrams. Having the following packages \usepackage{xypic} \usepackage[all,cmtip]{xy} ...
3
votes
1answer
35 views

Using xypic, why are the symbols not sitting nicely above the arrows?

I'm trying to use xy-pic to do commutative diagrams but the symbols above my arrows keep coming up in the wrong places! Can anyone see what I am doing wrong? Many thanks. \[ \xymatrix{\Gamma(\xi) ...
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 ...
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 ...
3
votes
1answer
209 views

Pyramid Commutative Diagram for Cones

In the second edition of Awodey's Category Theory he suggests visualizing a cone as a many sided pyramid. I'd much like to make the proper commutative diagrams, but I don't know how to make a many ...
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 ...
4
votes
1answer
137 views

How to draw this diagram

Please help me to draw the following diagram: \begin{displaymath} \xymatrix{ H\ar[r]&H .1={}_HI_Q\supset 1.Q&Q\ar[l]_\epsilon^{\cong} \\ &R\ar[u]\ar[r]&R\ar[u] } \end{displaymath} ...
3
votes
2answers
100 views

xypic: Pasting Diagrams in LyX

I haven't been able to find detailed instructions on how to use \compositemap from the 2cell feature of xypic, and I want to make (relatively simple) pasting diagrams. In particular, I want to typeset ...
1
vote
1answer
251 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? ...
2
votes
1answer
50 views

Breqn and xypic

\documentclass[a4paper,12pt]{scrbook} \usepackage[all,cmtip]{xy} \usepackage{breqn} \begin{document} \begin{displaymath} \xymatrix{ A \ar[r]^f & B } \end{displaymath} \end{document} ...
3
votes
2answers
41 views

random marks in graph using xy-pic

I used xy-pic to draw a graphical model, but strangely enough when I run it, the circle in the downleft corner is always marked with some random marks. It seems to mark the middle of the circle. Does ...
2
votes
1answer
112 views

How do I put color on frame at \xymatrix?

I'm writing *++[o][F-,]{3} at \xymatrix for example. How can I make that the 3 will be green and the frame at red? And one more Q please: How can I make the *++[o][F-,]{3} that will be more dark? ...
3
votes
2answers
355 views

Please help me to draw this diagram in LaTeX

Please help me to draw this diagram in LaTeX
2
votes
2answers
79 views

xypic: \varprojlim and \varinjlim not working

LyX refuses to compile any xymatrix containing \varprojlim $\varprojlim$ and \varinjlim $\varinjlim$. (How) Can this be fixed? Edit: Here's an example of non-working code. % Preview source code %% ...
4
votes
1answer
179 views

Loops of different sizes

In xy-pic we can draw a loop in this way: \documentclass[12pt,letter]{report} \usepackage[all]{xy} \begin{document} $$\xymatrix{a\ar@(dr,ur)}$$ \end{\document} My question is how to draw a bigger ...
2
votes
2answers
49 views

arrows with xy package

I am trying, using the xy package, to make an arrow of the form {>->} with orientation "up-right" via $\xymatrix@1{\ar@{>->}[ur]& }$, but it is not operating. Would you please help me? ...
2
votes
2answers
853 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} ...
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
4answers
915 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 ...
2
votes
3answers
234 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 ...
7
votes
2answers
2k views

Commutative Diagrams

Can anyone help me in giving commands for commutative diagrams in LaTeX ? It doesn't seem to appear properly in the LaTeX guides that I have. A command for a simple triangular diagram with arrows ...
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} ...