TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have little knowledge about the package xypic.

I am stuck with the following problems:

  1. I cannot able drow a circle with radius BC, centered at C.
  2. I want to draw the five dots on the line.
  3. For better looking I want to draw the points 2, 1, 0, -1 and -2 as well as A, B, C, D and E out side the line.

Here is my effort:

\ar[dddddd] \\
.2 & & & & &\\
.1 & & &D & & \\
.0 \ar[r]^p & \ar[rrrr] &A  & C &B &\\
.-1& & &E \\
.-2 & & &\ar[uuuu]\\
share|improve this question
Thank you in advance. – Md Kutubuddin Sardar Mar 26 '13 at 6:19
Could you post a picture of how the output should look like? I have the feeling that this is less a commutative diagram and more a general diagram that can also been drawn using PSTricks or TikZ (or …). – Qrrbrbirlbel Mar 26 '13 at 6:53
Actually i don't know how to post picture.Please tell me the way. Then I shall try to post picture. – Md Kutubuddin Sardar Mar 26 '13 at 13:40

With PSTricks.

enter image description here

share|improve this answer
Thank you for your answer. But I want to do this using the package I said. – Md Kutubuddin Sardar Mar 26 '13 at 6:54
When I compile this shows an error : ./myfile.text:2:File'standalone.cls' not found . \usepackage. I dont know what is .cls.Please tell me. – Md Kutubuddin Sardar Mar 26 '13 at 7:02
I an using 'kile 2.1 beta 4'.My system-ubuntu 10.04 is up to date.What to do me now ? – Md Kutubuddin Sardar Mar 26 '13 at 7:10
@MdKutubuddinSardar TeXLive distribution with Ubuntu 10.04 is very old(may be 2009).Installing Vanilla TeXlive gives all latest packages, but don't do it if you are unaware of linux installation. for the time being change the \documentclass[pstricks,border=12pt]{standalone} to \documentclass{article} \usepackage[pdf]{pstricks} run with pdflatex engine – texenthusiast Mar 26 '13 at 7:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.