[pstricks] Using \newrgbcolor creates an offset in coordinates
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Tue Jul 17 16:27:17 CEST 2012
Jakob van Bethlehem schrieb:
> Here's an example:
>
> \documentclass[11pt]{article}
> \pagestyle{empty}
> \usepackage{pstricks}
> \usepackage{graphicx}
> \usepackage{auto-pst-pdf}
>
> \usepackage{helvet}
> \usepackage{courier}
> \usepackage{amsmath}
> \usepackage{amssymb}
>
> \begin{document}
>
> \psset{xunit=0.5pt,yunit=0.5pt,runit=0.5pt}
> \begin{pspicture}(0,0)(665,230)
> \rput[bl](0,0){\includegraphics[scale=0.5]{figure}}
> \psgrid[unit=50pt](0,0)(5,4)
>
> %\newrgbcolor{dblue}{0 0 0.5}
Use it this Way
\newrgbcolor{...}{...}%
With the % at the end
However, you should switch to the syntax of package xcolor
Herbert
More information about the PSTricks
mailing list