# Tag Info

6

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