Questions tagged [xy-pic]

{xy-pic} is a package for typesetting graphs and {commutative-diagrams} using the principle of "logical composition of visual components."

Filter by
Sorted by
Tagged with
4
votes
1answer
162 views

Joining arrows in xy

I am trying to create a control system block diagram in xymatrix, I have 99% done it, but I can't get the feedback loop arrow to join on to the output from the main system as shown below: \...
0
votes
2answers
740 views

draw diagrams with \xymatrix

I'm using \xymatrix to draw a diagram and I need some of the arrows to be named with a matrix over it. To draw the matrices over arrows, I'm using the \arrow command but, unfortunately, it puts very ...
1
vote
1answer
100 views

How to change the arrows tips for the whole document?

After I asked this question: What is "\SelectTips{a}{b}" (and how to increase the head of an arrow's head?) I'd like to know one more thing: I want to change it (the arrow tips) for the ...
2
votes
1answer
217 views

How to make longer arrows from object to itself at xy-pic

I trying to control on the length of arrow from object to itself at xymatrix (xy-pic): for example - This is what I get when I'm typing *+++[o][F.]{a}\ar@(d,r) And this is what I get when I ...
2
votes
1answer
203 views

What is “\SelectTips{a}{b}” (and how to increase the head of an arrow's head?)

At is \SelectTips{a}{b} and is the meaning of {a} and {b}? I know that the first one changing the type of the arrow, but what is the second one? The value there can be only 10,11,12.... And if I can ...
2
votes
2answers
581 views

Drawing trees with xymatrix

I would like to draw trees using xymatrix, however using for example \xymatrix{\ar@{-}[dr] & & \ar@{-}[dl]\\ & \ar@{-}[d] & \\ & & } returns the image My problem with this ...
3
votes
2answers
1k views

vertical $\cong$ or $\sym$ in xymatrix

I need to show that a certain vertical arrow in a commutative diagram is an isomorphism. I would like to either add a $\sim$ next to the vertical line, rotated 90 degrees, or replace the arrow with a ...
1
vote
1answer
140 views

Square parentheses in diagxy

I am having problems with the diagxy package. Namely, texmaker does not want to compile the following code \begin{document} \[ \bfig \Square(600,0)[[\Delta,\ y\of A[f/\bar{x}]] `[\Gamma,\ x\of A]`\...
2
votes
1answer
111 views

misdirected xymatrix arrow heads with certain fonts

I'd like to use $\mathsf{C}$ rather than $\mathcal{C}$ for categories. However, when I use the former in the first displayed equation, the top arrowhead (the arrow labelled L) points northwest, rather ...
2
votes
2answers
186 views

Typesetting the Middle Four Interchange Law

I would like to typeset the middle four interchange law of 2-categories. In xypic, I managed to typeset the following repulsive thing: Here's the code: \xymatrix { \text{Middle} & \text{Four} &...
4
votes
3answers
199 views

Putting a hole at the right position (xypics)

I need some help to put a hole at the right position please. Here is the diagram: \xymatrix { \{\iota\} \sqcup A^0 \ar@{->}[rddd]\ar@{->}[dd]_-{\bigsqcup\limits_{\alpha\in A^0} g_\alpha} \ar@{-...
1
vote
2answers
340 views

How can I draw this triangle?

I want to draw a a following triangle. What is the simplest way to draw a following triangle?
2
votes
2answers
113 views

Rotatable triangular arrowheads in xy-pic

I want an answer to Triangular arrow head in xypic that plays nicely with directions other than r, rr, rrr, etc. Consider the following code: \documentclass{book} \usepackage{amssymb} \usepackage[...
1
vote
2answers
206 views

Squiggly arrow in xypic giving error in LyX

I am trying to compile \xymatrix{A\ar@{\sim>}[r] & B} in LyX and I get the following error message: How can I fix this? The code compiles in ERT, just not in the native xypic mathmode. Here ...
6
votes
3answers
242 views

Problems with special arrow shaft in xypic

I'm trying to draw a diagram my teacher drew on the blackboard to summarize divisibility relationships and I just can't get it right. Here is my best attempt: \documentclass[a4paper]{report} \...
2
votes
1answer
535 views

Arrow tip for curved arrow in xymatrix

Inserting () in A on diagram #3 corrects the arrow tip at C. But replacing C by a fraction, the problem comes back. MWE \documentclass[11pt,a5paper]{report} \usepackage[all]{xy} \SelectTips{cm}{11} ...
1
vote
0answers
109 views

arrow in a diagram [closed]

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 \\ a\ar[rd]^{\quad\circlearrowright}\ar[...
2
votes
0answers
120 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> &...
4
votes
2answers
349 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
145 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
862 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
175 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
258 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} \usepackage[...
3
votes
3answers
275 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
778 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] \ar[ur]...
1
vote
2answers
199 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; /r1.0pc/ :...
3
votes
2answers
100 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
2k 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 R^k\...
1
vote
2answers
275 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 ...
2
votes
1answer
279 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!
4
votes
0answers
346 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} \usepackage{...
0
votes
1answer
300 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 ...
4
votes
1answer
167 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 ...
3
votes
2answers
304 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
261 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] & \\ & & ...
8
votes
2answers
467 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. ...
4
votes
1answer
221 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} \usepackage{...
2
votes
1answer
491 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 arrowhead ...
5
votes
1answer
247 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) \...
3
votes
1answer
325 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 ...
0
votes
0answers
22 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
90 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 ...
0
votes
1answer
463 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
2answers
828 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 ...
5
votes
1answer
288 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
3answers
353 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 ...
2
votes
1answer
140 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 ...
2
votes
1answer
165 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} ...
6
votes
1answer
3k 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? ...
3
votes
2answers
89 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 ...