[pstricks] outline of a complex object

mathias legrand legrand.mathias at gmail.com
Sat Jul 17 20:15:25 CEST 2010


Hi all,

in what follows, is there a way to make the outline of the light red 
union object, a single line ?

thank you,

\documentclass{report}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{multido}
\usepackage{pstricks-add,pst-text}

\DeclareFixedFont{\Sf}{T1}{ptm}{b}{n}{2cm}
\DeclareFixedFont{\Tt}{T1}{phv}{b}{n}{0.5cm}

\begin{document}

\begin{pspicture}(0,0)(5,5)
%\psgrid
\begin{pscharclip}[linewidth=3pt]
{\rput[lb](0,0){\Sf 10}}
\end{pscharclip}
\psframe[linewidth=3pt,framearc=.9](-0.5,-0.75)(6,0.25)

\begin{pscharclip}[linestyle=none,fillstyle=solid,fillcolor=red!10,dimen=inner]%
{\rput[lb](0,0){\Sf 10}}%
\end{pscharclip}%
\psframe[linestyle=none,linewidth=3pt,fillstyle=solid,fillcolor=red!10,dimen=outer,framearc=.9](-0.5,-0.75)(6,0.25)
\rput[lB](0,-0.4){\Tt chapter title long}

\end{pspicture}

\end{document}


More information about the PSTricks mailing list