[pstricks] Help in color gradient should be in single color (black)
Juergen Gilg
gilg at acrotex.net
Tue Feb 22 11:27:07 CET 2011
Hi Saravanan,
using your code below
>
> \begin{picture}(0,0)\put(-129,
> -670){\psframebox[linewidth=0pt,linecolor=white,fillstyle=gradient,gradbegin=black!12,gradend=white,gradmidpoint=-.90,framearc=0]{\hbox
> to 192mm{\vbox to 250mm{}}}}\end{picture}}
> I am using dvips to convert .dvi to .ps file and using Acrobat
> to convert PS to PDF. In Pitstop says "Document uses 3
> separations, should be less than equal to 0 (1x)", but I used
> only black no other color.
didn't give any errors on my side distilling it to the PDF.
However the result is a white paper.
Try out the following code which gives a fine gradient such as
wanted i guess.
\documentclass{article}
\usepackage[distiller]{pstricks}
\usepackage{pst-grad}
\begin{document}
\begin{pspicture}(0,0)(10,10)
\psframe[linewidth=0pt,linecolor=white,fillstyle=gradient,gradbegin=black,gradend=white,gradmidpoint=-.90,framearc=0](0,0)(10,10)
\end{pspicture}
\end{document}
Hope this helps,
Juergen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20110222/527ff4b6/attachment.html>
More information about the PSTricks
mailing list