\documentclass{article} \usepackage[cmyk]{xcolor} \usepackage{tikz} \usepackage{pstricks-add} \begin{document} Text inline \verb|\begin{pspicture*} o \begin{tikzpicture} \begin{other}| \begin{tikzpicture} \shadedraw [shading=ball] (0,0) circle (2cm); \end{tikzpicture} \begin{verbatim} \begin{tikzpicture} \shadedraw [shading=ball] (0,0) circle (2cm); \end{tikzpicture} \end{verbatim} \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} \begin{verbatim} \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=blue,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{verbatim} \end{document}