1

I'm trying to draw an arrow by using pstricks, but I cannot do that. The code is below:

\documentclass{book}‎
\usepackage{pstricks}‎‎
\begin{document}‎‎
\psline[linewidth=20pt]{<-}(2,1)‎‎‎
\end{document}‎
    ‎‎‎

What should I change with this code?

  • What exactly is the problem? Does the output look bad or do you have problems compiling it? – N.N. Sep 23 '11 at 6:57
  • the output is a blank page while there's no error – Prelude Sep 23 '11 at 6:59
5

Run it with xelatex or alternetively with the sequence latex->dvips->ps2pdf. And then view it with the pdf and not the dvi

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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