Monday, 20 May 2013

monochrome and pstricks

monochrome and pstricks

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}
Thanked beforehand. Pablo

No comments:

Post a Comment