\documentclass[a4paper,11pt]{article}

%\usepackage{}

\usepackage[latin1]{inputenc}

\usepackage{graphicx}

\usepackage[usenames]{pstricks}
\usepackage{pst-poly}
%\usepackage{pst-all}
\usepackage{pst-char}
\usepackage{pst-grad}
\usepackage{pst-node}
\usepackage{pst-plot}
\usepackage{pst-infixplot}

\renewcommand{\thepage}{\pscirclebox%
[linewidth=0.5pt,fillstyle=gradient,gradbegin=yellow,%
gradend=green,gradangle=90]{\pscharpath[linestyle=solid,%
fillstyle=solid,%
fillcolor=red,%
linewidth=0.5pt]%
{\scalebox{2}{\bfseries\arabic{page}}}}}

\parindent=0pt
%\renewcommand{\thepage}{\pscirclebox{\arabic{page}}}

\definecolor{gris}{gray}{0.9}

\begin{document}



\centerline{\LARGE\bfseries Capítulo 11: Ejemplos}

\vspace{1cm}

\underline{\large\bfseries Ejemplo1:} 

\bigskip

\begin{pspicture}(6,4)
\pspolygon[doubleline=true,doublecolor=red,fillstyle=solid,%
fillcolor=gris,linearc=0.2](0,0)(6,0)(6,4)(0,4)
\degrees[100]
\pswedge[fillstyle=solid,fillcolor=yellow](3,2){1}{ 0 }{17 }
\pswedge[fillstyle=solid,fillcolor=blue](3,2){1}{17 }{42 }
\pswedge[fillstyle=solid,fillcolor=red](3,2){1}{42 }{58 }
\pswedge[fillstyle=solid,fillcolor=green](3,2){1}{58 }{83 }
\pswedge[shadow=true,shadowsize=3mm](3.2,1.9){1}{83 }{100 }
\rput(5,1.5){\psframebox[fillstyle=solid,fillcolor=white]{\small 17 \%}}
\rput(3.8,1.6){\large A}
\end{pspicture}

\bigskip

\underline{\large\bfseries Ejemplo 2:} 

\medskip

Dibujar usando \verb+\pscirclebox+, el relleno
\texttt{gradient} y la utilidad \verb+\pscharpath+ 
(cargar \texttt{pst-char} y \texttt{pst-grad} en el preámbulo) lo siguiente: 

\bigskip

\pscirclebox%
[linewidth=0.5pt,fillstyle=gradient,gradbegin=yellow,%
gradend=green,gradangle=90]{\pscharpath[linestyle=solid,%
fillstyle=solid,fillcolor=red,linewidth=0.5pt]%
{\scalebox{2}{\bfseries 2}}}
%
\pscharpath[linestyle=solid,%
fillstyle=solid,fillcolor=red,linewidth=0.5pt]%
{\scalebox{2}{\bfseries +}}
%
\pscirclebox%
[linewidth=0.5pt,fillstyle=gradient,gradbegin=yellow,%
gradend=green,gradangle=90]{\pscharpath[linestyle=solid,%
fillstyle=solid,fillcolor=red,linewidth=0.5pt]%
{\scalebox{2}{\bfseries 2}}}
%
\pscharpath[linestyle=solid,%
fillstyle=solid,fillcolor=red,linewidth=0.5pt]%
{\scalebox{2}{\bfseries =}}
%
\pscirclebox%
[linewidth=0.5pt,fillstyle=gradient,gradbegin=yellow,%
gradend=green,gradangle=90]{\pscharpath[linestyle=solid,%
fillstyle=solid,fillcolor=red,linewidth=0.5pt]%
{\scalebox{2}{\bfseries 4}}}

\bigskip

Utilizar lo aprendido para cambiar los números de página del documento a la numeración 
de fantasía empleada aquí.

\end{document}
