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
0 votes
0 answers
11 views

How to Install xypic package in a newly installed latest FocalFossa [closed]

My first post. Apologies if this has been explained already. I have just installed latest LTS Ubuntu and xypic package is missing from the texlive installation. Would greatly appreciate how to install ...
user avatar
  • 1
1 vote
1 answer
26 views

Align problems when using XY-pic

I want to draw this diagram using XY-pic. But I have trouble with the position of the arrows. Any help would be appreciated. The codes are as follows: \documentclass{article} \usepackage{amsmath} \...
user avatar
  • 113
1 vote
2 answers
34 views

xypic and \mathcal math mod issue

I'm curently trying to write a simple commutative diagram through xypic, which works on one of my files, but I can't make it work on a new one : \documentclass{article} \usepackage[french]{babel} \...
user avatar
0 votes
1 answer
34 views

Using xy-diagram to create an asymmetrical triangle

I would like to create an asymmetrical triangle like in this picture : Unfortunately so far it only works when I add another label in the top left corner like this: \documentclass{article} \usepackage[...
user avatar
  • 103
1 vote
1 answer
85 views

Circle and colored-arrow in xypic

I'm using \usepackage[all,cmtip]{xy} and I'd like to create a circle for $\overline{D_1^n}$, I'd like to color in red the $f\circ\pi$-arrow, I'd like also to shade the $S^n/\mathbb{Z}^2$. I inserted ...
user avatar
  • 847
2 votes
1 answer
73 views

Compile xypic diagrams into html

Does anyone know of a way to compile latex files into HTML (as opposed to pdf), in a way such that that commutative diagrams done with xypic are correctly displayed? (EDIT: and moreover that formulae ...
user avatar
2 votes
1 answer
39 views

Inside arrow in xy package: steps

Given the image taken from this question here How do I deal with these scaling and positioning issues in Tikzcd, how is it possible to obtain an arrow inside a segment using only xy package? \...
user avatar
  • 46.3k
1 vote
1 answer
150 views

Typesetting Subgroup Lattices in LaTeX

Trying to figure out the easiest way to create a subgroup lattice in LaTeX. Looking to create something like this one for `$D_4$'.
user avatar
0 votes
1 answer
44 views

can anyone explain me why my grid is offset in XY graph?

So I'm trying to making a simple tree like graph in XY-pic, but it is very strangely shifted: . The shift is strange as from a guide I've found that & signs are used only when there are still non ...
user avatar
0 votes
1 answer
63 views

Graphviz Record-like Structure with XY-Pic or Tikz

I sketched the following graph with Graphviz, but I don’t know how to do it with XY-Pic or Tikz. The thing here is that I used record style node. Is there a way to do it with the other two?
user avatar
  • 137
1 vote
0 answers
85 views

Crossing over method with xy package for one or more arrows

Related on this question, considering the original image, adding my MWE: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix@R=2pc@C=2.8pc{ & b' \ar@{~>}[ddl]|...
user avatar
  • 46.3k
1 vote
1 answer
31 views

Circle label of xymatrix

Related from my answer where I must put the | to have the label into the arrow considering \ar@{.>}[d]^*+<8pt>[o][F]{\ell}? \documentclass[a4paper,12pt]{article} \usepackage{amssymb} \...
user avatar
  • 46.3k
1 vote
3 answers
86 views

xymatrix arrow changing directions

In an \xymatrix environment, how can I get an arrow going down, then two steps right and then up again, as in the picture? In the good old days there was LAMSTeX to do this kind of things, but not ...
user avatar
  • 1,770
1 vote
0 answers
35 views

Coloring curved arrows in Xy-pic

I have created a recalcitrant object in Xy-pic. The intention was to color two curved arrows, but the expected code does not quite accomplish this: \documentclass[11pt]{article} \usepackage{mathpazo} \...
user avatar
  • 1,185
2 votes
1 answer
131 views

Increase the thickness of an arrow in xy and tikz-cd package

We start from these simples MWE. The first is done with xy package, with your tips: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{A \ar[r]& B} \end{document}...
user avatar
  • 46.3k
0 votes
1 answer
42 views

How can I create PDFs which maintain figures using XeLaTeX?

I want to be able to use the fonts of my OS when creating PDFs. After reading a but, I've come to understand that this requires me to use XeLaTeX (instead of plain LaTeX) and the package \fontspec. I ...
user avatar
2 votes
1 answer
58 views

A commutative diagram created with xy package for an old question

Starting from this question with this first image, I wanted to reproduce the drawing with xy package as training. \documentclass[a4paper,12pt]{article} \usepackage[all,cmtip]{xy} \begin{document} \[\...
user avatar
  • 46.3k
3 votes
1 answer
79 views

xy-package: two parallel arrows and clarifications

I have this little MWE taken and modificated from the documentation from pag. 6/16 of the guide xyguide: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{ A \ar@&...
user avatar
  • 46.3k
1 vote
2 answers
54 views

Shifting curved line downwards in xymatrix

In the following MEW I have two problems Only due to the MWE: stackexchange is having some problem highlighting my code (due to the back upper coma) The real problem: I would like that the snake go ...
user avatar
  • 11
2 votes
3 answers
219 views

How to draw this commutative diagram

Please, I want to draw the below diagram in latex and don't know how to go about it.
user avatar
1 vote
2 answers
68 views

Labeling two different parts of one equation with two arrows with different start and end points

I want to write a formula, like the attachment picture, with two different arrows for two parts of the formula. I could write the below code by \xymatrix finally. But the starting point of the second ...
user avatar
  • 61
1 vote
0 answers
39 views

How to have the bold tip using xy package

From this old question Commutative Diagrams and TikZ, I have seen that there is an implies with the bold tip done with TikZ. Is it possible to replicate with xy package to have the same tip or others ...
user avatar
  • 46.3k
3 votes
0 answers
45 views

Turnstile arrow in.....xy package

Following the previous question Turnstile arrow in tikz-cd, now I am curious how I can increase the left tail with the xy package. In the documentation I haven't found anything. \documentclass[a4paper,...
user avatar
  • 46.3k
0 votes
0 answers
62 views

How to redefine the hook in XY-pic?

I want to add an empty space before the hooked arrow the way it is done in the barr package. \newdir{ (}{{ }*!/-.5em/@^{(}}% But instead of defining a new \dir{ (}, I just want to redefine \dir{(}. \...
user avatar
  • 147
1 vote
1 answer
87 views

AR quiver with shaded regions

I wonder how I can shade regions of a diagram like in the following picture (taken from p.186 of "Elements of representation theory of algebras I") I guess people would come up with ...
user avatar
0 votes
1 answer
25 views

bigsqcup too small with xypic

I have the following issue with xypic: \bigsqcup looks too small (I tried to put @R=10em to make it bigger but that does not work :-)). \documentclass[a4paper,12pt]{amsart} \usepackage{xr-hyper} \...
user avatar
0 votes
0 answers
144 views

Why does iftex report incorrect package info when loaded via xy package?

I've encountered the following strange phenomenon. First, the following test indicates that my system is running a recent (2020) version of the iftex package: \listfiles \RequirePackage{iftex}[2020/03/...
user avatar
  • 2,501
0 votes
0 answers
249 views

Beginner trying to use \usepackage[all]{xy} command

I've been using LaTeX for a while now (all throughout my undergrad in math) but now my graduate professors/coauthors are sharing latex files with me via dropbox and I can't get them to compile in my ...
user avatar
0 votes
3 answers
95 views

Inline vertical diagrams

Is there a package that allows for vertical in-line diagrams, like the one below? I've tried the following code inline using xy-pic \documentclass{article} \usepackage[all,cmtip,2cell]{xy} \begin{...
user avatar
  • 227
0 votes
0 answers
32 views

Rounded corner in xy package and ellipse shape

This question very hard for me. xy package have also the shapes, circle with [o], or other forms using this table: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{...
user avatar
  • 46.3k
2 votes
1 answer
127 views

Drawing a circular graph using xypic

How can I draw a circular graph, as in the picture below, using xypic?
user avatar
2 votes
1 answer
75 views

3D perspective mode using xy package

Starting from this code where I have used xy package: \documentclass[a4paper,12pt]{article} \usepackage{amssymb} \usepackage[all,cmtip]{xy} \begin{document} \xymatrix@!0{ & \alpha \ar@{-}[rr]\ar@{...
user avatar
  • 46.3k
1 vote
1 answer
86 views

Xypic compiling error with auctex

I have a problem with the following piece of code: $\xymatrix{ {X_{2}} \ar@<0.6ex>[r]^-{p_{0}} \ar@<-0.6ex>[r]_-{p_{1}} & {X_{1}} }$ is made into a LaTeX macro as: \newcommand{\arrp}[...
user avatar
1 vote
1 answer
66 views

Increase distance between a formula and the arrow and to change the tip/arc of the hook arrow

My question is the following: for exercise I was drawing the 2nd figure of this question using xy package and I have found some difficulties that I have marked with the red rectangles: How can I ...
user avatar
  • 46.3k
2 votes
1 answer
40 views

Horizontally misaligned labels in xy package

I have answered to a this question, Long arrows in a commutative diagram with transform canvas with this MWE: \documentclass[a4paper,12pt]{article} \usepackage[cmtip,all]{xy} \labelmargin-{1pt} \...
user avatar
  • 46.3k
1 vote
1 answer
50 views

How can I label XY pic diagrams, to cite in other parts of my LaTeX file?

I am writing up a project on knot theory, using overleaf, and decided to use XY Pic instead of Tikz as it feels more intuitive. Is there a way to either attach a label my diagram (to recall/...
user avatar
4 votes
2 answers
376 views

How do I set the grayscale values for arrows in xypic?

I am trying to set the grayscale values of arrows in xypic. From a brief perusal of this document it seems like I need to do something like this: \documentclass[10pt]{article} \usepackage{amsmath} \...
user avatar
  • 143
0 votes
1 answer
28 views

upward 2cell in xypic in LyX

By default, the double arrow of a 2cell in xypic is downwards. How can I make it go upward in LyX? I tried looking in the LyX documentation but wasn't able to figure out how to do it in LyX. I read ...
user avatar
  • 471
2 votes
1 answer
92 views

Shifting a label perpendicular to an arrow in xypic

I have the following code depicting a commutative diagram \xymatrixrowsep{40mm}\xymatrix{\mathfrak{C}(Y,Z)\times\mathfrak{C}(X,Y)\times\mathfrak{C}(W,X)\times\mathfrak{C}(V,W) \ar@/^8pc/[d] \ar@/^4pc/...
user avatar
  • 227
4 votes
1 answer
501 views

Curved arrow in xy-pic

\documentclass{article} \usepackage{graphicx} \usepackage[all]{xy} \begin{document} $\xymatrix{& A \ar[d] & B \ar[d] & C \ar[d] & \\ D \ar[r] & E \ar[d] \ar[r] & F \ar[r] \ar[...
user avatar
  • 189
2 votes
1 answer
72 views

Drawing a path with n vertices in XY-Pic

I am trying to draw a path graph using XY-Pic, and I would like to show that there's n vertices in a certain point, with a simple dashed / dotted line between two vertices, and an underbrace (or ...
user avatar
0 votes
1 answer
838 views

xymatrix figures cause compilation error

I formatted my computer, and installed LYX (latest version 2.3.3). I have a lyx file which won't compile (it compiled before formating my computer) for some reason. I realized that after deleting all ...
user avatar
1 vote
1 answer
300 views

How to color actually labels and arrows using xy/xymatrix package

I'm reading actually the xyrefer.pdf guide to give a color to the arrow and to the label. Starting from this MWE, there is not any color for the arrow (for example). \documentclass[a4paper,12pt]{...
user avatar
  • 46.3k
3 votes
1 answer
117 views

Drawing a frame around a part of a syntactic tree using the `xytree` package

I am trying to make a box around a part of a syntactic tree, using the xytree package. I am aware that we can do it, using the qtree package which has the \qframesubtree command. But, I would like to ...
user avatar
2 votes
2 answers
263 views

Adding a symbol to the top of a vertex in a connected tree

I have a code for a tree \[ \xymatrix@-1.25pc{ *={\bullet} & &*={\bullet} & \frm{}\\ &*={\bullet}\ar@{-}[lu] \ar@{-}[ru]& & } \] which will produce this as ...
user avatar
1 vote
1 answer
292 views

a problem of xymatrix in overleaf [closed]

I have a problem with this code. In overleaf, I compile it but I do not see anything on the pdf document. $$\xymatrixcolsep{32pt}\xymatrix{ P_{c_1}\oplus \cdots \oplus P_{c_s} \ar[r]^-{\left(P[\bar{\...
user avatar
2 votes
1 answer
90 views

Rotating whole xypic by 90 degrees

I have a diagram drawn with xypic, for example this one: \begin{displaymath} \xymatrix@R=36pt@C=6pt{ \quad & C_7 \rtimes C_3 \\ C_7 \ar[ur] & C_3 \ar[u] \\ \end{displaymath} and I ...
user avatar
3 votes
1 answer
422 views

Shift to the right or left bend arrow in xymatrix package

We suppose that we have a code build with xy package. For example this or another MWE: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{ \Omega \ar@{->}[r] \ar@...
user avatar
  • 46.3k
3 votes
2 answers
150 views

Labels closer to the arrows with xy package

Few hours ago I have added my answer for this question How to make a math diagram on LaTex? \documentclass[12pt]{standalone} \usepackage[all,cmtip]{xy} \usepackage[bb = boondox]{mathalfa} \begin{...
user avatar
  • 46.3k
0 votes
1 answer
191 views

LuaLaTeX: problem with Xy-pic

Just running LuaLaTeX on \documentclass{article} \usepackage{xy} \begin{document} \end{document} produces an error, This is LuaTeX, Version 1.10.0 (MiKTeX 2.9.7050 64-bit) (format=lualatex 2019....
user avatar

1
2 3 4 5
9