I am creating a file type images for presentation / written, I have been interested in the monochrome
package xcolor
, but by using it I have not obtained the expected results, check the documentation for pstricks
but , this is very old and refers to an obsolete package (pstcol
), an image to illustrate what I need:
and the MWE:
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[monochrome]{xcolor}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\begin{pspicture*}(-0.5,-0.5)(5,3.5)
\psset{unit=1.0cm,algebraic=true,dimen=middle,linewidth=0.8pt}
\pscustom[linewidth=0.7pt,linecolor=red,fillcolor=red,fillstyle=solid,opacity=0.25]{
\parametricplot{-2.39}{-1.14}{0.52*cos(t)+3.25|0.52*sin(t)+3}
\lineto(3.25,3)\closepath}
\pspolygon[linewidth=0.7pt,linecolor=cyan,fillcolor=green,fillstyle=solid,opacity=0.25](0.25,0.25)(3.25,3)(4.5,0.25)
\begin{scriptsize}
\uput[d](0.25,0.25){\red{$A$}}
\uput[u](3.25,3){\red{$B$}}
\uput[d](4.5,0.25){\red{$C$}}
\uput{7pt}[-100](3.25,3){\red{$\alpha$}}
\end{scriptsize}
\end{pspicture*}
\end{document}
Clarification: Not grayscale, an image in "black and white", modify a single image is no problem, what I want is to turn the colors in a "global" for a document (50 images). In the "Frequently Asked Questions" from the documentation of "pstricks" (pag 304) describes the process with a code like the following:
\usepackage[monochrome]{pstcol}
% ...
\makeatletter
\def\PSTricksMonochrome{%
\def\psset@bordercolor##1{\pst@getcolor{white}{\psbordercolor}}%
\def\psset@doublecolor##1{\pst@getcolor{white}{\psdoublecolor}}%
\def\psset@shadowcolor##1{\pst@getcolor{darkgray}{\psshadowcolor}}%
\def\psset@linecolor##1{\pst@getcolor{black}{\pslinecolor}}%
\def\psset@fillcolor##1{\pst@getcolor{white}{\psfillcolor}}%
\def\psset@gridcolor##1{\pst@getcolor{black}{\psgridcolor}}%
\def\psset@gridlabelcolor##1{\pst@getcolor{black}{\psgridlabelcolor}}%
\def\psset@hatchcolor##1{\pst@getcolor{black}{\pshatchcolor}}%
\def\psset@subgridcolor##1{\pst@getcolor{gray}{\pssubgridcolor}}}
\makeatother
It does not work an today.