Questions tagged [xymatrix]

Part of the XY-pic bundle providing macros for drawing commutative diagrams.

See also {xy-pic}. An alternative package for commutative diagrams is {tikz-cd}.

108 questions
3
votes
0 answers

making loops longer with \xymatrix

I am wondering if I can put all the loops on the left side of "u" by changing the length of loops in the following graph. (keep working in \xymatrix) (see the…
3
votes
1 answer

Circling a collection of objects in a tree using xymatrix

This code \documentclass{amsart} \usepackage[all]{xy} \begin{document} \[ \xymatrix@-0.75pc{ \overset{1}{\bullet}& & \overset{2}{\bullet}& & \overset{3}{\bullet}& &\overset{4}{\bullet} & & \overset{5}{\bullet} & &\overset{6}{\bullet} &…
3
votes
1 answer

Error in right diagonal dots in xymatrix

Compiling the following tex lines \documentclass{amsart} \usepackage[all]{xy} \def\rddots#1{\cdot^{\cdot^{\cdot^{#1}}}} \begin{document} \[ \xymatrix@-1.75pc{ \overset{}{\bullet} & & \overset{}{\bullet} & &\ldots & & \overset{}{\bullet} &…
3
votes
2 answers

direction of bent arrow in xy

This MWE \documentclass[margin=3mm]{standalone} \def\Lan{\text{Lan}} \usepackage[all]{xy} \def\sX{\mathbb{X}} \def\sY{\mathbb{Y}} \begin{document} \xymatrix@C=2cm{ & \sX\ar[r]^A\ar[d]_J & \sY \\ \sX \ar[r]^B\ar[d]_J & \sY\ar[ur]_{\Lan_JA} & …
fosco
  • 1,253
2
votes
1 answer

How to write a xymatrix-like LaTeX environment?

I like to draw commutative diagrams using the xymatrix command. What I do not like is the fact that xymatrix is a command and not an environment. The structure of the xymatrix minilanguage is similar to some LaTeX environments that provide alignment…
2
votes
2 answers

xymatrix and cartesian product

I am using this to produce a diagram \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[all]{xy} \begin{document} \[ \xymatrix{H_n(X;R) \ar[d]^{f_*}& \times & H^m(X;R) \ar[r] & H_{n-m}(X;R) \ar[d]^{f_*} \\ H_n(X;R)& \times &…
Van
  • 23
2
votes
1 answer

xymatrix bug, the arrow has a wrong source and target!

I am trying to draw an arrow between two labels and even on this example from "XY-pic User's guide" I don't get the normal diagram. \xymatrix{ A \ar[r] ^a="a" & B \ar[r] ^b="b" & C \ar @/^/ "a";"b" } It used to work but now I get this: Here is my…
Noix07
  • 451
2
votes
1 answer

Unknown compilation error with xymatrix

Here is my MWE:…
2
votes
2 answers

Changing starting place for arrow in XY picture

This script \documentclass{article} \usepackage[all]{xy} \begin{document} \begin{equation} \xymatrix @R=0.3pc @C=0.3pc{ & N_0\oplus G_1 & N_1\oplus G_2 \ar@/_1.5pc/[l]_u } \end{equation} \end{document} give the following result I wish that…
papinou
  • 23
2
votes
1 answer

Two line entry in xymatrix

I would like to create a two-lined entry in my xymatrix. In the attached picture, I want to split the direct sum into two lines. I tried array but this didn't work. Thanks !
Epsilon
  • 365
2
votes
1 answer

`\xymatrix` line without arrowhead and curved

I would like to plot an arrow without head AND curved. I can achieve both goals separately but not on the same arrow: \documentclass{minimal} \usepackage{amsmath} \usepackage[all]{xy} \begin{document} \begin{equation} \xymatrix{ …
PeptideChain
  • 1,335
2
votes
0 answers

Changing the style of an 1-cell inside a 2-cell diagram, in xy

Is it possible to modify the style of the arrows in a 2-cell in xy? \documentclass{standalone} \usepackage{amsmath,amssymb,amsfonts} \usepackage[all,2cell]{xy} \UseAllTwocells \begin{document} \xymatrix{ &B…
fosco
  • 1,253
1
vote
1 answer

What is the latex code of the braid given below using xy matrix? I have tried but the result does not look symmetric

I have written what I tried, in the second picture. The outcome does not look like above picture. \documentclass{article} \usepackage[all,cmtip]{xy} \begin{document} $$ \xymatrix@C=0.4cm@R = 1cm{ 0\ar@/^3pc/[rrr] \ar[rrd] &&&…
SAR
  • 11
1
vote
1 answer

Setting row dimension half default column dimension in xymatrix environment

Consider the following MWE: \documentclass{article} \usepackage[all]{xy} \begin{document} \begin{equation} \xymatrix{ \bullet \ar[r]\ar[d] & \bullet\\ \bullet } \end{equation} \end{document} I know that I can adjust row and column…
TheGeekGreek
  • 1,264
0
votes
1 answer

Make a lozenge diagram

I would like to create a lozenge diagram with the package \xymatrix. Here is the code I wrote : \[\xymatrix{ & M\ar@{-}[ld]^{n}_{G} \ar@{-}[rd]^{m^2}& \\ H\ar@{-}[rd]^{m^2} && Z(M)\ar@{-}[ld]^{n}_{G} \\ & K& \\ }\] And here is the…
Emilie
  • 19