<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This looks a lot like an answer to something I was trying to do, down to the colors I was using!<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><br class="Apple-interchange-newline">Zbigniew Nitecki</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Department of Mathematics</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Tufts University</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medford, MA 02155</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">telephones:</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office<span class="Apple-converted-space"><span class="Apple-converted-tab">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span></span>(617)627-3843</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Dept.<span class="Apple-converted-space"><span class="Apple-converted-tab">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span></span>(617)627-3234</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Dept. fax<span class="Apple-converted-space"><span class="Apple-converted-tab">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span></span>(617)627-3966</font></p><a href="http://www.tufts.edu/~znitecki/">http://www.tufts.edu/~znitecki/</a></span>
</div>
<br><div><div>On Aug 8, 2010, at 13:15, mathias legrand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>also, you may be interested by the following example for the gallery page : <a href="http://tug.org/PSTricks/main.cgi?file=Examples/Gallery/Gallery">http://tug.org/PSTricks/main.cgi?file=Examples/Gallery/Gallery</a><br><br>nothing very fancy and tricky, but still nice. It may be improved I guess.<br><br>\documentclass[fleqn,10pt]{book}<br>\usepackage[top=2.5cm,left=3cm,right=3cm,bottom=2.5cm,a4paper]{geometry}<br>\usepackage{pstricks-add}<br>\begin{document}<br>\begin{figure}[h!]\centering<br>\psset{xunit=1cm,yunit=1cm,runit=1cm}<br>\def\rE{1.6 }<br>\def\rI{0.8 }<br>\def\nfrE{25 }<br>\def\nfrI{12 }<br>\def\nfL{12 }<br>\def\lF{0.4 }<br>\def\pi{3.141592653589 }<br>\psset{arrowsize=3pt,arrowlength=2,arrowinset=0}<br>\begin{pspicture}(-3,-2)(8,2)<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% figure de gauche<br>\pscircle[linewidth=1.5pt,fillstyle=vlines,hatchwidth=0.1pt](0,0){\rE}<br>\pscircle[linewidth=1.5pt,fillstyle=solid,fillcolor=white](0,0){\rI}<br>\multido{\i=0+1}{\nfrE}{%<br> &nbsp;&nbsp;&nbsp;\cnode*(!\rE dup 360 \nfrE \space div \i\space 1 sub mul cos mul exch 360 \nfrE \space div \i\space 1 sub mul sin mul){0pt}{A}%<br> &nbsp;&nbsp;&nbsp;\cnode*(!\rE\space \lF\space add dup 360 \nfrE \space div \i\space 1 sub mul cos mul exch 360 \nfrE \space div \i\space 1 sub mul sin mul){0pt}{B}%<br> &nbsp;&nbsp;&nbsp;\psline[linewidth=1pt]{-&gt;}(B)(A)%<br>}<br>\cnode*(!0 dup){0pt}{A}%<br>\cnode*(!\rI dup \space 14.3 cos mul exch 14.3 sin mul){0pt}{B}%<br>\psline[linewidth=0.5pt]{-&gt;}(A)(B)<br>\cnode*(!0 dup){0pt}{A}%<br>\cnode*(!\rE dup \space 228 cos mul exch 228 sin mul){0pt}{B}%<br>\psline[linewidth=0.5pt]{-&gt;}(A)(B)<br>\cnode*(!0 dup){0pt}{A}%<br>\cnode*(!1.2 dup \space 131.6 cos mul exch 131.6 sin mul){0pt}{B}%<br>\psline[linewidth=0.5pt]{-&gt;}(A)(B)<br>\multido{\i=0+1}{\nfrI}{%<br> &nbsp;&nbsp;&nbsp;\cnode*(!\rI dup 360 \nfrI \space div \i\space 1 sub mul cos mul exch 360 \nfrI \space div \i\space 1 sub mul sin mul){0pt}{A}%<br> &nbsp;&nbsp;&nbsp;\cnode*(!\rI\space \lF\space sub dup 360 \nfrI \space div \i\space 1 sub mul cos mul exch 360 \nfrI \space div \i\space 1 sub mul sin mul){0pt}{B}%<br> &nbsp;&nbsp;&nbsp;\psline[linewidth=1pt]{-&gt;}(B)(A)<br>}<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% figure de droite<br>\psframe[linewidth=1.5pt,fillstyle=vlines,hatchwidth=0.1pt](3,-1.6)(7,1.6)<br>\psframe[linewidth=1pt,fillstyle=solid,fillcolor=white](3,-0.8)(7,0.8)<br>\multido{\i=0+1}{\nfL}{%<br>% pression extérieure<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch \rE \space mul){0pt}{A}%<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch \rE \space \lF\space add mul){0pt}{B}%<br>\psline[linewidth=1pt]{-&gt;}(B)(A)<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch \rE \space neg mul){0pt}{A}%<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch \rE \space neg \lF\space sub mul){0pt}{B}%<br>\psline[linewidth=1pt]{-&gt;}(B)(A)<br>% pression intérieure<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch 0.4 \space mul){0pt}{A}%<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch \rI \space mul){0pt}{B}%<br>\psline[linewidth=1pt]{-&gt;}(A)(B)<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch 0.4 \space neg mul){0pt}{A}%<br>\cnode*(!1 dup 4 \nfL \space 1 sub div \i\space mul 3 add mul exch \rI \space neg mul){0pt}{B}%<br>\psline[linewidth=1pt]{-&gt;}(A)(B)<br>}<br>\psset{arrowsize=2pt,arrowlength=2,arrowinset=0}<br>\psarc{&lt;-&gt;}(0,0){1.2}{72}{108}<br>\psline{&lt;-&gt;}(0,0.9)(0,1.5)<br>\psline{&lt;-&gt;}(5.15,0.9)(5.15,1.5)<br>\psframe[linewidth=0.5pt,fillstyle=solid,fillcolor=lightgray](5,1.1)(5.3,1.3)<br>\pscustom[linewidth=0.5pt,fillstyle=solid,fillcolor=lightgray]{%<br>\psarc(0,0){1.1}{82}{98}<br>\psarcn(0,0){1.3}{98}{82}}<br>\cnode*(!1.1 dup 82 cos mul exch 82 sin mul){0pt}{A}%<br>\cnode*(!1.3 dup 82 cos mul exch 82 sin mul){0pt}{B}%<br>\psline[linewidth=0.5pt](A)(B)<br>\psarc(0,0){1.2}{126}{138}<br>\psline[linewidth=0.2pt,linestyle=dashed](-3,0)(8,0)<br>\end{pspicture}<br>\end{figure}<br><br>\end{document}<br>_______________________________________________<br>PSTricks mailing list<br><a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>http://tug.org/mailman/listinfo/pstricks<br>archive: http://www.tug.org/pipermail/pstricks/<br></div></blockquote></div><br></body></html>