[pstricks] Need to fix the gray scale in gradient style by using PSTricks

Saravanan Murugaiah saravanan.murugaiah at gmail.com
Mon Sep 22 08:34:22 CEST 2014


Dear All,

In my document, I require some text surrounded by a gradient box, below
mentioned my tags are working fine, but in PDF, the gradient color
percentage showed as CMYK combination, but I require the gradient ranges
only in black color


\RequirePackage{pstricks}
\input pst-grad%

\makeatletter

\psframebox[framesep=0pt,
linewidth=0pt,linecolor=white,fillstyle=gradient,gradbegin=black!15,gradend=black!0.01,gradangle=180,gradmidpoint=0]{\vbox

to 211\p@{\hsize=155.85mm\leftskip=54\p@\rightskip54\p@%
Test
}}
\makeatother

Kindly help us to meet my requirement.

Sincerely Yours,
MadYuv...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140922/308c1624/attachment.html>


More information about the PSTricks mailing list