[pstricks] example

Hensh, Richard hensh at math.msu.edu
Sat Feb 6 07:42:01 CET 2010


Try adding the command

\usepackage{graphicx}

regards
rick
________________________________
From: pstricks-bounces at tug.org [pstricks-bounces at tug.org] On Behalf Of Gabrielle Araj [gabrielle_araj at yahoo.com]
Sent: Friday, February 05, 2010 12:42 PM
To: pstricks at tug.org
Subject: [pstricks] example

Hello,

I took this example and tried to compile it from my dos prompt with the command latex: latex example.tex
I tried triangular.eps and triangular. Both give the following message:

("C:\Program Files\MiKTeX 2.8\tex\latex\multido\multido.sty"))
(C:\Users\Ray\Documents\pstricks\graphics.aux)
*geometry auto-detecting driver*
*geometry detected driver: dvips*
! Undefined control sequence.
<argument> \includegraphics
                            [width=1\linewidth ] {triangular}
l.13 }


\documentclass[12pt]{article}
\usepackage[paperheight=21.6cm,paperwidth=21.6cm,margin=0in,noheadfoot]
{geometry}
\usepackage{pstricks,pst-all}
\begin{document}
\begin{pspicture}
(-0.5\linewidth,-0.4\textheight)
(0.5\linewidth,0.4\textheight)
\rput[cm](0,0){%
\includegraphics
[width=1\linewidth]
{triangular.eps}%
}
\end{pspicture}
\end{document}

Thanks with your help.



________________________________
The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free!<http://downloads.yahoo.com/ca/internetexplorer/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100206/3ce3a398/attachment.html>


More information about the PSTricks mailing list