%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Pythagore.tex --- Demonstration of Pythagore theorem done
%% by the arab mathematician Annairizi around the year 900
%%
%% Author : March 1997
%% Created the : Wed Apr 9 18:26:13 1997
%% Last mod. by : Denis GIROU (CNRS/IDRIS - France)
%% Last mod. the : Thu Dec 18 20:58:54 1997
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage[tiling]{pst-fill}
\pagestyle{empty}
\begin{document}
\mbox{}
\begin{figure}[htbp]
\centering
\psset{dimen=middle,unit=1.5}
\begin{pspicture*}(3,3)
\psboxfill{\begin{pspicture}(1,1)\psframe(1,1)\end{pspicture}}
\psframe[fillstyle=boxfill](3,3)
\psboxfill{\begin{pspicture}(1,1)
\rput{-37}{\psframe[linecolor=red](0.8,0.8)}
\end{pspicture}}
\psframe[fillstyle=boxfill](3,4)
\pspolygon[fillstyle=hlines,hatchangle=90](1,2)(1.64,1.53)(2,2)
\end{pspicture*}
\caption{Demonstration of \textsc{Pythagore} theorem done by
the arab mathematician \textsc{Annairizi} around the year 900}
\end{figure}
\end{document}