6

\documentclass{standalone} \usepackage{pst-eucl,pst-text,pstricks-add,pst-grad} \usepackage{mathptmx} \DeclareFixedFont{\RM}{T1}{ptm}{b}{n}{1.7cm}% \begin{document} \begin{pspicture}[showgrid=false](-5.2,-5.2)(10,5.2) \psframe*[fillstyle=solid,linecolor=black!40,opacity=.9](-5.2,-5.2)(10,5.2) \pscircle*[dimen=inner](0,0){5} {% \psset{fillstyle=solid,...


3

Here's how you can do it using TikZ: The filling will stretch over all circles as long as they're specified using a single \path (or \shade) command \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \shade [left color=orange!90!red, right color=green!80!orange] \foreach \i in {-2,...,2}{ (\i*3.5ex,0) circle [radius=2....


3

Here's a TikZ solution. If you need to stick to pstricks, perhaps the same method could be applied there which is, basically, to fill the entire rectangle and to then fill 4 trapeziums to make the borders. (But the borders could be larger than the bit in the middle, of course. This is just how I thought about it.) \documentclass[border=10pt,multi,tikz]{...


2

My code seems to be verbose but the extra code is actually to get the precise dimension and placement. It also make you more convenient to adjust the parameters. \documentclass[pstricks,border=0pt]{standalone} \usepackage{multido} \usepackage{pst-grad} \usepackage[nomessages]{fp} \newpsstyle{A} { fillstyle=gradient, gradbegin=red, gradend=...


Only top voted, non community-wiki answers of a minimum length are eligible